Searched refs:ResourceTableType (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/tools/aapt2/ |
D | ResourceTable.h | 125 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;
|
D | ResourceTable.cpp | 32 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/ |
D | Diff.cpp | 138 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/ |
D | PrivateAttributeMover.cpp | 58 ResourceTableType* type = package->findType(ResourceType::kAttr); in consume() 68 ResourceTableType* privAttrType = package->findOrCreateType(ResourceType::kAttrPrivate); in consume()
|
D | PrivateAttributeMover_test.cpp | 43 ResourceTableType* type = package->findType(ResourceType::kAttr); in TEST() 70 ResourceTableType* type = package->findType(ResourceType::kAttr); in TEST()
|
D | TableMerger.cpp | 142 ResourceTableType* dstType = mMasterPackage->findOrCreateType(srcType->type); in doMerge()
|
/frameworks/base/tools/aapt2/flatten/ |
D | TableFlattener.cpp | 302 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/ |
D | JavaClassGenerator.h | 80 const ResourceTableType* type,
|
D | JavaClassGenerator.cpp | 408 const ResourceTableType* type, in addMembersToTypeClass() 523 ResourceTableType* privType = package->findType(ResourceType::kAttrPrivate); in generate()
|
/frameworks/base/tools/aapt2/split/ |
D | TableSplitter.cpp | 219 ResourceTableType* splitType = splitPkg->findOrCreateType(type->type); in splitTable()
|
/frameworks/base/tools/aapt2/proto/ |
D | TableProtoDeserializer.cpp | 82 ResourceTableType* type = pkg->findOrCreateType(*resType); in deserializeFromPb()
|