Lines Matching refs:apk_path

1196 static bool create_oat_out_path(const char* apk_path, const char* instruction_set,  in create_oat_out_path()  argument
1198 if (!validate_dex_path_size(apk_path)) { in create_oat_out_path()
1208 if (!calculate_oat_file_path(out_oat_path, oat_dir, apk_path, instruction_set)) { in create_oat_out_path()
1212 if (!create_cache_path(out_oat_path, apk_path, instruction_set)) { in create_oat_out_path()
1435 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
1459 if (calculate_odex_file_path(in_odex_path, apk_path, instruction_set)) { in open_vdex_files_for_dex2oat()
1462 ALOGE("installd cannot compute input vdex location for '%s'\n", apk_path); in open_vdex_files_for_dex2oat()
1528 Dex2oatFileWrapper open_oat_out_file(const char* apk_path, const char* oat_dir, in open_oat_out_file() argument
1531 if (!create_oat_out_path(apk_path, instruction_set, oat_dir, is_secondary_dex, out_oat_path)) { in open_oat_out_file()
1551 bool maybe_open_oat_and_vdex_file(const std::string& apk_path, in maybe_open_oat_and_vdex_file() argument
1558 if (!create_oat_out_path(apk_path.c_str(), in maybe_open_oat_and_vdex_file()
1564 << apk_path << " with oat dir " << oat_dir; in maybe_open_oat_and_vdex_file()
1582 void update_out_oat_access_times(const char* apk_path, const char* out_oat_path) { in update_out_oat_access_times() argument
1585 if (stat(apk_path, &input_stat) != 0) { in update_out_oat_access_times()
1586 PLOG(ERROR) << "Could not stat " << apk_path << " during dexopt"; in update_out_oat_access_times()
1594 PLOG(WARNING) << "Could not update access times for " << apk_path << " during dexopt"; in update_out_oat_access_times()
2585 bool move_ab(const char* apk_path, const char* instruction_set, const char* oat_dir) { in move_ab() argument
2598 if (validate_apk_path(apk_path) != 0) { in move_ab()
2599 LOG(ERROR) << "Invalid apk_path: " << apk_path; in move_ab()
2608 if (!calculate_oat_file_path(a_path, oat_dir, apk_path, instruction_set)) { in move_ab()
2651 bool delete_odex(const char* apk_path, const char* instruction_set, const char* oat_dir) { in delete_odex() argument
2654 if (!create_oat_out_path(apk_path, instruction_set, oat_dir, in delete_odex()
2705 const char *apk_path, const char *instruction_set) { in calculate_oat_file_path_default() argument
2707 std::string apk_path_ = apk_path; in calculate_oat_file_path_default()
2733 bool calculate_odex_file_path_default(char path[PKG_PATH_MAX], const char *apk_path, in calculate_odex_file_path_default() argument
2735 std::string apk_path_ = apk_path; in calculate_odex_file_path_default()
2749 return calculate_oat_file_path_default(path, oat_dir.c_str(), apk_path, instruction_set); in calculate_odex_file_path_default()