/frameworks/native/cmds/installd/ |
D | otapreopt.cpp | 543 const char* apk_path = parameters_.apk_path; in ShouldSkipPreopt() local 544 CHECK(apk_path != nullptr); in ShouldSkipPreopt() 545 if (StartsWith(apk_path, android_root_)) { in ShouldSkipPreopt() 546 const char* last_slash = strrchr(apk_path, '/'); in ShouldSkipPreopt() 548 std::string path(apk_path, last_slash - apk_path + 1); in ShouldSkipPreopt() 552 LOG(INFO) << "Skipping A/B OTA preopt of already preopted package " << apk_path; in ShouldSkipPreopt() 563 if (access(apk_path, F_OK) != 0) { in ShouldSkipPreopt() 564 LOG(WARNING) << "Skipping A/B OTA preopt of non-existing package " << apk_path; in ShouldSkipPreopt() 575 return dexopt(parameters_.apk_path, in Dexopt() 775 const char *apk_path, in calculate_oat_file_path() argument [all …]
|
D | dexopt.h | 94 bool delete_odex(const char* apk_path, const char* instruction_set, const char* output_path); 105 int dexopt(const char *apk_path, uid_t uid, const char *pkgName, const char *instruction_set, 112 const char *apk_path, const char *instruction_set); 114 bool calculate_odex_file_path_default(char path[PKG_PATH_MAX], const char *apk_path, 120 bool move_ab(const char* apk_path, const char* instruction_set, const char* output_path);
|
D | installd.cpp | 54 bool calculate_oat_file_path(char path[PKG_PATH_MAX], const char *oat_dir, const char *apk_path, in calculate_oat_file_path() argument 56 return calculate_oat_file_path_default(path, oat_dir, apk_path, instruction_set); in calculate_oat_file_path() 59 bool calculate_odex_file_path(char path[PKG_PATH_MAX], const char *apk_path, in calculate_odex_file_path() argument 61 return calculate_odex_file_path_default(path, apk_path, instruction_set); in calculate_odex_file_path()
|
D | installd_deps.h | 42 const char *apk_path, 52 const char *apk_path,
|
D | dexopt.cpp | 1159 static bool create_oat_out_path(const char* apk_path, const char* instruction_set, in create_oat_out_path() argument 1161 if (!validate_dex_path_size(apk_path)) { in create_oat_out_path() 1171 if (!calculate_oat_file_path(out_oat_path, oat_dir, apk_path, instruction_set)) { in create_oat_out_path() 1175 if (!create_cache_path(out_oat_path, apk_path, instruction_set)) { in create_oat_out_path() 1405 bool open_vdex_files_for_dex2oat(const char* apk_path, const char* out_oat_path, int dexopt_needed, in open_vdex_files_for_dex2oat() argument 1429 if (calculate_odex_file_path(in_odex_path, apk_path, instruction_set)) { in open_vdex_files_for_dex2oat() 1432 ALOGE("installd cannot compute input vdex location for '%s'\n", apk_path); in open_vdex_files_for_dex2oat() 1498 Dex2oatFileWrapper open_oat_out_file(const char* apk_path, const char* oat_dir, in open_oat_out_file() argument 1501 if (!create_oat_out_path(apk_path, instruction_set, oat_dir, is_secondary_dex, out_oat_path)) { in open_oat_out_file() 1521 bool maybe_open_oat_and_vdex_file(const std::string& apk_path, in maybe_open_oat_and_vdex_file() argument [all …]
|
D | otapreopt_parameters.cpp | 163 apk_path = param; in ReadArgumentsV1() 288 apk_path = param; in ReadArgumentsPostV1()
|
D | otapreopt_parameters.h | 35 const char* apk_path; variable
|
D | InstalldNativeService.cpp | 1964 const char* apk_path = apkPath.c_str(); in dexopt() local 1976 int res = android::installd::dexopt(apk_path, uid, pkgname, instruction_set, dexoptNeeded, in dexopt() 2391 const char* apk_path = apkPath.c_str(); in moveAb() local 2395 bool success = move_ab(apk_path, instruction_set, oat_dir); in moveAb() 2406 const char* apk_path = apkPath.c_str(); in deleteOdex() local 2410 bool res = delete_odex(apk_path, instruction_set, oat_dir); in deleteOdex()
|
/frameworks/av/packages/MediaComponents/ |
D | runcts.sh | 182 local apk_path=$(find ${OUT}/system ${OUT}/data -name ${target}.apk) 187 echo "Installing ${target}.apk. path=${apk_path}" 188 ${adb} install -r ${apk_path}
|
/frameworks/base/services/tests/ |
D | runtests.py | 57 apk_path = ( 60 run('adb install -r -g "%s"' % apk_path)
|
/frameworks/native/cmds/installd/tests/ |
D | installd_service_test.cpp | 46 bool calculate_oat_file_path(char path[PKG_PATH_MAX], const char *oat_dir, const char *apk_path, in calculate_oat_file_path() argument 48 return calculate_oat_file_path_default(path, oat_dir, apk_path, instruction_set); in calculate_oat_file_path() 51 bool calculate_odex_file_path(char path[PKG_PATH_MAX], const char *apk_path, in calculate_odex_file_path() argument 53 return calculate_odex_file_path_default(path, apk_path, instruction_set); in calculate_odex_file_path()
|
D | installd_cache_test.cpp | 52 const char *apk_path ATTRIBUTE_UNUSED, in calculate_oat_file_path() 58 const char *apk_path ATTRIBUTE_UNUSED, in calculate_odex_file_path()
|
D | installd_dexopt_test.cpp | 69 bool calculate_oat_file_path(char path[PKG_PATH_MAX], const char *oat_dir, const char *apk_path, in calculate_oat_file_path() argument 71 return calculate_oat_file_path_default(path, oat_dir, apk_path, instruction_set); in calculate_oat_file_path() 74 bool calculate_odex_file_path(char path[PKG_PATH_MAX], const char *apk_path, in calculate_odex_file_path() argument 76 return calculate_odex_file_path_default(path, apk_path, instruction_set); in calculate_odex_file_path()
|
D | installd_otapreopt_test.cpp | 59 ASSERT_STREQ(params.apk_path, args[i++]); in verifyPackageParameters()
|
/frameworks/base/cmds/idmap/ |
D | scan.cpp | 27 apk_path(a), idmap_path(i), priority(p) {} in Overlay() 34 String8 apk_path; member 61 fprintf(fout, "%s %s\n", overlay.apk_path.string(), overlay.idmap_path.string()); in writePackagesList()
|
/frameworks/base/tools/aapt2/cmd/ |
D | Optimize.cpp | 379 const std::string& apk_path = flags.GetArgs()[0]; in Optimize() local 388 options.apk_artifacts = for_path.value().WithDiagnostics(diag).Parse(apk_path); in Optimize() 425 std::unique_ptr<LoadedApk> apk = LoadedApk::LoadApkFromPath(apk_path, context.GetDiagnostics()); in Optimize()
|
/frameworks/base/tools/aapt2/configuration/ |
D | ConfigurationParser.h | 156 Maybe<std::vector<configuration::OutputArtifact>> Parse(const android::StringPiece& apk_path);
|
D | ConfigurationParser.cpp | 444 const android::StringPiece& apk_path) { in Parse() argument 452 const std::string& apk_name = file::GetFilename(apk_path).to_string(); in Parse()
|