Lines Matching refs:apk_path

447         const char* apk_path = parameters_.apk_path;  in ShouldSkipPreopt()  local
448 CHECK(apk_path != nullptr); in ShouldSkipPreopt()
449 if (StartsWith(apk_path, android_root_)) { in ShouldSkipPreopt()
450 const char* last_slash = strrchr(apk_path, '/'); in ShouldSkipPreopt()
452 std::string path(apk_path, last_slash - apk_path + 1); in ShouldSkipPreopt()
456 LOG(INFO) << "Skipping A/B OTA preopt of already preopted package " << apk_path; in ShouldSkipPreopt()
467 if (access(apk_path, F_OK) != 0) { in ShouldSkipPreopt()
468 LOG(WARNING) << "Skipping A/B OTA preopt of non-existing package " << apk_path; in ShouldSkipPreopt()
479 return dexopt(parameters_.apk_path, in Dexopt()
608 const char *apk_path, in calculate_oat_file_path() argument
613 file_name_start = strrchr(apk_path, '/'); in calculate_oat_file_path()
615 ALOGE("apk_path '%s' has no '/'s in it\n", apk_path); in calculate_oat_file_path()
620 ALOGE("apk_path '%s' has no extension\n", apk_path); in calculate_oat_file_path()
646 bool calculate_odex_file_path(char path[PKG_PATH_MAX], const char *apk_path, in calculate_odex_file_path() argument
648 const char *path_end = strrchr(apk_path, '/'); in calculate_odex_file_path()
650 ALOGE("apk_path '%s' has no '/'s in it?!\n", apk_path); in calculate_odex_file_path()
653 std::string path_component(apk_path, path_end - apk_path); in calculate_odex_file_path()
658 ALOGE("apk_path '%s' has no extension.\n", apk_path); in calculate_odex_file_path()
669 LOG(ERROR) << "apk_path of " << apk_path << " is too long: " << new_path; in calculate_odex_file_path()