Searched refs:AddResource (Results 1 – 13 of 13) sorted by relevance
/frameworks/base/tools/aapt2/ |
D | ResourceTable_test.cpp | 42 table.AddResource(NewResourceBuilder(test::ParseNameOrDie("android:id/hey,there")).Build(), in TEST() 46 table.AddResource(NewResourceBuilder(test::ParseNameOrDie("android:id/hey:there")).Build(), in TEST() 54 table.AddResource(NewResourceBuilder(test::ParseNameOrDie("android:id/heythere ")) in TEST() 63 EXPECT_TRUE(table.AddResource( in TEST() 78 EXPECT_TRUE(table.AddResource( in TEST() 84 EXPECT_TRUE(table.AddResource( in TEST() 90 EXPECT_TRUE(table.AddResource( in TEST() 97 table.AddResource(NewResourceBuilder(test::ParseNameOrDie("android:string/ok")) in TEST() 113 ASSERT_TRUE(table.AddResource(NewResourceBuilder(test::ParseNameOrDie("android:attr/foo")) in TEST() 122 ASSERT_TRUE(table.AddResource(NewResourceBuilder(test::ParseNameOrDie("android:attr/foo")) in TEST() [all …]
|
D | ResourceTable.h | 304 bool AddResource(NewResource&& res, android::IDiagnostics* diag);
|
D | ResourceTable.cpp | 467 bool ResourceTable::AddResource(NewResource&& res, android::IDiagnostics* diag) { in AddResource() function in aapt::ResourceTable
|
D | ResourceParser.cpp | 166 if (!table->AddResource(res_builder.Build(), diag)) { in AddResourcesToTable() 798 return table.AddResource(NewResourceBuilder(name).SetValue(std::move(id)).Build(), &diag); in ParseXml()
|
/frameworks/base/tools/aapt2/process/ |
D | ProductFilter_test.cpp | 32 ASSERT_TRUE(table.AddResource( in TEST() 39 ASSERT_TRUE(table.AddResource( in TEST() 46 ASSERT_TRUE(table.AddResource( in TEST() 53 ASSERT_TRUE(table.AddResource( in TEST() 75 ASSERT_TRUE(table.AddResource( in TEST() 81 ASSERT_TRUE(table.AddResource( in TEST() 104 ASSERT_TRUE(table.AddResource( in TEST() 110 ASSERT_TRUE(table.AddResource( in TEST() 117 ASSERT_TRUE(table.AddResource( in TEST() 132 ASSERT_TRUE(table.AddResource( in TEST() [all …]
|
/frameworks/base/tools/aapt2/compile/ |
D | IdAssigner_test.cpp | 168 table.AddResource(NewResourceBuilder("android:attr/res" + std::to_string(i)).Build(), in TEST_F() 180 table.AddResource(NewResourceBuilder("android:attr/res" + std::to_string(i)).Build(), in TEST_F() 189 ASSERT_TRUE(table.AddResource(NewResourceBuilder("android:attr/res").SetId(0x0101ffff).Build(), in TEST_F() 194 table.AddResource(NewResourceBuilder("android:attr/res" + std::to_string(i)).Build(), in TEST_F()
|
D | PseudolocaleGenerator_test.cpp | 244 ASSERT_TRUE(table->AddResource(NewResourceBuilder(test::ParseNameOrDie("com.pkg:plurals/foo")) in TEST() 280 ASSERT_TRUE(table->AddResource(NewResourceBuilder(test::ParseNameOrDie("android:string/foo")) in TEST() 284 ASSERT_TRUE(table->AddResource(NewResourceBuilder(test::ParseNameOrDie("android:string/bar")) in TEST() 349 ASSERT_TRUE(table->AddResource(NewResourceBuilder(test::ParseNameOrDie("com.pkg:plurals/foo")) in TEST() 408 ASSERT_TRUE(table->AddResource(NewResourceBuilder(test::ParseNameOrDie("android:string/foo")) in TEST()
|
/frameworks/base/tools/aapt2/split/ |
D | TableSplitter_test.cpp | 197 table.AddResource(NewResourceBuilder(foo) in TEST() 203 table.AddResource(NewResourceBuilder(foo) in TEST() 208 ASSERT_TRUE(table.AddResource( in TEST()
|
/frameworks/base/tools/aapt2/test/ |
D | Builders.cpp | 112 CHECK(table_->AddResource(builder.Build(), GetDiagnostics())); in AddValue() 126 CHECK(table_->AddResource(builder.Build(), GetDiagnostics())); in SetSymbolState() 133 CHECK(table_->AddResource( in SetOverlayable() 140 CHECK(table_->AddResource(std::move(res), GetDiagnostics())); in Add()
|
/frameworks/base/tools/aapt2/format/proto/ |
D | ProtoSerialize_test.cpp | 112 ASSERT_TRUE(table->AddResource(NewResourceBuilder(test::ParseNameOrDie("com.app.a:layout/main")) in TEST() 124 ASSERT_TRUE(table->AddResource(NewResourceBuilder(test::ParseNameOrDie("com.app.a:plurals/hey")) in TEST() 133 ASSERT_TRUE(table->AddResource( in TEST() 141 table->AddResource(NewResourceBuilder(test::ParseNameOrDie("com.app.a:integer/one")) in TEST() 148 table->AddResource(NewResourceBuilder(test::ParseNameOrDie("com.app.a:integer/one")) in TEST() 160 ASSERT_TRUE(table->AddResource(NewResourceBuilder(test::ParseNameOrDie("com.app.a:layout/abc")) in TEST() 170 table->AddResource(NewResourceBuilder(test::ParseNameOrDie("com.app.a:integer/overlayable")) in TEST()
|
/frameworks/base/tools/aapt2/format/binary/ |
D | BinaryResourceParser.cpp | 439 if (!table_->AddResource(res_builder.Build(), diag_)) { in ParseType() 502 if (!table_->AddResource(NewResourceBuilder(iter->second) in ParseOverlayable() 543 if (!table_->AddResource(NewResourceBuilder(resource_name) in ParseStagedAliases()
|
D | TableFlattener_test.cpp | 310 CHECK(table->AddResource(NewResourceBuilder(name) in BuildTableWithSparseEntries() 318 CHECK(table->AddResource( in BuildTableWithSparseEntries()
|
/frameworks/base/tools/aapt2/cmd/ |
D | Link.cpp | 664 bool result = table->AddResource(NewResourceBuilder(file.name) in Flatten() 1508 bool result = final_table_.AddResource( in MergeExportedSymbols()
|