Home
last modified time | relevance | path

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

/frameworks/native/cmds/dumpstate/
Ddumpstate.cpp732 status_t Dumpstate::AddZipEntryFromFd(const std::string& entry_name, int fd, in AddZipEntryFromFd() argument
736 entry_name.c_str()); in AddZipEntryFromFd()
739 std::string valid_name = entry_name; in AddZipEntryFromFd()
742 size_t idx = entry_name.rfind('.'); in AddZipEntryFromFd()
744 std::string extension = entry_name.substr(idx); in AddZipEntryFromFd()
747 valid_name = entry_name + ".renamed"; in AddZipEntryFromFd()
748 MYLOGI("Renaming entry %s to %s\n", entry_name.c_str(), valid_name.c_str()); in AddZipEntryFromFd()
777 MYLOGE("Error in poll while adding from fd to zip entry %s:%s", entry_name.c_str(), in AddZipEntryFromFd()
782 entry_name.c_str(), strerror(errno), timeout.count()); in AddZipEntryFromFd()
791 MYLOGE("read(%s): %s\n", entry_name.c_str(), strerror(errno)); in AddZipEntryFromFd()
[all …]
Ddumpstate.h234 bool AddZipEntry(const std::string& entry_name, const std::string& entry_path);
244 android::status_t AddZipEntryFromFd(const std::string& entry_name, int fd,
250 bool AddTextZipEntry(const std::string& entry_name, const std::string& content);
/frameworks/base/tools/aapt2/link/
DTableMerger.cpp213 std::string entry_name = src_entry->name; in DoMerge() local
215 entry_name = NameMangler::MangleEntry(src_package->name, src_entry->name); in DoMerge()
220 dst_entry = dst_type->FindOrCreateEntry(entry_name); in DoMerge()
222 dst_entry = dst_type->FindEntry(entry_name); in DoMerge()
/frameworks/base/core/jni/
Dandroid_util_jar_StrictJarFile.cpp106 ZipString entry_name(prefixChars.c_str()); in StrictJarFile_nativeStartIteration() local
108 handle->CookieAddress(), &entry_name, NULL); in StrictJarFile_nativeStartIteration()
/frameworks/base/cmds/idmap/
Dcreate.cpp16 int get_zip_entry_crc(const char *zip_path, const char *entry_name, uint32_t *crc) in get_zip_entry_crc() argument
22 ZipEntryRO entry = zip->findEntryByName(entry_name); in get_zip_entry_crc()
/frameworks/base/tools/aapt2/process/
DSymbolTable.cpp270 android::ResTable::resource_name entry_name; in LookupAttributeInTable() local
271 if (!table.getResourceName(map_entry.name.ident, false, &entry_name)) { in LookupAttributeInTable()
276 Maybe<ResourceName> parsed_name = ResourceUtils::ToResourceName(entry_name); in LookupAttributeInTable()
/frameworks/base/libs/androidfw/
DApkAssets.cpp123 ::ZipString entry_name(kResourcesArsc.c_str()); in LoadImpl()
125 result = ::FindEntry(loaded_apk->zip_handle_.get(), entry_name, &entry); in LoadImpl()
DLoadedArsc.cpp322 const std::u16string& entry_name) const { in FindEntryByName()
328 ssize_t key_idx = key_string_pool_.indexOfString(entry_name.data(), entry_name.size()); in FindEntryByName()
/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/libs/androidfw/include/androidfw/
DLoadedArsc.h92 uint32_t FindEntryByName(const std::u16string& type_name, const std::u16string& entry_name) const;
/frameworks/base/tools/aapt2/cmd/
DOptimize.cpp257 const StringPiece entry_name = entry->name; in WriteSplitApk() local
258 config_sorted_files[std::make_pair(config_value->config, entry_name)] = file_ref; in WriteSplitApk()
DLink.cpp620 const StringPiece entry_name(entry->name); in Flatten() local
621 config_sorted_files[std::make_pair(config_value->config, entry_name)] = in Flatten()