Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/
DResourceTable.h169 class ResourceTableType {
180 explicit ResourceTableType(const ResourceNamedTypeRef& type) in ResourceTableType() function
189 DISALLOW_COPY_AND_ASSIGN(ResourceTableType);
196 std::vector<std::unique_ptr<ResourceTableType>> types;
202 ResourceTableType* FindTypeWithDefaultName(const ResourceType type) const;
203 ResourceTableType* FindType(const ResourceNamedTypeRef& type) const;
204 ResourceTableType* FindOrCreateType(const ResourceNamedTypeRef& type);
317 ResourceTableType* type;
DResourceTable.cpp46 bool less_than_type(const std::unique_ptr<ResourceTableType>& lhs, in less_than_type()
119 static ResourceTableType* FindTypeRunAction(const ResourceNamedTypeRef& type, Elements& entries, in FindTypeRunAction()
126 ResourceTableType* ResourceTablePackage::FindTypeWithDefaultName(const ResourceType type) const { in FindTypeWithDefaultName()
131 ResourceTableType* ResourceTablePackage::FindType(const ResourceNamedTypeRef& type) const { in FindType()
136 ResourceTableType* ResourceTablePackage::FindOrCreateType(const ResourceNamedTypeRef& type) { in FindOrCreateType()
138 return found ? iter->get() : types.emplace(iter, new ResourceTableType(type))->get(); in FindOrCreateType()
142 ResourceEntry* ResourceTableType::CreateEntry(android::StringPiece name) { in CreateEntry()
148 ResourceEntry* ResourceTableType::FindEntry(android::StringPiece name) const { in FindEntry()
153 ResourceEntry* ResourceTableType::FindOrCreateEntry(android::StringPiece name) { in FindOrCreateEntry()
351 const ResourceTableType* type, const std::string& entry_name, in InsertEntryIntoTableView()
[all …]
/frameworks/base/tools/aapt2/link/
DPrivateAttributeMover.cpp60 ResourceTableType* type = package->FindTypeWithDefaultName(ResourceType::kAttr); in Consume()
84 ResourceTableType* priv_attr_type = package->FindOrCreateType(attr_private_type); in Consume()
DPrivateAttributeMover_test.cpp44 ResourceTableType* type = package->FindTypeWithDefaultName(ResourceType::kAttr); in TEST()
71 ResourceTableType* type = package->FindTypeWithDefaultName(ResourceType::kAttr); in TEST()
DTableMerger.cpp88 ResourceTableType* dst_type, ResourceTableType* src_type) { in MergeType()
239 ResourceTableType* dst_type = main_package_->FindOrCreateType(src_type->named_type); in DoMerge()
/frameworks/base/tools/aapt2/java/
DJavaClassGenerator.h94 const ResourceTablePackage& package, const ResourceTableType& type,
DJavaClassGenerator.cpp535 const ResourceTableType& type, in ProcessType()
645 if (const ResourceTableType* priv_type = in Generate()
/frameworks/base/tools/aapt2/split/
DTableSplitter.cpp242 ResourceTableType* split_type = split_pkg->FindOrCreateType(type->named_type); in SplitTable()
/frameworks/base/tools/aapt2/format/proto/
DProtoDeserialize.cpp441 ResourceTableType* type = pkg->FindOrCreateType(*res_type); in DeserializePackageFromPb()