/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 | 113 ResourceName res_name = ParseNameOrDie(name); in AddValue() local 114 NewResourceBuilder builder(res_name); in AddValue() 128 ResourceName res_name = ParseNameOrDie(name); in SetSymbolState() local 129 NewResourceBuilder builder(res_name); in SetSymbolState() 142 ResourceName res_name = ParseNameOrDie(name); in SetOverlayable() local 144 NewResourceBuilder(res_name).SetOverlayable(overlayable).SetAllowMangled(true).Build(), 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 | 1012 ResourceNameRef res_name(package->name, type->type, entry->name); in VerifyNoExternalPackages() local 1019 << "generated id '" << res_name in VerifyNoExternalPackages() 1024 << "defined resource '" << res_name in VerifyNoExternalPackages() 1049 ResourceNameRef res_name(package->name, type->type, entry->name); in VerifyNoIdsSet() local 1050 context_->GetDiagnostics()->Error(DiagMessage() << "resource " << res_name << " has ID " in VerifyNoIdsSet() 1372 ResourceName res_name = exported_symbol.name; in MergeExportedSymbols() local 1373 if (res_name.package.empty()) { in MergeExportedSymbols() 1374 res_name.package = context_->GetCompilationPackage(); in MergeExportedSymbols() 1377 Maybe<ResourceName> mangled_name = context_->GetNameMangler()->MangleName(res_name); in MergeExportedSymbols() 1379 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/tools/aapt2/format/proto/ |
D | ProtoSerialize_test.cpp | 43 ResourceEntry* GetEntry(ResourceTable* table, const ResourceNameRef& res_name) { in GetEntry() argument 44 auto result = table->FindResource(res_name); in GetEntry() 48 ResourceEntry* GetEntry(ResourceTable* table, const ResourceNameRef& res_name, ResourceId id) { in GetEntry() argument 49 auto result = table->FindResource(res_name, id); in GetEntry()
|
/frameworks/base/libs/androidfw/ |
D | AssetManager2.cpp | 365 auto res_name = GetResourceName(*it); in GetOverlayablesToString() local 366 if (!res_name.has_value()) { in GetOverlayablesToString() 372 const std::string name = ToFormattedResourceString(*res_name); in GetOverlayablesToString()
|