tag | fa7ce5bf22f01c2caa90819e72dd443d9507bceb | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Wed Nov 01 15:18:51 2023 -0700 |
object | 068a4df7b8e48731ab10abab2ff473fc61acbd5e |
aml_ads_341027030 (10776190,com.google.android.adservices,com.google.android.go.adservices)
commit | 068a4df7b8e48731ab10abab2ff473fc61acbd5e | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Aug 04 17:53:50 2023 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Aug 04 17:53:50 2023 +0000 |
tree | a4ab7afa432d7255c832b73f9e451ce7c8e2dc88 | |
parent | cc50a14ec9e15f30d468978eb01cbefeff36dbf3 [diff] | |
parent | b1eefad7b727b2a73e910a493a2270cab6ebc3ed [diff] |
Snap for 10611805 from b1eefad7b727b2a73e910a493a2270cab6ebc3ed to mainline-adservices-release Change-Id: I117561ab3799e5cb8ee3178bacc6f7c69dd54b3e
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.
Dumpsys and car shell can be useful when debugging CarService integration issues.
adb shell dumpsys car_service # to dump all car service information adb shell dumpsys car_service --services [service name] # to dump a specific service information adb shell dumpsys car_service --list # get list of available services
Dumpsys for CarService includes the following (more information is availble in dumpsys, below are just highlights):
adb shell cmd car_service
CarService supports commands via car shell:
(list is not complete, run adb shell cmd car_service -h for more details)
Start Garage mode
adb shell cmd car_service garage-mode on
Finish Garage mode
adb shell cmd car_service garage-mode on
Get Garage mode status
adb shell cmd car_service garage-mode query
Change Garage mode max duration (only eng and debug builds)
adb shell setprop android.car.garagemodeduration <seconds>