commit | b137636c78603a01661d2fafe37656bf514b51b7 | [log] [tgz] |
---|---|---|
author | Jahdiel Alvarez <jahdiel@google.com> | Tue Oct 19 01:18:57 2021 +0000 |
committer | Jahdiel Alvarez <jahdiel@google.com> | Fri Nov 19 22:14:52 2021 +0000 |
tree | 4e73eca55659d5c9abebb7055991a6da595241d3 | |
parent | 345fc0a65a00d1bdcb7131fa1fed590b0f96656e [diff] |
CarService detects recurring overuse - Implemented WatchdogPerfHandler#isRecurringOveruseLocked method. - Added recurringOverusePeriod and recurringOveruseThreshold as resource configs. - Update the forgiven overuses in local cache and database when recurring overuse is detected. Test: atest CarWatchdogServiceUnitTest WatchdogStorageUnitTest CarWatchdogServiceTest Bug: 195425666 Change-Id: I1d2d598a11e4b04d33111b3bce36488853c4a3ca Merged-In: I1d2d598a11e4b04d33111b3bce36488853c4a3ca (cherry picked from commit cf669bc6cce5c03195ef5844fdc3cce9e4b1f3c3)
Native (C++) code format is required to be compatible with .clang-format file. Run
git clang-format --style=file --extension='h,cpp,cc' HEAD~
Note that clang-format is not desirable for Android java files. Therefore the command line above is limited to specific extensions.