diff options
author | Suprabh Shukla <suprabh@google.com> | 2021-04-30 00:14:43 -0700 |
---|---|---|
committer | Suprabh Shukla <suprabh@google.com> | 2021-05-04 19:37:40 -0700 |
commit | faa2caf0ee9ae6cc0e80475700fbcfafbe74dd50 (patch) | |
tree | a7f6e347028ecda7109f2f46dbf89fabda244224 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 74b85211fa12e3e0585fb538f313c234c3e0c27b (diff) |
Change device-idle alarm fuzzing
- Removing fuzz in the absence of an alarm clock alarm.
- Adding a minimum duration that the alarm should be fuzzed before an
alarm clock - currently 2 minutes.
- The maximum fuzz is now a linear function of futurity of the alarm
with the maximum capped at 15 minutes.
- If the futurity is less than the minimum fuzz, the alarm goes off
immediately, bringing the device out of idle.
Also, fixing a bug with re-evaluating alarm deliverability in doze and
battery saver.
Test: atest FrameworksMockingServicesTests:com.android.server.alarm
Bug: 170279979
Bug: 166693547
Change-Id: Ia8c656a0336cc0b72f0b3901de96d4aa440186d4
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions