Home
last modified time | relevance | path

Searched refs:atomDecl (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/tools/stats_log_api_gen/
DCollation.cpp164 int collate_atom(const Descriptor *atom, AtomDecl *atomDecl, in collate_atom() argument
209 atomDecl->code < PULL_ATOM_START_ID) { in collate_atom()
266 if (atomDecl->code < PULL_ATOM_START_ID) { in collate_atom()
281 atomDecl->fields.push_back(atField); in collate_atom()
290 atomDecl->primaryFields.push_back(it->first); in collate_atom()
301 if (atomDecl->exclusiveField == 0) { in collate_atom()
302 atomDecl->exclusiveField = it->first; in collate_atom()
313 if (atomDecl->uidField == 0) { in collate_atom()
314 atomDecl->uidField = it->first; in collate_atom()
321 atomDecl->binaryFields.push_back(it->first); in collate_atom()
[all …]
Dtest_collation.cpp239 for (const auto& atomDecl : atoms.decls) { in TEST() local
240 if (atomDecl.code == 1) { in TEST()
241 EXPECT_TRUE(atomDecl.whitelisted); in TEST()
243 EXPECT_FALSE(atomDecl.whitelisted); in TEST()
260 for (const auto& atomDecl: atoms.decls) { in TEST() local
261 if (atomDecl.code == 1) { in TEST()
262 EXPECT_TRUE(atomDecl.hasModule); in TEST()
263 EXPECT_EQ(atomDecl.moduleName, "module1"); in TEST()
264 } else if (atomDecl.code == 2) { in TEST()
265 EXPECT_TRUE(atomDecl.hasModule); in TEST()
[all …]
Dutils.h49 bool atom_needed_for_module(const AtomDecl& atomDecl, const string& moduleName);
DCollation.h121 int collate_atom(const Descriptor *atom, AtomDecl *atomDecl, vector<java_type_t> *signature);
Dutils.cpp101 bool atom_needed_for_module(const AtomDecl& atomDecl, const string& moduleName) { in atom_needed_for_module() argument
105 return atomDecl.hasModule && (moduleName == atomDecl.moduleName); in atom_needed_for_module()