Home
last modified time | relevance | path

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

/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/link/
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()
/frameworks/base/tools/aapt2/test/
DCommon.cpp49 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/proto/
DTableProtoSerializer_test.cpp101 new_table->FindResource(test::ParseNameOrDie("com.app.a:layout/main")); in TEST()
107 result = new_table->FindResource(test::ParseNameOrDie("com.app.a:bool/foo")); in TEST()
/frameworks/base/tools/aapt2/
DResourceTable_test.cpp135 table.FindResource(test::ParseNameOrDie("android:string/foo")); in TEST()
DResourceTable.h239 Maybe<SearchResult> FindResource(const ResourceNameRef& name);
DResourceParser_test.cpp698 Maybe<ResourceTable::SearchResult> result = table_.FindResource(test::ParseNameOrDie("attr/foo")); in TEST_F()
709 result = table_.FindResource(test::ParseNameOrDie("attr/bar")); in TEST_F()
730 table_.FindResource(test::ParseNameOrDie("string/bar")); in TEST_F()
DDebug.cpp211 Maybe<ResourceTable::SearchResult> result = table->FindResource(style_name); in PrintStyleGraph()
DResourceTable.cpp531 Maybe<ResourceTable::SearchResult> ResourceTable::FindResource(const ResourceNameRef& name) { in FindResource() function in aapt::ResourceTable
DResourceParser.cpp347 if (!table_->FindResource(stripped_resource)) { in ParseResources()
/frameworks/base/tools/aapt2/process/
DSymbolTable.cpp180 Maybe<ResourceTable::SearchResult> result = table_->FindResource(name); in FindByName()
/frameworks/base/tools/aapt2/flatten/
DTableFlattener_test.cpp374 result.FindResource(test::ParseNameOrDie("lib:id/foo")); in TEST_F()