Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
aidl/ | 03-May-2024 | - | 146 | 49 | ||
products/ | 03-May-2024 | - | 23 | 3 | ||
sampleclient/ | 03-May-2024 | - | 173 | 114 | ||
sampleinternalclient/ | 03-May-2024 | - | 116 | 78 | ||
sepolicy/ | 03-May-2024 | - | 20 | 11 | ||
src/ | 03-May-2024 | - | 914 | 489 | ||
tests/ | 03-May-2024 | - | 408 | 272 | ||
ARCHITECTURE.md | D | 03-May-2024 | 975 | 23 | 18 | |
Android.bp | D | 03-May-2024 | 2.5 KiB | 97 | 91 | |
README.md | D | 03-May-2024 | 1.3 KiB | 46 | 29 | |
android.automotive.telemetryd@1.0.rc | D | 03-May-2024 | 278 | 10 | 8 | |
android.automotive.telemetryd@1.0.xml | D | 03-May-2024 | 943 | 24 | 8 |
README.md
1# Automotive Telemetry Service 2 3A structured log collection service for CarTelemetryService. See ARCHITECTURE.md to learn internals. 4 5## Useful Commands 6 7**Dumping the service information** 8 9`adb shell dumpsys android.automotive.telemetry.internal.ICarTelemetryInternal/default` 10 11**Enabling VERBOSE logs** 12 13``` 14adb shell setprop log.tag.android.automotive.telemetryd@1.0 V 15adb shell setprop log.tag.cartelemetryd_impl_test V 16``` 17 18**Starting emulator with cold boot** 19 20`emulator -verbose -show-kernel -selinux permissive -writable-system -no-snapshot -wipe-data` 21 22**Running the tests** 23 24`atest cartelemetryd_impl_test:CarTelemetryInternalImplTest#TestSetListenerReturnsOk` 25 26`atest cartelemetryd_impl_test` 27 28## Enabling cartelemetryd 29 30`cartelemertryd` service is by default not included in the final build. To include it on specific 31targets, add the following lines in necessary `.mk` files: 32 33``` 34# Enable Automotive Telemetry Services (cartelemetryd) only on specific devices. 35ifneq ($(filter $(TARGET_PRODUCT), TARGET1 TARGET2),) 36include packages/services/Car/cpp/telemetry/cartelemetryd/products/telemetry.mk 37endif 38``` 39 40To find where the service was included, run this from `$ANDROID_BUILD_TOP`: 41 42``` 43grep -rH --color --exclude-dir='**/.*' --exclude-dir='out' --include='*.mk' \ 44 'cartelemetryd/products/telemetry.mk' device/ vendor/ 45``` 46