commit | 084453d64b2b1868c0f0666092bac643f887f79c | [log] [tgz] |
---|---|---|
author | Rui Qiu <ruiqiu@google.com> | Fri Jan 07 11:41:39 2022 -0800 |
committer | Rui Qiu <ruiqiu@google.com> | Fri Jan 07 15:10:53 2022 -0800 |
tree | 4e194edd1826b64dae589b0d11c9ef12aa3a84e3 | |
parent | d86aee3f17cb577586a97bf68750493b3eeb6f3b [diff] |
Save car telemetry data at reboot and shutdown Note that the broadcast is received for user initiated shutdown and reboots, so the adb command to use is $ adb shell svc power [shutdown|reboot] "adb reboot" does not work because it enters reboot without killing processes or unmounting filesystems Bug: 213604380 Test: manual kitchensink test, test steps in ag/16571428 Test: atest CarServiceUnitTest:CarTelemetryServiceTest Change-Id: I3ba397d2f5641d36f8d443cba409a33b86af8ba0
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.