commit | 548a765e6c7d95efe8789db03fb5dd815efc4a5f | [log] [tgz] |
---|---|---|
author | Eric Jeong <ericjeong@google.com> | Mon Mar 21 01:35:27 2022 -0700 |
committer | Eric Jeong <ericjeong@google.com> | Thu Mar 24 15:54:22 2022 -0700 |
tree | 813ad6518fd642b1b3c8d2975ab3a31b39dcc487 | |
parent | 4f25df1f764f53835cb919824a13f445bf9270f3 [diff] |
Add reboot option to power-off command - Some tests need the device reboot after taking all power state transition for shutdown. Bug: 198790902 Test: run 'adb shell cmd car_service power-off --skip-garagemode --reboot' and make sure that the device is rebooted. Change-Id: Ia296a55e248a1d12d7670659c75bbdd0d5c7b27c Merged-In: Ia296a55e248a1d12d7670659c75bbdd0d5c7b27c (cherry picked from commit 0cf0b3b0b37c8212de0136d5e113fcd9f2ee605f)
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.