Home
last modified time | relevance | path

Searched refs:ResourceTableType (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/tools/aapt2/
DResourceTable.h125 class ResourceTableType {
148 explicit ResourceTableType(const ResourceType type) : type(type) { } in ResourceTableType() function
154 DISALLOW_COPY_AND_ASSIGN(ResourceTableType);
170 std::vector<std::unique_ptr<ResourceTableType>> types;
173 ResourceTableType* findType(ResourceType type);
174 ResourceTableType* findOrCreateType(const ResourceType type);
252 ResourceTableType* type;
DResourceTable.cpp32 static bool lessThanType(const std::unique_ptr<ResourceTableType>& lhs, ResourceType rhs) { in lessThanType()
87 ResourceTableType* ResourceTablePackage::findType(ResourceType type) { in findType()
96 ResourceTableType* ResourceTablePackage::findOrCreateType(ResourceType type) { in findOrCreateType()
102 return types.emplace(iter, new ResourceTableType(type))->get(); in findOrCreateType()
105 ResourceEntry* ResourceTableType::findEntry(const StringPiece16& name) { in findEntry()
115 ResourceEntry* ResourceTableType::findOrCreateEntry(const StringPiece16& name) { in findOrCreateEntry()
375 ResourceTableType* type = package->findOrCreateType(name.type); in addResourceImpl()
472 ResourceTableType* type = package->findOrCreateType(name.type); in setSymbolStateImpl()
532 ResourceTableType* type = package->findType(name.type); in findResource()
/frameworks/base/tools/aapt2/diff/
DDiff.cpp138 ResourceTableType* typeA, in emitResourceConfigValueDiff()
143 ResourceTableType* typeB, in emitResourceConfigValueDiff()
164 ResourceTableType* typeA, in emitResourceEntryDiff()
168 ResourceTableType* typeB, in emitResourceEntryDiff()
203 ResourceTableType* typeA, in emitResourceTypeDiff()
206 ResourceTableType* typeB) { in emitResourceTypeDiff()
276 for (std::unique_ptr<ResourceTableType>& typeA : pkgA->types) { in emitResourcePackageDiff()
277 ResourceTableType* typeB = pkgB->findType(typeA->type); in emitResourcePackageDiff()
324 for (std::unique_ptr<ResourceTableType>& typeB : pkgB->types) { in emitResourcePackageDiff()
325 ResourceTableType* typeA = pkgA->findType(typeB->type); in emitResourcePackageDiff()
/frameworks/base/tools/aapt2/link/
DPrivateAttributeMover.cpp58 ResourceTableType* type = package->findType(ResourceType::kAttr); in consume()
68 ResourceTableType* privAttrType = package->findOrCreateType(ResourceType::kAttrPrivate); in consume()
DPrivateAttributeMover_test.cpp43 ResourceTableType* type = package->findType(ResourceType::kAttr); in TEST()
70 ResourceTableType* type = package->findType(ResourceType::kAttr); in TEST()
DTableMerger.cpp142 ResourceTableType* dstType = mMasterPackage->findOrCreateType(srcType->type); in doMerge()
/frameworks/base/tools/aapt2/flatten/
DTableFlattener.cpp302 bool flattenConfig(const ResourceTableType* type, const ConfigDescription& config, in flattenConfig()
343 std::vector<ResourceTableType*> collectAndSortTypes() { in collectAndSortTypes()
344 std::vector<ResourceTableType*> sortedTypes; in collectAndSortTypes()
356 std::sort(sortedTypes.begin(), sortedTypes.end(), cmpIds<ResourceTableType>); in collectAndSortTypes()
360 std::vector<ResourceEntry*> collectAndSortEntries(ResourceTableType* type) { in collectAndSortEntries()
371 bool flattenTypeSpec(ResourceTableType* type, std::vector<ResourceEntry*>* sortedEntries, in flattenTypeSpec()
419 std::vector<ResourceTableType*> sortedTypes = collectAndSortTypes(); in flattenTypes()
422 for (ResourceTableType* type : sortedTypes) { in flattenTypes()
/frameworks/base/tools/aapt2/java/
DJavaClassGenerator.h80 const ResourceTableType* type,
DJavaClassGenerator.cpp408 const ResourceTableType* type, in addMembersToTypeClass()
523 ResourceTableType* privType = package->findType(ResourceType::kAttrPrivate); in generate()
/frameworks/base/tools/aapt2/split/
DTableSplitter.cpp219 ResourceTableType* splitType = splitPkg->findOrCreateType(type->type); in splitTable()
/frameworks/base/tools/aapt2/proto/
DTableProtoDeserializer.cpp82 ResourceTableType* type = pkg->findOrCreateType(*resType); in deserializeFromPb()