Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/
DResourceTable.h168 class ResourceTableType {
179 explicit ResourceTableType(const ResourceType type) : type(type) {} in ResourceTableType() function
186 DISALLOW_COPY_AND_ASSIGN(ResourceTableType);
193 std::vector<std::unique_ptr<ResourceTableType>> types;
199 ResourceTableType* FindType(ResourceType type) const;
200 ResourceTableType* FindOrCreateType(ResourceType type);
308 ResourceTableType* type;
DResourceTable.cpp45 bool less_than_type(const std::unique_ptr<ResourceTableType>& lhs, ResourceType rhs) { in less_than_type()
117 static ResourceTableType* FindTypeRunAction(ResourceType type, Elements& entries, Func action) { in FindTypeRunAction()
123 ResourceTableType* ResourceTablePackage::FindType(ResourceType type) const { in FindType()
128 ResourceTableType* ResourceTablePackage::FindOrCreateType(ResourceType type) { in FindOrCreateType()
130 return found ? iter->get() : types.emplace(iter, new ResourceTableType(type))->get(); in FindOrCreateType()
134 ResourceEntry* ResourceTableType::CreateEntry(const android::StringPiece& name) { in CreateEntry()
140 ResourceEntry* ResourceTableType::FindEntry(const android::StringPiece& name) const { in FindEntry()
145 ResourceEntry* ResourceTableType::FindOrCreateEntry(const android::StringPiece& name) { in FindOrCreateEntry()
343 const ResourceTableType* type, const std::string& entry_name, in InsertEntryIntoTableView()
594 ResourceTableType* type = package->FindType(name.type); in FindResource()
[all …]
/frameworks/base/tools/aapt2/link/
DPrivateAttributeMover.cpp60 ResourceTableType* type = package->FindType(ResourceType::kAttr); in Consume()
83 ResourceTableType* priv_attr_type = package->FindOrCreateType(ResourceType::kAttrPrivate); in Consume()
DPrivateAttributeMover_test.cpp44 ResourceTableType* type = package->FindType(ResourceType::kAttr); in TEST()
71 ResourceTableType* type = package->FindType(ResourceType::kAttr); in TEST()
DTableMerger.cpp85 static bool MergeType(IAaptContext* context, const Source& src, ResourceTableType* dst_type, in MergeType()
86 ResourceTableType* src_type) { in MergeType()
238 ResourceTableType* dst_type = main_package_->FindOrCreateType(src_type->type); in DoMerge()
/frameworks/base/tools/aapt2/java/
DJavaClassGenerator.h95 const ResourceTablePackage& package, const ResourceTableType& type,
DJavaClassGenerator.cpp533 const ResourceTableType& type, in ProcessType()
641 if (const ResourceTableType* priv_type = package->FindType(ResourceType::kAttrPrivate)) { in Generate()
/frameworks/base/tools/aapt2/split/
DTableSplitter.cpp244 ResourceTableType* split_type = split_pkg->FindOrCreateType(type->type); in SplitTable()
/frameworks/base/tools/aapt2/format/proto/
DProtoDeserialize.cpp440 ResourceTableType* type = pkg->FindOrCreateType(*res_type); in DeserializePackageFromPb()