Searched refs:atoms (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/tools/stats_log_api_gen/
H A Dtest_collation.cpp85 Atoms atoms; local
86 int errorCount = collate_atoms(Event::descriptor(), &atoms);
89 EXPECT_EQ(3ul, atoms.signatures.size());
92 EXPECT_SET_CONTAINS_SIGNATURE(atoms.signatures, JAVA_TYPE_INT);
95 EXPECT_SET_CONTAINS_SIGNATURE(atoms.signatures, JAVA_TYPE_INT, JAVA_TYPE_INT);
99 atoms.signatures,
118 set<AtomDecl>::const_iterator atom = atoms.decls.begin();
146 EXPECT_TRUE(atom == atoms.decls.end());
150 * Test that event class that contains stuff other than the atoms is rejected.
153 Atoms atoms; local
163 Atoms atoms; local
173 Atoms atoms; local
184 Atoms atoms; local
195 Atoms atoms; local
203 Atoms atoms; local
210 Atoms atoms; local
[all...]
H A Dmain.cpp5 #include "frameworks/base/cmds/statsd/src/atoms.pb.h"
98 static int write_stats_log_cpp(FILE *out, const Atoms &atoms, argument
129 for (set<AtomDecl>::const_iterator atom = atoms.decls.begin();
130 atom != atoms.decls.end(); atom++) {
142 for (set<AtomDecl>::const_iterator atom = atoms.decls.begin();
143 atom != atoms.decls.end(); atom++) {
158 for (set<AtomDecl>::const_iterator atom = atoms.decls.begin();
159 atom != atoms.decls.end(); atom++) {
183 for (set<AtomDecl>::const_iterator atom = atoms.decls.begin();
184 atom != atoms
468 build_non_chained_decl_map(const Atoms& atoms, std::map<int, set<AtomDecl>::const_iterator>* decl_map) argument
532 write_stats_log_header(FILE* out, const Atoms& atoms, const AtomDecl &attributionDecl) argument
671 write_stats_log_java(FILE* out, const Atoms& atoms, const AtomDecl &attributionDecl) argument
1015 write_stats_log_jni(FILE* out, const Atoms& atoms, const AtomDecl &attributionDecl) argument
1132 Atoms atoms; local
[all...]
H A DCollation.cpp18 #include "frameworks/base/cmds/statsd/src/atoms.pb.h"
331 * Gather the info about the atoms.
333 int collate_atoms(const Descriptor *descriptor, Atoms *atoms) { argument
362 atoms->signatures.insert(signature);
363 atoms->decls.insert(atomDecl);
368 atoms->non_chained_signatures.insert(nonChainedSignature);
369 atoms->non_chained_decls.insert(nonChainedAtomDecl);
376 atoms->signatures.begin();
377 it != atoms->signatures.end(); it++) {
H A DCollation.h107 * Gather the information about the atoms. Returns the number of errors.
109 int collate_atoms(const Descriptor* descriptor, Atoms* atoms);
/frameworks/base/cmds/statsd/
H A DAndroid.mk181 src/atoms.proto \
250 src/atoms.proto
271 src/atoms.proto \

Completed in 94 milliseconds