commit | 7381f643c258d988bfd4a285978ebb3014e1c6fc | [log] [tgz] |
---|---|---|
author | Rui Qiu <ruiqiu@google.com> | Tue Mar 08 15:29:51 2022 -0800 |
committer | Rui Qiu <ruiqiu@google.com> | Tue Mar 08 15:30:08 2022 -0800 |
tree | 6b1205d7ee26fb12501ec2925b209233234c0259 | |
parent | 77f36172591693d5d4fa4ddcfbb737066b991307 [diff] |
Make MetricsReportCallback accept a PersistableBundle for telemetry report The kitchensink and car shell output has to be updated to show bundle keys and values as text. The PersistableBundle#toString() method prints the mParcelledData.dataSize if the bundle has been unparcelled in the binder call. Bug: 223224101 Test: atest com.android.car.telemetry Test: atest CarServiceTest:CarTelemetryManagerTest Test: kitchensink Test: car shell Change-Id: Ia33a808588a04e3b6cff75212c5efa63faf8f3c6 Merged-In: Ia33a808588a04e3b6cff75212c5efa63faf8f3c6 (cherry picked from commit d6ca250fb408f6e252401e48ed12487fa5960ce3)
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.