diff options
author | Kweku Adams <kwekua@google.com> | 2019-05-01 14:46:05 -0700 |
---|---|---|
committer | Kweku Adams <kwekua@google.com> | 2019-05-07 16:02:42 -0700 |
commit | b67227838b314a895352a7dcd5df8377770c45f5 (patch) | |
tree | 14821a4267e484c210dece76e2f101130eac257b /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 9192a430afaac8b21e69e2990fc0f93a2eb6dbb5 (diff) |
Adding buffer time for periodic jobs run near the end of their windows.
If a periodic job finishes close to the end of its window, there's a
chance it could run soon afterwards given its next window starts soon.
Adding a buffer window of 1/6 period to avoid having periodic jobs run
too soon after a successful run.
Bug: 123248627
Test: atest com.android.server.job.JobSchedulerServiceTest
Test: atest CtsJobSchedulerTestCases
Change-Id: I8da2847c9383770a49ef404c0e0f7e88e4c2366f
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions