commit | 992bdb8e81d744c5cf8b677f309cdd46c90ef98b | [log] [tgz] |
---|---|---|
author | Maxim Pleshivenkov <mpleshivenkov@google.com> | Thu Oct 13 17:59:06 2022 -0400 |
committer | Maxim Pleshivenkov <mpleshivenkov@google.com> | Wed Nov 09 01:09:45 2022 +0000 |
tree | c7da9f50f58ce9e164cb798af3186fe83a31cb0f | |
parent | cc49d336a1bb6b214cdb5cb5a2761119f0cd499b [diff] |
Improve handling of suspend errors If forbidden power transition is requested when CPMS is re-trying to suspend, this will lead to loop until suspend succeeds - timeout will be ignored. Update code that check for new transition request. Bug: 252921266 Test: atest CarPowerManagementServiceUnitTest Change-Id: I71de6a368f8ea3d170244ab17be49e59936257ff (cherry picked from commit 250624d95bba95d50cca1d76b685e2e2a35a4579) Merged-In: I71de6a368f8ea3d170244ab17be49e59936257ff
Source code for Android Automotive OS.
car_product/ - AAOS product car-builtin-lib/ - A helper library for CarService to access hidden framework APIs car-lib/ - Car API car-lib-module/ - Car API module cpp/ - Native services experimental/ - Experimental Car API and services packages/ - Apps and services for cars service/ - Car service module service-builint - Platform builtin component that runs CarService module tests/ - Tests and sample apps tools/ - Helper scripts
Native (C++) code format is required to be compatible with .clang-format file. The formatter is already integrated to repo
tool. To run manually, use:
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.