Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/process/
DSymbolTable_test.cpp41 EXPECT_THAT(symbol_source.FindByName(test::ParseNameOrDie("android:id/foo")), NotNull()); in TEST()
42 EXPECT_THAT(symbol_source.FindByName(test::ParseNameOrDie("android:id/bar")), NotNull()); in TEST()
45 symbol_source.FindByName(test::ParseNameOrDie("android:attr/foo")); in TEST()
59 symbol_source.FindByName(test::ParseNameOrDie("android:attr/foo")); in TEST()
64 TEST(SymbolTableTest, FindByName) { in TEST() argument
75 EXPECT_THAT(symbol_table.FindByName(test::ParseNameOrDie("id/foo")), NotNull()); in TEST()
76 EXPECT_THAT(symbol_table.FindByName(test::ParseNameOrDie("com.android.lib:id/foo")), NotNull()); in TEST()
129 EXPECT_THAT(symbol_table.FindByName(test::ParseNameOrDie("com.android.lib:id/foo")), NotNull()); in TEST_F()
130 EXPECT_THAT(symbol_table.FindByName(test::ParseNameOrDie("com.android.app:id/bar")), NotNull()); in TEST_F()
132 EXPECT_THAT(symbol_table.FindByName(test::ParseNameOrDie("com.android.app:id/foo")), IsNull()); in TEST_F()
[all …]
DSymbolTable.h91 const Symbol* FindByName(const ResourceName& name);
124 virtual std::unique_ptr<SymbolTable::Symbol> FindByName(
139 virtual std::unique_ptr<SymbolTable::Symbol> FindByName(
155 virtual std::unique_ptr<SymbolTable::Symbol> FindByName(
163 return FindByName(ref.name.value()); in FindByReference()
178 std::unique_ptr<SymbolTable::Symbol> FindByName(
199 std::unique_ptr<SymbolTable::Symbol> FindByName(
DSymbolTable.cpp73 const SymbolTable::Symbol* SymbolTable::FindByName(const ResourceName& name) { in FindByName() function in aapt::SymbolTable
99 std::unique_ptr<Symbol> symbol = delegate_->FindByName(*mangled_name, sources_); in FindByName()
157 symbol = FindByName(ref.name.value()); in FindByReference()
162 std::unique_ptr<SymbolTable::Symbol> DefaultSymbolTableDelegate::FindByName( in FindByName() function in aapt::DefaultSymbolTableDelegate
165 std::unique_ptr<SymbolTable::Symbol> symbol = source->FindByName(name); in FindByName()
184 std::unique_ptr<SymbolTable::Symbol> ResourceTableSymbolSource::FindByName( in FindByName() function in aapt::ResourceTableSymbolSource
190 return FindByName(ResourceName(name.package, ResourceType::kAttrPrivate, name.entry)); in FindByName()
326 std::unique_ptr<SymbolTable::Symbol> AssetManagerSymbolSource::FindByName( in FindByName() function in aapt::AssetManagerSymbolSource
439 return FindByName(ref.name.value()); in FindByReference()
/frameworks/base/tools/aapt2/link/
DReferenceLinker.cpp261 const SymbolTable::Symbol* symbol = symbols->FindByName( in ResolveSymbol()
275 symbol = symbols->FindByName(ResourceName(split_package, name.type, name.entry)); in ResolveSymbol()
283 return symbols->FindByName(name); in ResolveSymbol()
/frameworks/base/tools/aapt2/test/
DContext.h181 std::unique_ptr<SymbolTable::Symbol> FindByName(const ResourceName& name) override { in FindByName() function
/frameworks/base/tools/aapt2/cmd/
DLink.cpp200 virtual std::unique_ptr<SymbolTable::Symbol> FindByName( in FindByName() function in aapt::FeatureSplitSymbolTableDelegate
204 DefaultSymbolTableDelegate::FindByName(name, sources); in FindByName()
899 std::unique_ptr<SymbolTable::Symbol> symbol = asset_source->FindByName( in LoadSymbolsFromIncludePaths()