Home
last modified time | relevance | path

Searched refs:AddResource (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/tools/aapt2/link/
DProductFilter_test.cpp32 ASSERT_TRUE(table.AddResource( in TEST()
36 ASSERT_TRUE(table.AddResource( in TEST()
41 ASSERT_TRUE(table.AddResource( in TEST()
45 ASSERT_TRUE(table.AddResource( in TEST()
67 ASSERT_TRUE(table.AddResource( in TEST()
72 ASSERT_TRUE(table.AddResource( in TEST()
93 ASSERT_TRUE(table.AddResource( in TEST()
98 ASSERT_TRUE(table.AddResource( in TEST()
103 ASSERT_TRUE(table.AddResource( in TEST()
117 ASSERT_TRUE(table.AddResource( in TEST()
[all …]
/frameworks/base/tools/aapt2/
DResourceTable_test.cpp38 EXPECT_FALSE(table.AddResource( in TEST()
43 EXPECT_FALSE(table.AddResource( in TEST()
60 EXPECT_TRUE(table.AddResource( in TEST()
75 EXPECT_TRUE(table.AddResource( in TEST()
80 EXPECT_TRUE(table.AddResource( in TEST()
85 EXPECT_TRUE(table.AddResource( in TEST()
90 EXPECT_TRUE(table.AddResource( in TEST()
106 ASSERT_TRUE(table.AddResource(test::ParseNameOrDie("android:attr/foo"), ConfigDescription{}, "", in TEST()
114 ASSERT_TRUE(table.AddResource(test::ParseNameOrDie("android:attr/foo"), ConfigDescription{}, "", in TEST()
131 ASSERT_TRUE(table.AddResource(name, ConfigDescription{}, "", in TEST()
[all …]
DResourceTable.h239 bool AddResource(const ResourceNameRef& name, const android::ConfigDescription& config,
DResourceTable.cpp344 bool ResourceTable::AddResource(const ResourceNameRef& name, in AddResource() function in aapt::ResourceTable
DResourceParser.cpp749 table_->AddResource(name, {}, {}, std::move(id), diag_); in ParseXml()
/frameworks/base/tools/aapt2/split/
DTableSplitter_test.cpp196 ASSERT_TRUE(table.AddResource(foo, test::ParseConfigOrDie("land-hdpi"), {}, in TEST()
199 ASSERT_TRUE(table.AddResource(foo, test::ParseConfigOrDie("land-xhdpi"), {}, in TEST()
202 ASSERT_TRUE(table.AddResource(foo, test::ParseConfigOrDie("land-xxhdpi"), {}, in TEST()
/frameworks/base/tools/aapt2/format/proto/
DProtoSerialize_test.cpp65 ASSERT_TRUE(table->AddResource(test::ParseNameOrDie("com.app.a:plurals/hey"), ConfigDescription{}, in TEST()
73 table->AddResource(test::ParseNameOrDie("com.app.a:string/styled"), ConfigDescription{}, {}, in TEST()
78 ASSERT_TRUE(table->AddResource( in TEST()
81 ASSERT_TRUE(table->AddResource( in TEST()
91 ASSERT_TRUE(table->AddResource( in TEST()
/frameworks/base/tools/aapt2/compile/
DPseudolocaleGenerator_test.cpp255 ASSERT_TRUE(table->AddResource(test::ParseNameOrDie("android:string/foo"), ConfigDescription{}, in TEST()
258 ASSERT_TRUE(table->AddResource(test::ParseNameOrDie("android:string/bar"), ConfigDescription{}, in TEST()