Home
last modified time | relevance | path

Searched refs:entry_name (Results 1 – 12 of 12) sorted by relevance

/frameworks/native/cmds/dumpstate/
Ddumpstate.h271 bool AddZipEntry(const std::string& entry_name, const std::string& entry_path);
281 android::status_t AddZipEntryFromFd(const std::string& entry_name, int fd,
287 bool AddTextZipEntry(const std::string& entry_name, const std::string& content);
400 void EnqueueAddZipEntryAndCleanupIfNeeded(const std::string& entry_name,
Ddumpstate.cpp848 status_t Dumpstate::AddZipEntryFromFd(const std::string& entry_name, int fd, in AddZipEntryFromFd() argument
850 std::string valid_name = entry_name; in AddZipEntryFromFd()
853 size_t idx = entry_name.rfind('.'); in AddZipEntryFromFd()
855 std::string extension = entry_name.substr(idx); in AddZipEntryFromFd()
858 valid_name = entry_name + ".renamed"; in AddZipEntryFromFd()
859 MYLOGI("Renaming entry %s to %s\n", entry_name.c_str(), valid_name.c_str()); in AddZipEntryFromFd()
901 entry_name.c_str(), strerror(errno)); in AddZipEntryFromFd()
905 entry_name.c_str(), strerror(errno), timeout.count()); in AddZipEntryFromFd()
914 MYLOGE("read(%s): %s\n", entry_name.c_str(), strerror(errno)); in AddZipEntryFromFd()
934 bool Dumpstate::AddZipEntry(const std::string& entry_name, const std::string& entry_path) { in AddZipEntry() argument
[all …]
/frameworks/base/tools/aapt2/link/
DTableMerger.cpp246 std::string entry_name = src_entry->name; in DoMerge() local
248 entry_name = NameMangler::MangleEntry(src_package->name, src_entry->name); in DoMerge()
253 dst_entry = dst_type->FindOrCreateEntry(entry_name); in DoMerge()
255 dst_entry = dst_type->FindEntry(entry_name); in DoMerge()
/frameworks/base/cmds/idmap2/libidmap2/
DFabricatedOverlay.cpp194 StringPiece entry_name; in Build() local
196 &type_name, &entry_name)) { in Build()
205 if (entry_name.empty()) { in Build()
221 auto entry = type->second.find(entry_name); in Build()
223 entry = type->second.insert(std::make_pair(entry_name, ConfigMap())).first; in Build()
/frameworks/native/cmds/dumpstate/tests/
Ddumpstate_smoke_test.cpp64 void GetEntry(const ZipArchiveHandle archive, const std::string_view entry_name, ZipEntry* data) { in GetEntry() argument
65 int32_t e = FindEntry(archive, entry_name, data); in GetEntry()
66 EXPECT_EQ(e, 0) << ErrorCodeString(e) << " entry name: " << entry_name; in GetEntry()
Ddumpstate_test.cpp1045 void VerifyEntry(const ZipArchiveHandle archive, const std::string_view entry_name, in VerifyEntry() argument
1047 int32_t e = FindEntry(archive, entry_name, data); in VerifyEntry()
1048 EXPECT_EQ(0, e) << ErrorCodeString(e) << " entry name: " << entry_name; in VerifyEntry()
/frameworks/compile/mclinker/lib/LD/
DELFObjectWriter.cpp263 llvm::StringRef entry_name = target().getEntry(pModule); in getEntryPoint() local
270 const LDSymbol* entry_symbol = pModule.getNamePool().findSymbol(entry_name); in getEntryPoint()
284 result = strtoull(entry_name.data(), &endptr, 0); in getEntryPoint()
287 llvm::errs() << "cannot find entry symbol '" << entry_name.data() in getEntryPoint()
/frameworks/base/tools/aapt2/cmd/
DOptimize.cpp279 const StringPiece entry_name = entry->name; in WriteSplitApk() local
280 config_sorted_files[std::make_pair(config_value->config, entry_name)] = file_ref; in WriteSplitApk()
DLink.cpp612 const StringPiece entry_name(entry->name); in Flatten() local
613 config_sorted_files[std::make_pair(config_value->config, entry_name)] = in Flatten()
/frameworks/base/libs/androidfw/include/androidfw/
DLoadedArsc.h173 const std::u16string& entry_name) const;
/frameworks/base/libs/androidfw/
DLoadedArsc.cpp378 const std::u16string& type_name, const std::u16string& entry_name) const { in FindEntryByName()
386 entry_name.data(), entry_name.size()); in FindEntryByName()
/frameworks/base/tools/aapt2/
DResourceTable.cpp351 const ResourceTableType* type, const std::string& entry_name, in InsertEntryIntoTableView() argument
374 ResourceTableEntryView new_entry{.name = entry_name, in InsertEntryIntoTableView()