Home
last modified time | relevance | path

Searched refs:FindResource (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/tools/aapt2/link/
DNoDefaultResourceRemover_test.cpp43 EXPECT_TRUE(table->FindResource(test::ParseNameOrDie("android:string/foo"))); in TEST()
44 EXPECT_FALSE(table->FindResource(test::ParseNameOrDie("android:string/bar"))); in TEST()
45 EXPECT_TRUE(table->FindResource(test::ParseNameOrDie("android:string/bat"))); in TEST()
46 EXPECT_TRUE(table->FindResource(test::ParseNameOrDie("android:string/baz"))); in TEST()
68 EXPECT_TRUE(table->FindResource(test::ParseNameOrDie("android:drawable/keep1"))); in TEST()
69 EXPECT_TRUE(table->FindResource(test::ParseNameOrDie("android:drawable/keep2"))); in TEST()
70 EXPECT_FALSE(table->FindResource(test::ParseNameOrDie("android:drawable/remove1"))); in TEST()
86 EXPECT_FALSE(table->FindResource(test::ParseNameOrDie("android:drawable/remove1"))); in TEST()
105 EXPECT_TRUE(table->FindResource(test::ParseNameOrDie("android:drawable/keep1"))); in TEST()
106 EXPECT_FALSE(table->FindResource(test::ParseNameOrDie("android:drawable/remove1"))); in TEST()
DTableMerger_test.cpp78 EXPECT_TRUE(final_table.FindResource(test::ParseNameOrDie("com.app.a:id/foo"))); in TEST_F()
79 EXPECT_TRUE(final_table.FindResource(test::ParseNameOrDie("com.app.a:id/bar"))); in TEST_F()
80 EXPECT_TRUE(final_table.FindResource(test::ParseNameOrDie("com.app.a:styleable/view"))); in TEST_F()
83 EXPECT_FALSE(final_table.FindResource(test::ParseNameOrDie("com.app.b:id/foo"))); in TEST_F()
86 EXPECT_TRUE(final_table.FindResource(test::ParseNameOrDie("com.app.a:id/com.app.b$foo"))); in TEST_F()
522 Maybe<ResourceTable::SearchResult> search_result = final_table.FindResource(name); in TEST_F()
558 Maybe<ResourceTable::SearchResult> search_result = final_table.FindResource(name); in TEST_F()
/frameworks/base/tools/aapt2/compile/
DIdAssigner_test.cpp66 maybe_result = table->FindResource(test::ParseNameOrDie("android:dimen/two")); in TEST()
71 table->FindResource(test::ParseNameOrDie("android:integer/three")); in TEST()
79 table->FindResource(test::ParseNameOrDie("android:string/five")); in TEST()
85 maybe_result = table->FindResource(test::ParseNameOrDie("android:attr/bar")); in TEST()
89 maybe_result = table->FindResource(test::ParseNameOrDie("android:attr/baz")); in TEST()
123 table->FindResource(test::ParseNameOrDie("android:attr/foo")); in TEST()
/frameworks/base/tools/aapt2/format/proto/
DProtoSerialize_test.cpp120 new_table.FindResource(test::ParseNameOrDie("com.app.a:layout/main")); in TEST()
126 result = new_table.FindResource(test::ParseNameOrDie("com.app.a:bool/foo")); in TEST()
163 new_table.FindResource(test::ParseNameOrDie("com.app.a:integer/overlayable")); in TEST()
560 new_table.FindResource(test::ParseNameOrDie("com.app.a:bool/foo")); in TEST()
569 search_result = new_table.FindResource(test::ParseNameOrDie("com.app.a:bool/bar")); in TEST()
578 search_result = new_table.FindResource(test::ParseNameOrDie("com.app.a:bool/baz")); in TEST()
586 search_result = new_table.FindResource(test::ParseNameOrDie("com.app.a:bool/boz")); in TEST()
596 search_result = new_table.FindResource(test::ParseNameOrDie("com.app.a:bool/biz")); in TEST()
604 search_result = new_table.FindResource(test::ParseNameOrDie("com.app.a:bool/fiz")); in TEST()
/frameworks/base/tools/aapt2/
DResourceParser_test.cpp827 Maybe<ResourceTable::SearchResult> result = table_.FindResource(test::ParseNameOrDie("attr/foo")); in TEST_F()
838 result = table_.FindResource(test::ParseNameOrDie("attr/bar")); in TEST_F()
861 table_.FindResource(test::ParseNameOrDie("string/foo")); in TEST_F()
879 table_.FindResource(test::ParseNameOrDie("string/bar")); in TEST_F()
961 search_result = table_.FindResource(test::ParseNameOrDie("drawable/bar")); in TEST_F()
1008 auto search_result = table_.FindResource(test::ParseNameOrDie("string/bar")); in TEST_F()
1016 search_result = table_.FindResource(test::ParseNameOrDie("string/fiz")); in TEST_F()
1024 search_result = table_.FindResource(test::ParseNameOrDie("string/fuz")); in TEST_F()
1032 search_result = table_.FindResource(test::ParseNameOrDie("string/faz")); in TEST_F()
1040 search_result = table_.FindResource(test::ParseNameOrDie("string/foz")); in TEST_F()
[all …]
DResourceTable_test.cpp153 table.FindResource(test::ParseNameOrDie("android:string/foo")); in TEST()
177 Maybe<ResourceTable::SearchResult> result = table.FindResource(name); in VisibilityOfResource()
232 result = table.FindResource(name); in TEST()
239 result = table.FindResource(name); in TEST()
257 Maybe<ResourceTable::SearchResult> search_result = table.FindResource(name); in TEST()
DResourceTable.h280 Maybe<SearchResult> FindResource(const ResourceNameRef& name) const;
DDebug.cpp364 Maybe<ResourceTable::SearchResult> result = table->FindResource(style_name); in PrintStyleGraph()
DResourceTable.cpp628 Maybe<ResourceTable::SearchResult> ResourceTable::FindResource(const ResourceNameRef& name) const { in FindResource() function in aapt::ResourceTable
DResourceParser.cpp472 if (!table_->FindResource(stripped_resource)) { in ParseResources()
/frameworks/base/tools/aapt2/format/binary/
DTableFlattener_test.cpp425 result.FindResource(test::ParseNameOrDie("lib:id/foo")); in TEST_F()
647 auto search_result = output_table.FindResource(test::ParseNameOrDie(name)); in TEST_F()
688 auto search_result = output_table.FindResource(test::ParseNameOrDie(name_zero)); in TEST_F()
696 search_result = output_table.FindResource(test::ParseNameOrDie(name_one)); in TEST_F()
703 search_result = output_table.FindResource(test::ParseNameOrDie(name_two)); in TEST_F()
750 auto search_result = output_table.FindResource(test::ParseNameOrDie(name_zero)); in TEST_F()
760 search_result = output_table.FindResource(test::ParseNameOrDie(name_one)); in TEST_F()
769 search_result = output_table.FindResource(test::ParseNameOrDie(name_two)); in TEST_F()
780 search_result = output_table.FindResource(test::ParseNameOrDie(name_three)); in TEST_F()
/frameworks/base/tools/aapt2/test/
DCommon.cpp51 Maybe<ResourceTable::SearchResult> result = table->FindResource(ParseNameOrDie(res_name)); in GetValueForConfigAndProduct()
DCommon.h58 Maybe<ResourceTable::SearchResult> result = table->FindResource(ParseNameOrDie(res_name)); in GetValueForConfigAndProduct()
/frameworks/base/tools/aapt2/cmd/
DDump.cpp293 Maybe<ResourceTable::SearchResult> target = table->FindResource(target_style); in Dump()
/frameworks/base/tools/aapt2/process/
DSymbolTable.cpp186 Maybe<ResourceTable::SearchResult> result = table_->FindResource(name); in FindByName()