commit | 0a1c3c7e6f85c39c1c26ca8d271764401af72624 | [log] [tgz] |
---|---|---|
author | Hayden Gomes <haydengomes@google.com> | Mon Mar 01 15:04:11 2021 -0800 |
committer | Hayden Gomes <haydengomes@google.com> | Mon Apr 05 11:03:56 2021 -0700 |
tree | ffbeb0d3ca99cf430ae09292bc734d47aeb30df7 | |
parent | 1b885678d5f23f0de10d1482b3348af2ddf3eae3 [diff] |
Adding CarAudioPowerListener Listener handles initializing and registering with CarPowerManagementService, and then enables and disables CarAudioService accordingly. Bug: 176258537 Test: atest CarAudioPowerListenerTest Test: adb shell cmd car_service apply-power-policy system_power_policy_suspend_to_ram and check dumpsys for enabled status Change-Id: I25c776a7d47ca384a756007ab304d4ba88a02240
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.