• Home
Name Date Size #Lines LOC

..--

aidl/03-May-2024-14649

products/03-May-2024-233

sampleclient/03-May-2024-173114

sampleinternalclient/03-May-2024-11678

sepolicy/03-May-2024-2011

src/03-May-2024-914489

tests/03-May-2024-408272

ARCHITECTURE.mdD03-May-2024975 2318

Android.bpD03-May-20242.5 KiB9791

README.mdD03-May-20241.3 KiB4629

android.automotive.telemetryd@1.0.rcD03-May-2024278 108

android.automotive.telemetryd@1.0.xmlD03-May-2024943 248

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