Home
last modified time | relevance | path

Searched refs:FindByName (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/tools/aapt2/process/
DSymbolTable_test.cpp33 EXPECT_NE(nullptr, symbol_source.FindByName(test::ParseNameOrDie("android:id/foo"))); in TEST()
34 EXPECT_NE(nullptr, symbol_source.FindByName(test::ParseNameOrDie("android:id/bar"))); in TEST()
37 symbol_source.FindByName(test::ParseNameOrDie("android:attr/foo")); in TEST()
51 symbol_source.FindByName(test::ParseNameOrDie("android:attr/foo")); in TEST()
56 TEST(SymbolTableTest, FindByName) { in TEST() argument
67 EXPECT_NE(nullptr, symbol_table.FindByName(test::ParseNameOrDie("id/foo"))); in TEST()
68 EXPECT_NE(nullptr, symbol_table.FindByName(test::ParseNameOrDie("com.android.lib:id/foo"))); in TEST()
DSymbolTable.h89 const Symbol* FindByName(const ResourceName& name);
122 virtual std::unique_ptr<SymbolTable::Symbol> FindByName(
137 virtual std::unique_ptr<SymbolTable::Symbol> FindByName(
153 virtual std::unique_ptr<SymbolTable::Symbol> FindByName(
161 return FindByName(ref.name.value()); in FindByReference()
176 std::unique_ptr<SymbolTable::Symbol> FindByName(
196 std::unique_ptr<SymbolTable::Symbol> FindByName(
DSymbolTable.cpp67 const SymbolTable::Symbol* SymbolTable::FindByName(const ResourceName& name) { in FindByName() function in aapt::SymbolTable
93 std::unique_ptr<Symbol> symbol = delegate_->FindByName(*mangled_name, sources_); in FindByName()
151 symbol = FindByName(ref.name.value()); in FindByReference()
156 std::unique_ptr<SymbolTable::Symbol> DefaultSymbolTableDelegate::FindByName( in FindByName() function in aapt::DefaultSymbolTableDelegate
159 std::unique_ptr<SymbolTable::Symbol> symbol = source->FindByName(name); in FindByName()
178 std::unique_ptr<SymbolTable::Symbol> ResourceTableSymbolSource::FindByName( in FindByName() function in aapt::ResourceTableSymbolSource
184 return FindByName(ResourceName(name.package, ResourceType::kAttrPrivate, name.entry)); in FindByName()
287 std::unique_ptr<SymbolTable::Symbol> AssetManagerSymbolSource::FindByName( in FindByName() function in aapt::AssetManagerSymbolSource
364 return FindByName(ref.name.value()); in FindByReference()
/frameworks/base/tools/aapt2/test/
DContext.h167 std::unique_ptr<SymbolTable::Symbol> FindByName(const ResourceName& name) override { in FindByName() function
/frameworks/base/tools/aapt2/link/
DReferenceLinker.cpp222 return symbols->FindByName(reference.name.value()); in ResolveSymbol()
/frameworks/base/tools/aapt2/cmd/
DLink.cpp210 virtual std::unique_ptr<SymbolTable::Symbol> FindByName( in FindByName() function in aapt::FeatureSplitSymbolTableDelegate
214 DefaultSymbolTableDelegate::FindByName(name, sources); in FindByName()