Home
last modified time | relevance | path

Searched refs:NameMangler (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/tools/aapt2/
DNameMangler_test.cpp29 std::string mangled_name = NameMangler::MangleEntry(package, name); in TEST()
34 ASSERT_TRUE(NameMangler::Unmangle(&unmangled_name, &unmangled_package)); in TEST()
43 EXPECT_FALSE(NameMangler::Unmangle(&name, &package)); in TEST()
DNameMangler.h43 class NameMangler {
45 explicit NameMangler(NameManglerPolicy policy) : policy_(policy) {} in NameMangler() function
DResourceUtils.h226 const NameMangler* mangler = nullptr);
DResourceUtils.cpp719 std::string BuildResourceFileName(const ResourceFile& res_file, const NameMangler* mangler) { in BuildResourceFileName()
728 out << NameMangler::MangleEntry(res_file.name.package, res_file.name.entry); in BuildResourceFileName()
/frameworks/base/tools/aapt2/test/
DContext.h68 NameMangler* GetNameMangler() override { in GetNameMangler()
73 name_mangler_ = NameMangler(policy); in SetNameManglerPolicy()
93 NameMangler name_mangler_;
116 context_->name_mangler_ = NameMangler(policy); in SetNameManglerPolicy()
/frameworks/base/tools/aapt2/process/
DSymbolTable_test.cpp68 .AddSimple("com.android.app:id/" + NameMangler::MangleEntry("com.android.lib", "foo")) in TEST()
71 NameMangler mangler(NameManglerPolicy{"com.android.app", {"com.android.lib"}}); in TEST()
125 NameMangler name_mangler(NameManglerPolicy{"com.android.app"}); in TEST_F()
DSymbolTable.h52 class NameMangler; variable
75 explicit SymbolTable(NameMangler* mangler);
104 NameMangler* mangler_;
DIResourceTableConsumer.h50 virtual NameMangler* GetNameMangler() = 0;
DSymbolTable.cpp43 SymbolTable::SymbolTable(NameMangler* mangler) in SymbolTable()
325 const std::string mangled_entry = NameMangler::MangleEntry(name.package, name.entry); in FindByName()
/frameworks/base/tools/aapt2/link/
DReferenceLinker_test.cpp261 NameMangler mangler(NameManglerPolicy{"com.app.test"}); in TEST()
276 NameMangler mangler(NameManglerPolicy{"com.app.ext"}); in TEST()
299 NameMangler mangler(NameManglerPolicy{"com.app.test"}); in TEST()
DTableMerger.cpp238 entry_name = NameMangler::MangleEntry(src_package->name, src_entry->name); in DoMerge()
319 std::string mangled_entry = NameMangler::MangleEntry(package, entry.to_string()); in CloneAndMangleFile()
DXmlReferenceLinker.cpp159 NameMangler::Unmangle(&out_name, &callsite.package); in Consume()
DReferenceLinker.cpp368 NameMangler::Unmangle(&name.entry, &name.package); in Consume()
/frameworks/base/tools/aapt2/cmd/
DConvert.cpp233 NameMangler* GetNameMangler() override { in GetNameMangler()
252 NameMangler mangler_;
DDiff.cpp52 NameMangler* GetNameMangler() override { in GetNameMangler()
71 NameMangler name_mangler_;
DDump.cpp90 NameMangler* GetNameMangler() override { in GetNameMangler()
DOptimize.cpp76 NameMangler* GetNameMangler() override { in GetNameMangler()
DLink.cpp99 NameMangler* GetNameMangler() override { in GetNameMangler()
104 name_mangler_ = NameMangler(policy); in SetNameManglerPolicy()
148 NameMangler name_mangler_;
DCompile.cpp610 NameMangler* GetNameMangler() override { in GetNameMangler()
/frameworks/base/tools/aapt2/compile/
DInlineXmlFormatParser.cpp133 new_doc->file.name.entry = NameMangler::MangleEntry( in Consume()
/frameworks/base/tools/aapt2/optimize/
DMultiApkGenerator.cpp83 NameMangler* GetNameMangler() override { in GetNameMangler()
/frameworks/base/tools/aapt2/java/
DJavaClassGenerator.cpp505 if (NameMangler::Unmangle(&unmangled_name, &unmangled_package)) { in UnmangleResource()