commit | d9473a2d0a5f24511731563b3e40ceacf7ce3b0d | [log] [tgz] |
---|---|---|
author | Eric Jeong <ericjeong@google.com> | Fri Jan 31 10:25:33 2020 -0800 |
committer | Eric Jeong <ericjeong@google.com> | Tue Feb 25 20:11:25 2020 +0000 |
tree | a8b7a0706cbcaa762a19bb9e83c2794182fc5b6c | |
parent | 0e24b7dcf071d25a6bd0bd8077ab9640c054c1dd [diff] |
Make CarWatchdogManager systemapi - API review has done, so CarWatchdogManager is now system api. - This CL contains basic implementation to register/unregister clients and report health status. - Test case will come in the next CL with selinux policy configuration. - TODO: checking if main thread is active will be added in a separate CL. Bug: 147845170 Test: Build okay Change-Id: I0e845ab27047937353bfe9d786eb507148b24161 Merged-In: I0e845ab27047937353bfe9d786eb507148b24161 (cherry picked from commit 47838677992b457e335d8dfd260fb8e7f2bf8c99)
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.