/frameworks/native/cmds/installd/ |
otapreopt_parameters.h | 35 const char* apk_path; member in class:android::installd::OTAPreoptParameters
|
otapreopt.cpp | 528 // 1) Does the apk_path start with the value of ANDROID_ROOT? (~in the system image) 531 // 2) If you replace the name in the apk_path with "oat," does the path exist? 543 const char* apk_path = parameters_.apk_path; local 544 CHECK(apk_path != nullptr); 545 if (StartsWith(apk_path, android_root_)) { 546 const char* last_slash = strrchr(apk_path, '/'); 548 std::string path(apk_path, last_slash - apk_path + 1); 552 LOG(INFO) << "Skipping A/B OTA preopt of already preopted package " << apk_path; [all...] |
InstalldNativeService.cpp | 1964 const char* apk_path = apkPath.c_str(); local 2391 const char* apk_path = apkPath.c_str(); local 2406 const char* apk_path = apkPath.c_str(); local [all...] |
/system/extras/simpleperf/ |
read_apk.cpp | 37 EmbeddedElf* ApkInspector::FindElfInApkByOffset(const std::string& apk_path, uint64_t file_offset) { 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, 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; 103 LOG(ERROR) << "problems reading ELF from " << apk_path << " entry '" 109 return std::unique_ptr<EmbeddedElf>(new EmbeddedElf(apk_path, entry_name, zentry.offset 136 LOG(ERROR) << "shared library " << elf_filename << " in " << apk_path << " is compressed"; local [all...] |
/frameworks/base/cmds/idmap/ |
scan.cpp | 27 apk_path(a), idmap_path(i), priority(p) {} 34 String8 apk_path; member in struct:__anon45576::Overlay 61 fprintf(fout, "%s %s\n", overlay.apk_path.string(), overlay.idmap_path.string());
|
/frameworks/base/tools/aapt2/cmd/ |
Optimize.cpp | 379 const std::string& apk_path = flags.GetArgs()[0]; local 388 options.apk_artifacts = for_path.value().WithDiagnostics(diag).Parse(apk_path); 425 std::unique_ptr<LoadedApk> apk = LoadedApk::LoadApkFromPath(apk_path, context.GetDiagnostics());
|