diff options
author | Salud Lemus <saludlemus@google.com> | 2020-06-30 19:54:47 +0000 |
---|---|---|
committer | Salud Lemus <saludlemus@google.com> | 2020-07-07 20:07:51 +0000 |
commit | b77d9e984cf25821afd98429ec8f6e8cdf1549b2 (patch) | |
tree | ca3ef97752952ccce88c36842ae14462456f5bed /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | c54e932f8db588f94c27e89cc168d0accca8f845 (diff) |
Added support for pulled atoms for stats-log-api-gen
Currently, stats-log-api-gen allows statsd clients to send events for
pushed atoms to statsd using a simple auto-generated function call.
Allow support for pulled atoms so that clients no longer have to
hand-construct StatsEvent objects by calling StatsEvent write methods
directly and also making sure that the appropriate annotations are
added. This support is for Java clients only for now.
Bug: 160368804
Test: Ran `m statslog-framework-java-gen` and completed successfully
Test: Ran `m` and completed successfully
Test: Ran `m stats-log-api-gen-test && out/host/linux-x86/nativetest/stats-log-api-gen-test/stats-log-api-gen-test`
Test: Ran `atest CtsStatsdHostTestCases:android.cts.statsd.atom` and all passed except for CTS tests related to a SIM card because the testing device does not have a SIM card
Change-Id: Ie2cbb298690ce71ff7fe7457b17b9d7bdbb24f6b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions