commit | b1d5af25db978bcec915cd35c42ea05af18e726b | [log] [tgz] |
---|---|---|
author | Howard Hao <hhhao@google.com> | Tue Dec 21 13:40:43 2021 -0800 |
committer | Zhaoming Yin <zhaomingyin@google.com> | Wed Feb 02 23:05:09 2022 +0000 |
tree | 20216fbf4759122ec01f5b11a2cb4fda448474e1 | |
parent | e1a1f1a9207051c0925d6536a67be724ecd5ab97 [diff] |
Add parsing aggregated atoms to metrics converters. Statsd new feature has atoms aggregated to save data, this CL parses the aggregated field and expands into atoms list. The old way of parse is kept as alternative for backward compatibility. Bug: 211045256 Bug: 207175350 Test: atest CarServiceUnitTest:EventMetricDataConverterTest Test: atest CarServiceUnitTest:GaugeMetricDataConverterTest Change-Id: Ifac9b623cd4e7ec35990b1212a2e418e883be04c Merged-In: Ifac9b623cd4e7ec35990b1212a2e418e883be04c (cherry picked from commit 5bb9ff6afa91261caee6d59c465fad0d5a6564c9)
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.