/frameworks/base/tools/aapt2/optimize/ |
D | VersionCollapser_test.cpp | 38 const StringPiece res_name = "@android:string/foo"; in TEST() local 41 res_name, in TEST() 49 test::GetValueForConfig<Id>(table.get(), res_name, in TEST() 52 test::GetValueForConfig<Id>(table.get(), res_name, in TEST() 57 test::GetValueForConfig<Id>(table.get(), res_name, in TEST() 62 test::GetValueForConfig<Id>(table.get(), res_name, in TEST() 67 test::GetValueForConfig<Id>(table.get(), res_name, in TEST() 70 test::GetValueForConfig<Id>(table.get(), res_name, in TEST() 73 test::GetValueForConfig<Id>(table.get(), res_name, in TEST() 81 const StringPiece res_name = "@android:string/foo"; in TEST() local [all …]
|
/frameworks/base/tools/aapt2/test/ |
D | Common.h | 55 T* GetValueForConfigAndProduct(ResourceTable* table, const android::StringPiece& res_name, in GetValueForConfigAndProduct() argument 58 Maybe<ResourceTable::SearchResult> result = table->FindResource(ParseNameOrDie(res_name)); in GetValueForConfigAndProduct() 70 const android::StringPiece& res_name, 75 T* GetValueForConfig(ResourceTable* table, const android::StringPiece& res_name, in GetValueForConfig() argument 77 return GetValueForConfigAndProduct<T>(table, res_name, config, {}); in GetValueForConfig() 81 T* GetValue(ResourceTable* table, const android::StringPiece& res_name) { in GetValue() argument 82 return GetValueForConfig<T>(table, res_name, {}); in GetValue()
|
D | Common.cpp | 48 const android::StringPiece& res_name, in GetValueForConfigAndProduct() argument 51 Maybe<ResourceTable::SearchResult> result = table->FindResource(ParseNameOrDie(res_name)); in GetValueForConfigAndProduct()
|
D | Builders.cpp | 120 ResourceName res_name = ParseNameOrDie(name); in AddValue() local 121 CHECK(table_->AddResourceWithIdMangled(res_name, id, config, {}, std::move(value), in AddValue() 130 ResourceName res_name = ParseNameOrDie(name); in SetSymbolState() local 133 CHECK(table_->SetVisibilityWithIdMangled(res_name, visibility, id, GetDiagnostics())); in SetSymbolState() 134 CHECK(table_->SetAllowNewMangled(res_name, AllowNew{}, GetDiagnostics())); in SetSymbolState() 141 ResourceName res_name = ParseNameOrDie(name); in SetOverlayable() local 142 CHECK(table_->SetOverlayable(res_name, overlayable, GetDiagnostics())); in SetOverlayable()
|
/frameworks/base/tools/aapt2/link/ |
D | TableMerger.cpp | 198 const ResourceNameRef& res_name, in MergeConfigValue() argument 224 << "resource '" << res_name << "' has a conflicting value for " in MergeConfigValue() 257 const ResourceNameRef res_name(src_package->name, src_type->type, src_entry->name); in DoMerge() local 261 << "resource " << res_name in DoMerge() 281 context_, res_name, overlay, options_.override_styles_instead_of_overlaying, in DoMerge()
|
/frameworks/base/tools/aapt2/cmd/ |
D | Link.cpp | 1005 ResourceNameRef res_name(package->name, type->type, entry->name); in VerifyNoExternalPackages() local 1012 << "generated id '" << res_name in VerifyNoExternalPackages() 1017 << "defined resource '" << res_name in VerifyNoExternalPackages() 1049 ResourceNameRef res_name(package->name, type->type, entry->name); in VerifyNoIdsSet() local 1051 DiagMessage() << "entry " << res_name << " has ID " in VerifyNoIdsSet() 1367 ResourceName res_name = exported_symbol.name; in MergeExportedSymbols() local 1368 if (res_name.package.empty()) { in MergeExportedSymbols() 1369 res_name.package = context_->GetCompilationPackage(); in MergeExportedSymbols() 1372 Maybe<ResourceName> mangled_name = context_->GetNameMangler()->MangleName(res_name); in MergeExportedSymbols() 1374 res_name = mangled_name.value(); in MergeExportedSymbols() [all …]
|
/frameworks/base/tools/aapt2/tools/consumers/ |
D | duplicates.py | 28 for res_name, entries in tracker.resource_definitions.iteritems():
|
/frameworks/base/libs/androidfw/ |
D | AssetManager2.cpp | 315 ResourceName res_name; in GetOverlayablesToString() local 316 if (!GetResourceName(*it, &res_name)) { in GetOverlayablesToString() 322 const std::string name = ToFormattedResourceString(&res_name); in GetOverlayablesToString()
|