/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/libs/androidfw/tests/ |
D | Idmap_test.cpp | 96 ResTable::resource_name res_name; in TEST_F() local 97 ASSERT_TRUE(target_table_.getResourceName(R::array::integerArray1, false, &res_name)); in TEST_F() 99 ASSERT_TRUE(res_name.package != NULL); in TEST_F() 100 ASSERT_TRUE(res_name.type != NULL); in TEST_F() 101 ASSERT_TRUE(res_name.name != NULL); in TEST_F() 103 EXPECT_EQ(String16("com.android.basic"), String16(res_name.package, res_name.packageLen)); in TEST_F() 104 EXPECT_EQ(String16("array"), String16(res_name.type, res_name.typeLen)); in TEST_F() 105 EXPECT_EQ(String16("integerArray1"), String16(res_name.name, res_name.nameLen)); in TEST_F()
|
/frameworks/base/tools/aapt2/test/ |
D | Common.h | 64 T* GetValueForConfigAndProduct(ResourceTable* table, const android::StringPiece& res_name, in GetValueForConfigAndProduct() argument 67 Maybe<ResourceTable::SearchResult> result = table->FindResource(ParseNameOrDie(res_name)); in GetValueForConfigAndProduct() 79 const android::StringPiece& res_name, 84 T* GetValueForConfig(ResourceTable* table, const android::StringPiece& res_name, in GetValueForConfig() argument 86 return GetValueForConfigAndProduct<T>(table, res_name, config, {}); in GetValueForConfig() 90 T* GetValue(ResourceTable* table, const android::StringPiece& res_name) { in GetValue() argument 91 return GetValueForConfig<T>(table, res_name, {}); in GetValue()
|
D | Common.cpp | 46 const android::StringPiece& res_name, in GetValueForConfigAndProduct() argument 49 Maybe<ResourceTable::SearchResult> result = table->FindResource(ParseNameOrDie(res_name)); in GetValueForConfigAndProduct()
|
D | Builders.h | 112 ResourceName res_name = ParseNameOrDie(name); in AddValue() local 113 CHECK(table_->AddResourceAllowMangled(res_name, id, config, {}, std::move(value), in AddValue() 120 ResourceName res_name = ParseNameOrDie(name); variable 124 CHECK(table_->SetSymbolStateAllowMangled(res_name, id, symbol, GetDiagnostics()));
|
/frameworks/base/tools/aapt2/link/ |
D | TableMerger.cpp | 210 const ResourceNameRef& res_name, in MergeConfigValue() argument 234 << "resource '" << res_name << "' has a conflicting value for " in MergeConfigValue() 270 const ResourceNameRef res_name(src_package->name, src_type->type, src_entry->name); in DoMerge() local 274 << "resource " << res_name in DoMerge() 294 MergeConfigValue(context_, res_name, overlay, dst_config_value, in DoMerge() 318 if (!callback(res_name, src_config_value->config, new_file_ref.get(), f)) { in DoMerge()
|
/frameworks/base/tools/aapt2/process/ |
D | SymbolTable.cpp | 320 android::ResTable::resource_name res_name = {}; in GetResourceName() local 321 if (!table.getResourceName(id.id, true, &res_name)) { in GetResourceName() 324 return ResourceUtils::ToResourceName(res_name); in GetResourceName()
|
/frameworks/base/tools/aapt2/tools/consumers/ |
D | duplicates.py | 28 for res_name, entries in tracker.resource_definitions.iteritems():
|
/frameworks/base/tools/aapt2/cmd/ |
D | Link.cpp | 834 ResourceNameRef res_name(package->name, type->type, entry->name); in VerifyNoExternalPackages() local 841 << "generated id '" << res_name in VerifyNoExternalPackages() 846 << "defined resource '" << res_name in VerifyNoExternalPackages() 878 ResourceNameRef res_name(package->name, type->type, entry->name); in VerifyNoIdsSet() local 880 DiagMessage() << "entry " << res_name << " has ID " in VerifyNoIdsSet() 1177 ResourceNameRef res_name = exported_symbol.name; in MergeCompiledFile() local 1182 res_name = mangled_name.value(); in MergeCompiledFile() 1188 res_name, ConfigDescription::DefaultConfig(), std::string(), std::move(id), in MergeCompiledFile()
|