commit | 060ae1f2f562c3d3b2559bfc88adaa3861d32517 | [log] [tgz] |
---|---|---|
author | Kai <kwangsudo@google.com> | Thu Feb 25 19:37:45 2021 -0800 |
committer | Kai <kwangsudo@google.com> | Wed Mar 10 21:44:40 2021 -0800 |
tree | 1e6feae16cd20515c020707a2458f43a30cf314c | |
parent | d389956ada4d50d1c2c7bad9ee76367d1f1a673c [diff] |
Improve adb command related with car properties 1. Add adb command for injecting the continuous events. For example: adb shell cmd car_service inject-continuous-events 0x11600309 20 inject events for property:0x11600309 with value:20 for 60 sec. 2. Allow "inject-vhal-event", "get-carpropertyconfig", "get-car-property-value" support both hexadecimal and decimal propertyId. 3. Improve the output of dumpsys and log for propertyIds 4. Reduce intermediate objects in dump Bug:178042757 Bug:175129375 Test: adb shell cmd car_service adb shell cmd car_service inject-continuous-events 0x11600309 20 adb shell cmd car_service get-carpropertyconfig 0x13400bc0 adb shell cmd car_service get-carpropertyconfig 322964416 atest VehicleHalTest Change-Id: Ia4908ae52b2fa3201993c482b23a2d20f90f1907
Native (C++) code format is required to be compatible with .clang-format file. Run
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.