• Home
  • Raw
  • Download

Lines Matching refs:apk_path

437                     maybe_open_reference_profile(parameters_.pkgName, parameters_.apk_path,  in IsAotCompilation()
480 const char* apk_path = parameters_.apk_path; in ShouldSkipPreopt() local
481 CHECK(apk_path != nullptr); in ShouldSkipPreopt()
482 if (StartsWith(apk_path, android_root_) || !IsAotCompilation()) { in ShouldSkipPreopt()
483 const char* last_slash = strrchr(apk_path, '/'); in ShouldSkipPreopt()
485 std::string path(apk_path, last_slash - apk_path + 1); in ShouldSkipPreopt()
489 LOG(INFO) << "Skipping A/B OTA preopt of already preopted package " << apk_path; in ShouldSkipPreopt()
500 if (access(apk_path, F_OK) != 0) { in ShouldSkipPreopt()
501 PLOG(WARNING) << "Skipping A/B OTA preopt of non-existing package " << apk_path; in ShouldSkipPreopt()
519 int res = dexopt(parameters_.apk_path, in Dexopt()
537 LOG(ERROR) << "During preopt of " << parameters_.apk_path << " got result " << res in Dexopt()
604 const char *apk_path, in calculate_oat_file_path() argument
609 file_name_start = strrchr(apk_path, '/'); in calculate_oat_file_path()
611 ALOGE("apk_path '%s' has no '/'s in it\n", apk_path); in calculate_oat_file_path()
616 ALOGE("apk_path '%s' has no extension\n", apk_path); in calculate_oat_file_path()
642 bool calculate_odex_file_path(char path[PKG_PATH_MAX], const char *apk_path, in calculate_odex_file_path() argument
644 const char *path_end = strrchr(apk_path, '/'); in calculate_odex_file_path()
646 ALOGE("apk_path '%s' has no '/'s in it?!\n", apk_path); in calculate_odex_file_path()
649 std::string path_component(apk_path, path_end - apk_path); in calculate_odex_file_path()
654 ALOGE("apk_path '%s' has no extension.\n", apk_path); in calculate_odex_file_path()
665 LOG(ERROR) << "apk_path of " << apk_path << " is too long: " << new_path; in calculate_odex_file_path()