commit | 15c8c0fd14a7202abc32a4ba3fb2996764d80549 | [log] [tgz] |
---|---|---|
author | Rui Qiu <ruiqiu@google.com> | Fri Feb 04 15:06:14 2022 -0800 |
committer | Rui Qiu <ruiqiu@google.com> | Thu Feb 17 12:31:39 2022 -0800 |
tree | 300b7c08826c77dfd9df9c6e799753e0a5cfcd27 | |
parent | f7f7caa9875922b87a72765f4b06db69f01e5e90 [diff] |
Refactor telemetry addMetricsConfig API This CL updates the addMetricsConfig to accept a callback to receive reports. Bug: 217951050 Test: m -j Test: manual kitchensink tests Test: atest CarServiceUnitTest:CarTelemetryServiceTest Test: atest CarServiceTest:CarTelemetryManagerTest Test: atest CarTelemetryManagerPermissionTest Change-Id: I6fe7ea6495faf6cc717ad92270197e949867d70d Merged-In: I6fe7ea6495faf6cc717ad92270197e949867d70d (cherry picked from commit eaf75c42d1e6a88fa666bcf9a110b7f64f58e14c)
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.