commit | 27a178f9af24a0fb3555ac878443c2739d9a3593 | [log] [tgz] |
---|---|---|
author | Eric Jeong <ericjeong@google.com> | Tue Mar 24 16:39:39 2020 -0700 |
committer | Eric Jeong <ericjeong@google.com> | Fri Mar 27 16:07:38 2020 -0700 |
tree | 7ad8af613dc36846a2cab366af38b9f2a71fb7d4 | |
parent | b186346e06083d2bd2a2c200a482c05c1b5533e7 [diff] |
Handle power cycle change in car watchdog daemon - When the system goes into suspend/shutdown power cycle, car watchdog daemon stops checking clients' health status. - Accordingly, when the system resumes, car watchdog daemon resumes the health check. - Pinged client check is refactored. - ICarWatchdog::notifyStateChange's signature is modified not to use vector or List. - Add verbose mode to carwatchog_testclient Bug: 148884065 Test: run carwatchdog_testcliet with verbose, run "dumpsys car_service resume", and make sure that car watchdog daemon pauses pinging. Change-Id: I1d357dd5c101fac8728303ac60fb5cc001c9fd70
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.