Searched refs:FindResource (Results 1 – 15 of 15) sorted by relevance
43 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()
78 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()
66 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()
120 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()
827 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 …]
153 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()
280 Maybe<SearchResult> FindResource(const ResourceNameRef& name) const;
364 Maybe<ResourceTable::SearchResult> result = table->FindResource(style_name); in PrintStyleGraph()
628 Maybe<ResourceTable::SearchResult> ResourceTable::FindResource(const ResourceNameRef& name) const { in FindResource() function in aapt::ResourceTable
472 if (!table_->FindResource(stripped_resource)) { in ParseResources()
425 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()
51 Maybe<ResourceTable::SearchResult> result = table->FindResource(ParseNameOrDie(res_name)); in GetValueForConfigAndProduct()
58 Maybe<ResourceTable::SearchResult> result = table->FindResource(ParseNameOrDie(res_name)); in GetValueForConfigAndProduct()
293 Maybe<ResourceTable::SearchResult> target = table->FindResource(target_style); in Dump()
186 Maybe<ResourceTable::SearchResult> result = table_->FindResource(name); in FindByName()