Searched refs:NameMangler (Results 1 – 22 of 22) sorted by relevance
/frameworks/base/tools/aapt2/ |
D | NameMangler_test.cpp | 29 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()
|
D | NameMangler.h | 43 class NameMangler { 45 explicit NameMangler(NameManglerPolicy policy) : policy_(policy) {} in NameMangler() function
|
D | ResourceUtils.h | 226 const NameMangler* mangler = nullptr);
|
D | ResourceUtils.cpp | 719 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/ |
D | Context.h | 68 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/ |
D | SymbolTable_test.cpp | 68 .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()
|
D | SymbolTable.h | 52 class NameMangler; variable 75 explicit SymbolTable(NameMangler* mangler); 104 NameMangler* mangler_;
|
D | IResourceTableConsumer.h | 50 virtual NameMangler* GetNameMangler() = 0;
|
D | SymbolTable.cpp | 43 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/ |
D | ReferenceLinker_test.cpp | 261 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()
|
D | TableMerger.cpp | 238 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()
|
D | XmlReferenceLinker.cpp | 159 NameMangler::Unmangle(&out_name, &callsite.package); in Consume()
|
D | ReferenceLinker.cpp | 368 NameMangler::Unmangle(&name.entry, &name.package); in Consume()
|
/frameworks/base/tools/aapt2/cmd/ |
D | Convert.cpp | 233 NameMangler* GetNameMangler() override { in GetNameMangler() 252 NameMangler mangler_;
|
D | Diff.cpp | 52 NameMangler* GetNameMangler() override { in GetNameMangler() 71 NameMangler name_mangler_;
|
D | Dump.cpp | 90 NameMangler* GetNameMangler() override { in GetNameMangler()
|
D | Optimize.cpp | 76 NameMangler* GetNameMangler() override { in GetNameMangler()
|
D | Link.cpp | 99 NameMangler* GetNameMangler() override { in GetNameMangler() 104 name_mangler_ = NameMangler(policy); in SetNameManglerPolicy() 148 NameMangler name_mangler_;
|
D | Compile.cpp | 610 NameMangler* GetNameMangler() override { in GetNameMangler()
|
/frameworks/base/tools/aapt2/compile/ |
D | InlineXmlFormatParser.cpp | 133 new_doc->file.name.entry = NameMangler::MangleEntry( in Consume()
|
/frameworks/base/tools/aapt2/optimize/ |
D | MultiApkGenerator.cpp | 83 NameMangler* GetNameMangler() override { in GetNameMangler()
|
/frameworks/base/tools/aapt2/java/ |
D | JavaClassGenerator.cpp | 505 if (NameMangler::Unmangle(&unmangled_name, &unmangled_package)) { in UnmangleResource()
|