commit | ccb7ba8435264a83e93785e56c7400304c260377 | [log] [tgz] |
---|---|---|
author | Bin Tan <bint@google.com> | Tue Jul 27 21:08:01 2021 +0000 |
committer | Bin Tan <bint@google.com> | Wed Aug 11 04:11:04 2021 +0000 |
tree | 785667b9f2ac4c37da1a5132bc30fcf27f9e1705 | |
parent | 7c481aff2b70162bf59056da3021092695bd3540 [diff] |
Add two CtsVerifier power policy test commands 1. adb shell cmd car_service apply-cts-verifier-power-off-policy This command defines and applies the cts_verifier_off policy with WIFI, LOCATION and BLUETOOTH components power off. 2. adb shell cmd car_service apply-cts-verifier-power-on-policy This command defines and applies the cts_verifier_on policy with WIFI, LOCATION and BLUETOOTH components power on. Bug: 9404442132 Test: 1. use adb shell dumpsys car_service --services CarPowerManagementService to check both policies are well defined and applied accordingly. 2. manually check Wi-Fi, Bluetooth and Location Settings UI enabled/disabled status accordingly Change-Id: Id12bfbc068aa2f3e0d1a6f590f8b0d105cc0da08
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.