commit | 49fbfd09507d72352db8c91e28a2b8120d04c374 | [log] [tgz] |
---|---|---|
author | Jim Kaye <jameskaye@google.com> | Wed Oct 09 09:45:18 2019 -0700 |
committer | Jim Kaye <jameskaye@google.com> | Wed Oct 16 21:48:03 2019 +0000 |
tree | 9357a45a70655c2cbd58a0bde8813bc11bcc8e33 | |
parent | 897966de1fdb2d11af69705fed994f46bed8d414 [diff] |
[AAE Power Mgt] Allow Suspend to RAM without triggering Garage Mode The Vehicle HAL can tell us to shut down immediately, but it cannot tell us to suspend immediately. Add that capability. This capability will be needed when the VHAL initiates a Silent Boot and then asks for suspension. In this case, we do not want to postpone the suspension by entering Garage Mode. Bug: 134521909 Test: Added CarPowerManagementTest.testSleepImmediateEntry() Test: Added CarPowerManagementServiceTest.testSleepImmediately() Change-Id: Idc89757a93819560fa848f30eb480645a9ac37c5
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.