summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorChristopher Tate <ctate@google.com>2018-04-13 13:41:51 -0700
committerChristopher Tate <ctate@google.com>2018-04-13 15:29:04 -0700
commitddd1da14db05df2ac195d10070fd4d6a880d5a26 (patch)
tree4275758b19cdc4bf1a62f365e07a04cb9534e885 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parent4558c77d5d2f197d697a18c41ea1716ffc65db28 (diff)
Correct lookback for while-idle alarm rate limiting
Lookback for while-idle alarm "last delivered?" bookkeeping was clamping at zero, but that means "when we rebooted" in the elapsed time base, not a point in the deep past. As a result, testing sequences that forced idle mode would behave unpredictably on devices that were rebooted recently. Change the lookback defaulting such that the first "while idle" alarm that triggers after reboot will always be considered deliverable. Change-Id: I0a35e046ecf858cd44523a6cece4a6a0779194bc Fixes: 77981603 Test: atest CtsAlarmManagerTestCases Test: POC app
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions