diff options
author | Yangster-mac <yanglu@google.com> | 2018-08-16 10:30:28 -0700 |
---|---|---|
committer | Yangster-mac <yanglu@google.com> | 2018-09-07 11:09:37 -0700 |
commit | e124e42582b45961ff86aa428b69d6c7691d5887 (patch) | |
tree | 434186130e7203a9a9c2b80cf007085842aab2f2 /tools/stats_log_api_gen/Collation.cpp | |
parent | 4b719a7cad9467292977651f8287c02a250588ed (diff) |
Interface of writing key value pair atom to socket and parsing from statsd.
Test: statsd unit test
BUG: b/114231161
Change-Id: I3543900934b5e8e0677bf1e7cc454d61064a2475
Diffstat (limited to 'tools/stats_log_api_gen/Collation.cpp')
-rw-r--r-- | tools/stats_log_api_gen/Collation.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/tools/stats_log_api_gen/Collation.cpp b/tools/stats_log_api_gen/Collation.cpp index 40ee490fc186..f294728860ae 100644 --- a/tools/stats_log_api_gen/Collation.cpp +++ b/tools/stats_log_api_gen/Collation.cpp @@ -184,16 +184,6 @@ int collate_atom(const Descriptor *atom, AtomDecl *atomDecl, expectedNumber++; } - // Skips the key value pair atom. - for (map<int, const FieldDescriptor *>::const_iterator it = fields.begin(); - it != fields.end(); it++) { - const FieldDescriptor *field = it->second; - java_type_t javaType = java_type(field); - if (javaType == JAVA_TYPE_KEY_VALUE_PAIR) { - return 0; - } - } - // Check that only allowed types are present. Remove any invalid ones. for (map<int, const FieldDescriptor *>::const_iterator it = fields.begin(); it != fields.end(); it++) { |