Searched defs:apk_path (Results 1 - 2 of 2) sorted by relevance

/system/extras/simpleperf/
H A Dread_apk.cpp37 EmbeddedElf* ApkInspector::FindElfInApkByOffset(const std::string& apk_path, uint64_t file_offset) { argument
39 ApkOffset ami(apk_path, file_offset);
44 std::unique_ptr<EmbeddedElf> elf = FindElfInApkByOffsetWithoutCache(apk_path, file_offset);
50 std::unique_ptr<EmbeddedElf> ApkInspector::FindElfInApkByOffsetWithoutCache(const std::string& apk_path, argument
53 if (!IsValidApkPath(apk_path)) {
57 FileHelper fhelper = FileHelper::OpenReadOnly(apk_path);
62 ArchiveHelper ahelper(fhelper.fd(), apk_path);
95 PLOG(ERROR) << "lseek() failed in " << apk_path << " offset " << zentry.offset;
102 LOG(ERROR) << "problems reading ELF from in " << apk_path << " entry '"
108 return std::unique_ptr<EmbeddedElf>(new EmbeddedElf(apk_path, entry_nam
112 FindElfInApkByName(const std::string& apk_path, const std::string& elf_filename) argument
134 LOG(ERROR) << "shared library " << elf_filename << " in " << apk_path << " is compressed"; local
141 IsValidApkPath(const std::string& apk_path) argument
161 GetUrlInApk(const std::string& apk_path, const std::string& elf_filename) argument
173 GetBuildIdFromApkFile(const std::string& apk_path, const std::string& elf_filename, BuildId* build_id) argument
182 ParseSymbolsFromApkFile(const std::string& apk_path, const std::string& elf_filename, const BuildId& expected_build_id, std::function<void(const ElfFileSymbol&)> callback) argument
[all...]
/system/core/libbacktrace/
H A DBacktraceOffline.cpp647 static bool IsValidApkPath(const std::string& apk_path) { argument
650 if (stat(apk_path.c_str(), &st) != 0 || !S_ISREG(st.st_mode)) {
653 FILE* fp = fopen(apk_path.c_str(), "reb");

Completed in 108 milliseconds