Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/
DResourceTable_test.cpp247 TEST(ResourceTableTest, SetOverlayable) { in TEST() argument
258 ASSERT_TRUE(table.SetOverlayable(name, overlayable_item, test::GetDiagnostics())); in TEST()
283 ASSERT_TRUE(table.SetOverlayable(foo, overlayable, test::GetDiagnostics())); in TEST()
288 ASSERT_TRUE(table.SetOverlayable(bar, overlayable2, test::GetDiagnostics())); in TEST()
293 ASSERT_TRUE(table.SetOverlayable(baz, overlayable3, test::GetDiagnostics())); in TEST()
302 ASSERT_TRUE(table.SetOverlayable(foo, overlayable_item, test::GetDiagnostics())); in TEST()
307 ASSERT_TRUE(table.SetOverlayable(bar, overlayable_item2, test::GetDiagnostics())); in TEST()
316 ASSERT_TRUE(table.SetOverlayable(name, overlayable_item, test::GetDiagnostics())); in TEST()
319 ASSERT_FALSE(table.SetOverlayable(name, overlayable_item2, test::GetDiagnostics())); in TEST()
328 ASSERT_TRUE(table.SetOverlayable(name, overlayable_item, test::GetDiagnostics())); in TEST()
[all …]
DResourceTable.h241 bool SetOverlayable(const ResourceNameRef& name, const OverlayableItem& overlayable,
DResourceTable.cpp596 bool ResourceTable::SetOverlayable(const ResourceNameRef& name, const OverlayableItem& overlayable, in SetOverlayable() function in aapt::ResourceTable
DResourceParser.cpp141 if (!table->SetOverlayable(res->name, res->overlayable_item.value(), diag)) { in AddResourcesToTable()
/frameworks/base/tools/aapt2/link/
DTableMerger_test.cpp488 TEST_F(TableMergerTest, SetOverlayable) { in TEST_F() argument
498 .SetOverlayable("bool/foo", overlayable_item) in TEST_F()
540 .SetOverlayable("bool/foo", overlayable_item) in TEST_F()
569 .SetOverlayable("bool/foo", overlayable_item_first) in TEST_F()
579 .SetOverlayable("bool/foo", overlayable_item_second) in TEST_F()
598 .SetOverlayable("bool/foo", overlayable_item_first) in TEST_F()
608 .SetOverlayable("bool/foo", overlayable_item_second) in TEST_F()
627 .SetOverlayable("bool/foo", overlayable_item_first) in TEST_F()
637 .SetOverlayable("bool/foo", overlayable_item_second) in TEST_F()
657 .SetOverlayable("bool/foo", overlayable_item_first) in TEST_F()
[all …]
/frameworks/base/tools/aapt2/format/binary/
DTableFlattener_test.cpp685 .SetOverlayable(name, overlayable_item) in TEST_F()
722 .SetOverlayable(name_zero, overlayable_item_zero) in TEST_F()
724 .SetOverlayable(name_one, overlayable_item_one) in TEST_F()
726 .SetOverlayable(name_two, overlayable_item_two) in TEST_F()
784 .SetOverlayable(name_zero, overlayable_item_zero) in TEST_F()
786 .SetOverlayable(name_one, overlayable_item_one) in TEST_F()
788 .SetOverlayable(name_two, overlayable_item_two) in TEST_F()
790 .SetOverlayable(name_three, overlayable_item_three) in TEST_F()
845 .SetOverlayable(name_zero, overlayable_item_zero) in TEST_F()
DBinaryResourceParser.cpp476 if (!table_->SetOverlayable(iter->second, overlayable_item, diag_)) { in ParseOverlayable()
/frameworks/base/tools/aapt2/format/proto/
DProtoSerialize_test.cpp101 ASSERT_TRUE(table->SetOverlayable(test::ParseNameOrDie("com.app.a:integer/overlayable"), in TEST()
551 .SetOverlayable("com.app.a:bool/foo", overlayable_item_foo) in TEST()
552 .SetOverlayable("com.app.a:bool/bar", overlayable_item_bar) in TEST()
553 .SetOverlayable("com.app.a:bool/baz", overlayable_item_baz) in TEST()
554 .SetOverlayable("com.app.a:bool/boz", overlayable_item_boz) in TEST()
555 .SetOverlayable("com.app.a:bool/biz", overlayable_item_biz) in TEST()
556 .SetOverlayable("com.app.a:bool/actor_config", overlayable_item_actor_config) 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,