commit | c8e226610cca0fcec6c67076355fcc2d5914ad26 | [log] [tgz] |
---|---|---|
author | Muhammad Qureshi <muhammadq@google.com> | Wed Nov 20 17:18:03 2019 -0800 |
committer | Muhammad Qureshi <muhammadq@google.com> | Tue Dec 17 12:59:01 2019 -0800 |
tree | 837729884dfba259a38401395b64911a9577e852 | |
parent | a9a54dc0e0c545c5d1a7f80cdbe35882dae02e09 [diff] [blame] |
Move statsd metadata from statslog to atoms_info Clients don't need to know about statsd metadata. Extract out metadata from statslog.h/cpp into atoms_info.h/cpp which is only used by statsd. Generated atoms_info.h: https://paste.googleplex.com/6303016724463616 Generated atoms_info.cpp: https://paste.googleplex.com/5717940978581504 Test: m -j Test: old metadata in statslog matches the metadata in atoms_info Test: Flashes successfully Test: adb logcat "*:S statsd:*" Change-Id: I56ef3cc4ea1fbd2cd0130d4e9576b242efb9f627
diff --git a/cmds/statsd/src/FieldValue.cpp b/cmds/statsd/src/FieldValue.cpp index 84a0607..a545fc5 100644 --- a/cmds/statsd/src/FieldValue.cpp +++ b/cmds/statsd/src/FieldValue.cpp
@@ -18,8 +18,8 @@ #include "Log.h" #include "FieldValue.h" #include "HashableDimensionKey.h" +#include "atoms_info.h" #include "math.h" -#include "statslog.h" namespace android { namespace os {