Searched refs:ResourceTablePackage (Results 1 – 13 of 13) sorted by relevance
/frameworks/base/tools/aapt2/ |
D | ResourceTable.h | 189 class ResourceTablePackage { 195 explicit ResourceTablePackage(const android::StringPiece& name) : name(name.to_string()) { in ResourceTablePackage() function 198 ResourceTablePackage() = default; 203 DISALLOW_COPY_AND_ASSIGN(ResourceTablePackage); 307 ResourceTablePackage* package; 319 ResourceTablePackage* FindPackage(const android::StringPiece& name) const; 320 ResourceTablePackage* FindOrCreatePackage(const android::StringPiece& name); 337 std::vector<std::unique_ptr<ResourceTablePackage>> packages;
|
D | ResourceTable.cpp | 105 ResourceTablePackage* ResourceTable::FindPackage(const android::StringPiece& name) const { in FindPackage() 106 return FindElementsRunAction<ResourceTablePackage>( in FindPackage() 110 ResourceTablePackage* ResourceTable::FindOrCreatePackage(const android::StringPiece& name) { in FindOrCreatePackage() 111 return FindElementsRunAction<ResourceTablePackage>(name, packages, [&](bool found, auto& iter) { in FindOrCreatePackage() 112 return found ? iter->get() : packages.emplace(iter, new ResourceTablePackage(name))->get(); in FindOrCreatePackage() 123 ResourceTableType* ResourceTablePackage::FindType(ResourceType type) const { in FindType() 128 ResourceTableType* ResourceTablePackage::FindOrCreateType(ResourceType type) { in FindOrCreateType() 342 void InsertEntryIntoTableView(ResourceTableView& table, const ResourceTablePackage* package, in InsertEntryIntoTableView() 589 ResourceTablePackage* package = FindPackage(name.package); in FindResource() 608 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 | 85 ResourceTablePackage* main_package_; 90 bool DoMerge(const Source& src, ResourceTablePackage* src_package, bool mangle_package,
|
D | TableMerger.cpp | 233 bool TableMerger::DoMerge(const Source& src, ResourceTablePackage* src_package, bool mangle_package, in DoMerge() 351 ResourceTablePackage* pkg = table.FindOrCreatePackage(file_desc.name.package); in MergeFile()
|
/frameworks/base/tools/aapt2/format/binary/ |
D | BinaryResourceParser.h | 54 bool ParseTypeSpec(const ResourceTablePackage* package, const android::ResChunk_header* chunk, 56 bool ParseType(const ResourceTablePackage* package, const android::ResChunk_header* chunk,
|
D | BinaryResourceParser.cpp | 195 ResourceTablePackage* package = table_->FindOrCreatePackage(util::Utf16ToUtf8(package_name)); in ParsePackage() 283 bool BinaryResourceParser::ParseTypeSpec(const ResourceTablePackage* package, in ParseTypeSpec() 331 bool BinaryResourceParser::ParseType(const ResourceTablePackage* package, in ParseType()
|
/frameworks/base/tools/aapt2/java/ |
D | JavaClassGenerator.h | 95 const ResourceTablePackage& package, const ResourceTableType& type,
|
D | JavaClassGenerator.cpp | 532 const ResourceTablePackage& package, in ProcessType()
|
/frameworks/base/tools/aapt2/split/ |
D | TableSplitter.cpp | 243 ResourceTablePackage* split_pkg = split_table->FindPackage(pkg->name); in SplitTable()
|
/frameworks/base/tools/aapt2/cmd/ |
D | Link.cpp | 86 expected<ResourceTablePackage*, const char*> GetStaticLibraryPackage(ResourceTable* table) { in GetStaticLibraryPackage() 1002 auto is_ext_package_func = [&](const std::unique_ptr<ResourceTablePackage>& pkg) -> bool { in VerifyNoExternalPackages() 1335 ResourceTablePackage* pkg = lib_package_result.value(); in MergeStaticLibrary() 1768 ResourceTablePackage* package_to_rewrite = nullptr; in WriteApk()
|
/frameworks/base/tools/aapt2/format/proto/ |
D | ProtoDeserialize.cpp | 430 ResourceTablePackage* pkg = out_table->FindOrCreatePackage(pb_package.package_name()); in DeserializePackageFromPb()
|