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()
80 EXPECT_TRUE(final_table.FindResource(test::ParseNameOrDie("com.app.a:id/foo"))); in TEST_F()81 EXPECT_TRUE(final_table.FindResource(test::ParseNameOrDie("com.app.a:id/bar"))); in TEST_F()82 EXPECT_TRUE(final_table.FindResource(test::ParseNameOrDie("com.app.a:styleable/view"))); in TEST_F()85 EXPECT_FALSE(final_table.FindResource(test::ParseNameOrDie("com.app.b:id/foo"))); in TEST_F()88 EXPECT_TRUE(final_table.FindResource(test::ParseNameOrDie("com.app.a:id/com.app.b$foo"))); in TEST_F()515 Maybe<ResourceTable::SearchResult> search_result = final_table.FindResource(name); in TEST_F()551 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()
122 new_table.FindResource(test::ParseNameOrDie("com.app.a:layout/main")); in TEST()128 result = new_table.FindResource(test::ParseNameOrDie("com.app.a:bool/foo")); in TEST()167 new_table.FindResource(test::ParseNameOrDie("com.app.a:integer/overlayable")); in TEST()570 new_table.FindResource(test::ParseNameOrDie("com.app.a:bool/foo")); in TEST()579 search_result = new_table.FindResource(test::ParseNameOrDie("com.app.a:bool/bar")); in TEST()588 search_result = new_table.FindResource(test::ParseNameOrDie("com.app.a:bool/baz")); in TEST()596 search_result = new_table.FindResource(test::ParseNameOrDie("com.app.a:bool/boz")); in TEST()606 search_result = new_table.FindResource(test::ParseNameOrDie("com.app.a:bool/actor_config")); in TEST()615 search_result = new_table.FindResource(test::ParseNameOrDie("com.app.a:bool/biz")); in TEST()623 search_result = new_table.FindResource(test::ParseNameOrDie("com.app.a:bool/fiz")); in TEST()
832 Maybe<ResourceTable::SearchResult> result = table_.FindResource(test::ParseNameOrDie("attr/foo")); in TEST_F()843 result = table_.FindResource(test::ParseNameOrDie("attr/bar")); in TEST_F()866 table_.FindResource(test::ParseNameOrDie("string/foo")); in TEST_F()884 table_.FindResource(test::ParseNameOrDie("string/bar")); in TEST_F()966 search_result = table_.FindResource(test::ParseNameOrDie("drawable/bar")); in TEST_F()1016 auto search_result = table_.FindResource(test::ParseNameOrDie("string/bar")); in TEST_F()1024 search_result = table_.FindResource(test::ParseNameOrDie("string/fiz")); in TEST_F()1032 search_result = table_.FindResource(test::ParseNameOrDie("string/fuz")); in TEST_F()1040 search_result = table_.FindResource(test::ParseNameOrDie("string/faz")); in TEST_F()1048 search_result = table_.FindResource(test::ParseNameOrDie("string/foz")); in TEST_F()[all …]
155 table.FindResource(test::ParseNameOrDie("android:string/foo")); in TEST()179 Maybe<ResourceTable::SearchResult> result = table.FindResource(name); in VisibilityOfResource()234 result = table.FindResource(name); in TEST()241 result = table.FindResource(name); in TEST()259 Maybe<ResourceTable::SearchResult> search_result = table.FindResource(name); in TEST()
254 Maybe<SearchResult> FindResource(const ResourceNameRef& name) const;
372 Maybe<ResourceTable::SearchResult> result = table->FindResource(style_name); in PrintStyleGraph()
626 Maybe<ResourceTable::SearchResult> ResourceTable::FindResource(const ResourceNameRef& name) const { in FindResource() function in aapt::ResourceTable
475 if (!table_->FindResource(stripped_resource)) { in ParseResources()
427 result.FindResource(test::ParseNameOrDie("lib:id/foo")); in TEST_F()459 result.FindResource(test::ParseNameOrDie("lib:style/Theme")); in TEST_F()691 auto search_result = output_table.FindResource(test::ParseNameOrDie(name)); in TEST_F()732 auto search_result = output_table.FindResource(test::ParseNameOrDie(name_zero)); in TEST_F()740 search_result = output_table.FindResource(test::ParseNameOrDie(name_one)); in TEST_F()747 search_result = output_table.FindResource(test::ParseNameOrDie(name_two)); in TEST_F()795 auto search_result = output_table.FindResource(test::ParseNameOrDie(name_zero)); in TEST_F()805 search_result = output_table.FindResource(test::ParseNameOrDie(name_one)); in TEST_F()814 search_result = output_table.FindResource(test::ParseNameOrDie(name_two)); in TEST_F()825 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()
299 Maybe<ResourceTable::SearchResult> target = table->FindResource(target_style); in Dump()
186 Maybe<ResourceTable::SearchResult> result = table_->FindResource(name); in FindByName()