commit | ee5118fa2556333acd48e34e6b205648c1735d67 | [log] [tgz] |
---|---|---|
author | Eric Jeong <ericjeong@google.com> | Thu Mar 25 17:32:53 2021 -0700 |
committer | Eric Jeong <ericjeong@google.com> | Thu Mar 25 17:36:48 2021 -0700 |
tree | 24a333040f48fc58024ff14a4dc436b26801516a | |
parent | 0779cb7011cb2fdc2f090c89ad1f9a62abb925b0 [diff] |
Check if CPMS is running when carpowerpolicyd starts - In case that carpowerpolicyd is restarted, it must check if CPMS is runnig. - If CPMS is running, carpowerpolicyd should not take any actions. - The checking is done by querying "car_service" binder from ServiceManager. Bug: 183453140 Test: manual test Change-Id: I9870fed1e785e9fe8c655bed628bcda8906b22f5
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.