summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorGavin Corkery <gavincorkery@google.com>2020-11-17 21:57:50 +0000
committerGavin Corkery <gavincorkery@google.com>2020-11-23 22:49:30 +0000
commit5cb20e674a926caa8da7dca909c41ba95b88e915 (patch)
tree7974d6b7905a0a1bd8305d8e1ec1fc6877e34573 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent976aa3d404547b6e535c1a8626ebb9f215076d5e (diff)
Add boot loop de-escalation logic
Similar to work that has already been done for package failures, pass a mitigation count to an observer interested in boot loops. Since this logic is handled using sysprops, the mitigation count will be reset after the default escalation window, rather than decreasing with a sliding window. Migrated elapsedRealTime to uptimeMillis in all instances in PackageWatchdog. This should not have any impact, since the only difference is that elapsedRealTime counted time in deep sleep, which will not be an important factor for boot loops detection. Test: atest PackageWatchdogTest Test: atest RescuePartyTest Bug: 172206136 Change-Id: I7e59f3fa32544bd410d8508e6529c77049a70df0
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions