diff options
author | Muhammad Qureshi <muhammadq@google.com> | 2020-01-14 14:42:13 -0800 |
---|---|---|
committer | Muhammad Qureshi <muhammadq@google.com> | 2020-01-28 16:34:22 -0800 |
commit | b6b3995f17c97e806e70198db180cc65783d49d1 (patch) | |
tree | b8d5e6bd76ff59b7a7a537c4e2c28295043a1516 /tools/stats_log_api_gen/utils.h | |
parent | 9652ad951405498f1b2c5a305342d7c569b7c292 (diff) |
Add KeyValuePairs support for modules.
Add KeyValuePairs support to StatsLog autogen for modules.
Bug: 147674597
Test: m
Test: fastboot flashall
Test: adb logcat "*:S statsd:*" and inspect KeyValuePair atoms.
Test: statsd_testdrive 83
Change-Id: Ie40ea52fde494ec11da6b73f430c7a112711b55b
Diffstat (limited to 'tools/stats_log_api_gen/utils.h')
-rw-r--r-- | tools/stats_log_api_gen/utils.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/stats_log_api_gen/utils.h b/tools/stats_log_api_gen/utils.h index 50737a68bf89..cd602e53359a 100644 --- a/tools/stats_log_api_gen/utils.h +++ b/tools/stats_log_api_gen/utils.h @@ -39,6 +39,7 @@ const string DEFAULT_JAVA_CLASS = "StatsLogInternal"; const int JAVA_MODULE_REQUIRES_FLOAT = 0x01; const int JAVA_MODULE_REQUIRES_ATTRIBUTION = 0x02; +const int JAVA_MODULE_REQUIRES_KEY_VALUE_PAIRS = 0x04; string make_constant_name(const string& str); |