summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorKweku Adams <kwekua@google.com>2020-09-14 10:10:13 -0700
committerKweku Adams <kwekua@google.com>2020-09-14 10:10:13 -0700
commitf697a14b88c5a828f8d299f335e0e34570a18fb5 (patch)
tree42e863b6b43a0d2ed202ee6fa77dc0b9fd49beb1 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parent056630f142a730fe852155033e84a107ddbef5c1 (diff)
Throttle how frequently delay alarms are set.
If there are many timing delays set within a few milliseconds of each other, TimeController can end up spamming and overwhelming AlarmManager. Since a job doesn't need to have its delay constraint updated immediately and we therefore don't need to have exact timing of every single delay alarm, we should be alright limiting how often a delay alarm can be set to go off. Bug: 167681468 Test: atest com.android.server.job.controllers.TimeControllerTest Test: atest CtsJobSchedulerTestCases Change-Id: I5d2eba00d1c47ddf81bb440dd00dae0239c91eb0
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions