Home
last modified time | relevance | path

Searched refs:SetOverlayable (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/tools/aapt2/
DResourceTable_test.cpp245 TEST(ResourceTableTest, SetOverlayable) { in TEST() argument
256 ASSERT_TRUE(table.SetOverlayable(name, overlayable_item, test::GetDiagnostics())); in TEST()
281 ASSERT_TRUE(table.SetOverlayable(foo, overlayable, test::GetDiagnostics())); in TEST()
286 ASSERT_TRUE(table.SetOverlayable(bar, overlayable2, test::GetDiagnostics())); in TEST()
291 ASSERT_TRUE(table.SetOverlayable(baz, overlayable3, test::GetDiagnostics())); in TEST()
300 ASSERT_TRUE(table.SetOverlayable(foo, overlayable_item, test::GetDiagnostics())); in TEST()
305 ASSERT_TRUE(table.SetOverlayable(bar, overlayable_item2, test::GetDiagnostics())); in TEST()
314 ASSERT_TRUE(table.SetOverlayable(name, overlayable_item, test::GetDiagnostics())); in TEST()
317 ASSERT_FALSE(table.SetOverlayable(name, overlayable_item2, test::GetDiagnostics())); in TEST()
326 ASSERT_TRUE(table.SetOverlayable(name, overlayable_item, test::GetDiagnostics())); in TEST()
[all …]
DResourceTable.h267 bool SetOverlayable(const ResourceNameRef& name, const OverlayableItem& overlayable,
DResourceTable.cpp598 bool ResourceTable::SetOverlayable(const ResourceNameRef& name, const OverlayableItem& overlayable, in SetOverlayable() function in aapt::ResourceTable
DResourceParser.cpp137 if (!table->SetOverlayable(res->name, res->overlayable_item.value(), diag)) { in AddResourcesToTable()
/frameworks/base/tools/aapt2/link/
DTableMerger_test.cpp495 TEST_F(TableMergerTest, SetOverlayable) { in TEST_F() argument
505 .SetOverlayable("bool/foo", overlayable_item) in TEST_F()
547 .SetOverlayable("bool/foo", overlayable_item) in TEST_F()
576 .SetOverlayable("bool/foo", overlayable_item_first) in TEST_F()
586 .SetOverlayable("bool/foo", overlayable_item_second) in TEST_F()
605 .SetOverlayable("bool/foo", overlayable_item_first) in TEST_F()
615 .SetOverlayable("bool/foo", overlayable_item_second) in TEST_F()
634 .SetOverlayable("bool/foo", overlayable_item_first) in TEST_F()
644 .SetOverlayable("bool/foo", overlayable_item_second) in TEST_F()
664 .SetOverlayable("bool/foo", overlayable_item_first) in TEST_F()
[all …]
/frameworks/base/tools/aapt2/format/binary/
DTableFlattener_test.cpp641 .SetOverlayable(name, overlayable_item) in TEST_F()
678 .SetOverlayable(name_zero, overlayable_item_zero) in TEST_F()
680 .SetOverlayable(name_one, overlayable_item_one) in TEST_F()
682 .SetOverlayable(name_two, overlayable_item_two) in TEST_F()
739 .SetOverlayable(name_zero, overlayable_item_zero) in TEST_F()
741 .SetOverlayable(name_one, overlayable_item_one) in TEST_F()
743 .SetOverlayable(name_two, overlayable_item_two) in TEST_F()
745 .SetOverlayable(name_three, overlayable_item_three) in TEST_F()
799 .SetOverlayable(name_zero, overlayable_item_zero) in TEST_F()
DBinaryResourceParser.cpp505 if (!table_->SetOverlayable(iter->second, overlayable_item, diag_)) { in ParseOverlayable()
/frameworks/base/tools/aapt2/format/proto/
DProtoSerialize_test.cpp99 ASSERT_TRUE(table->SetOverlayable(test::ParseNameOrDie("com.app.a:integer/overlayable"), in TEST()
542 .SetOverlayable("com.app.a:bool/foo", overlayable_item_foo) in TEST()
543 .SetOverlayable("com.app.a:bool/bar", overlayable_item_bar) in TEST()
544 .SetOverlayable("com.app.a:bool/baz", overlayable_item_baz) in TEST()
545 .SetOverlayable("com.app.a:bool/boz", overlayable_item_boz) in TEST()
546 .SetOverlayable("com.app.a:bool/biz", overlayable_item_biz) in TEST()
/frameworks/base/tools/aapt2/test/
DBuilders.cpp138 ResourceTableBuilder& ResourceTableBuilder::SetOverlayable(const StringPiece& name, in SetOverlayable() function in aapt::test::ResourceTableBuilder
142 CHECK(table_->SetOverlayable(res_name, overlayable, GetDiagnostics())); in SetOverlayable()
DBuilders.h76 ResourceTableBuilder& SetOverlayable(const android::StringPiece& name,