Searched refs:ResourceTablePackage (Results 1 – 13 of 13) sorted by relevance
/frameworks/base/tools/aapt2/ |
D | ResourceTable.h | 192 class ResourceTablePackage { 198 explicit ResourceTablePackage(android::StringPiece name) : name(name) { in ResourceTablePackage() function 201 ResourceTablePackage() = default; 207 DISALLOW_COPY_AND_ASSIGN(ResourceTablePackage); 316 ResourceTablePackage* package; 328 ResourceTablePackage* FindPackage(android::StringPiece name) const; 329 ResourceTablePackage* FindOrCreatePackage(android::StringPiece name); 346 std::vector<std::unique_ptr<ResourceTablePackage>> packages;
|
D | ResourceTable.cpp | 107 ResourceTablePackage* ResourceTable::FindPackage(android::StringPiece name) const { in FindPackage() 108 return FindElementsRunAction<ResourceTablePackage>( in FindPackage() 112 ResourceTablePackage* ResourceTable::FindOrCreatePackage(android::StringPiece name) { in FindOrCreatePackage() 113 return FindElementsRunAction<ResourceTablePackage>(name, packages, [&](bool found, auto& iter) { in FindOrCreatePackage() 114 return found ? iter->get() : packages.emplace(iter, new ResourceTablePackage(name))->get(); in FindOrCreatePackage() 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() 350 void InsertEntryIntoTableView(ResourceTableView& table, const ResourceTablePackage* package, in InsertEntryIntoTableView() 602 ResourceTablePackage* package = FindPackage(name.package); in FindResource() [all …]
|
D | ValueVisitor.h | 198 inline void VisitAllValuesInPackage(ResourceTablePackage* pkg, ValueVisitor* visitor) {
|
/frameworks/base/tools/aapt2/link/ |
D | PrivateAttributeMover_test.cpp | 41 ResourceTablePackage* package = table->FindPackage("android"); in TEST() 68 ResourceTablePackage* package = table->FindPackage("android"); in TEST() 87 ResourceTablePackage* package = table->FindPackage("android"); in TEST()
|
D | TableMerger.h | 86 ResourceTablePackage* main_package_; 92 bool DoMerge(const android::Source& src, ResourceTablePackage* src_package, bool mangle_package,
|
D | TableMerger.cpp | 234 bool TableMerger::DoMerge(const android::Source& src, ResourceTablePackage* src_package, in DoMerge() 353 ResourceTablePackage* pkg = table.FindOrCreatePackage(file_desc.name.package); in MergeFile()
|
/frameworks/base/tools/aapt2/format/binary/ |
D | BinaryResourceParser.h | 55 bool ParseTypeSpec(const ResourceTablePackage* package, const android::ResChunk_header* chunk, 57 bool ParseType(const ResourceTablePackage* package, const android::ResChunk_header* chunk,
|
D | BinaryResourceParser.cpp | 202 ResourceTablePackage* package = in ParsePackage() 293 bool BinaryResourceParser::ParseTypeSpec(const ResourceTablePackage* package, in ParseTypeSpec() 343 bool BinaryResourceParser::ParseType(const ResourceTablePackage* package, in ParseType()
|
/frameworks/base/tools/aapt2/java/ |
D | JavaClassGenerator.h | 94 const ResourceTablePackage& package, const ResourceTableType& type,
|
D | JavaClassGenerator.cpp | 534 const ResourceTablePackage& package, in ProcessType()
|
/frameworks/base/tools/aapt2/split/ |
D | TableSplitter.cpp | 241 ResourceTablePackage* split_pkg = split_table->FindPackage(pkg->name); in SplitTable()
|
/frameworks/base/tools/aapt2/cmd/ |
D | Link.cpp | 88 expected<ResourceTablePackage*, const char*> GetStaticLibraryPackage(ResourceTable* table) { in GetStaticLibraryPackage() 1012 auto is_ext_package_func = [&](const std::unique_ptr<ResourceTablePackage>& pkg) -> bool { in VerifyNoExternalPackages() 1459 ResourceTablePackage* pkg = lib_package_result.value(); in MergeStaticLibrary() 1894 ResourceTablePackage* package_to_rewrite = nullptr; in WriteApk()
|
/frameworks/base/tools/aapt2/format/proto/ |
D | ProtoDeserialize.cpp | 431 ResourceTablePackage* pkg = out_table->FindOrCreatePackage(pb_package.package_name()); in DeserializePackageFromPb()
|