| commit | 3ba3caa72a8bcddeff7a9b0da932f0cadca793f2 | [log] [tgz] |
|---|---|---|
| author | Eric Jeong <ericjeong@google.com> | Wed May 25 01:02:27 2022 -0700 |
| committer | Eric Jeong <ericjeong@google.com> | Wed May 25 01:02:27 2022 -0700 |
| tree | 20ab7a4a09df394697680a7f40a61510f2ad98b0 | |
| parent | 363dd3d69c1c8ea3f44d54d2308d460b9b1045d8 [diff] |
Ignore whitespaces at the endof /sys/power/state - Line break is added at the end of /sys/power/state. - When parsing it, trailing whitespaces should be ignore. Bug: 233840671 Test: "adb shell dumpsys car_service --services CarPowerManagementService" and check if kernel support S2D is true. Change-Id: I4cfbdd0f6be9fdb62f8cd347bbad80f10b869665
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.