Lines Matching refs:oat_path

1112 static std::string replace_file_extension(const std::string& oat_path, const std::string& new_ext) {  in replace_file_extension()  argument
1114 if (EndsWith(oat_path, ".dex")) { in replace_file_extension()
1115 std::string new_path = oat_path; in replace_file_extension()
1123 size_t odex_pos = oat_path.rfind(".odex"); in replace_file_extension()
1125 std::string new_path = oat_path; in replace_file_extension()
1137 static std::string create_image_filename(const std::string& oat_path) { in create_image_filename() argument
1138 return replace_file_extension(oat_path, ".art"); in create_image_filename()
1142 static std::string create_vdex_filename(const std::string& oat_path) { in create_vdex_filename() argument
1143 return replace_file_extension(oat_path, ".vdex"); in create_vdex_filename()
1557 char oat_path[PKG_PATH_MAX]; in maybe_open_oat_and_vdex_file() local
1562 oat_path)) { in maybe_open_oat_and_vdex_file()
1567 oat_file_fd->reset(open(oat_path, O_RDONLY)); in maybe_open_oat_and_vdex_file()
1569 PLOG(INFO) << "installd cannot open oat file during dexopt" << oat_path; in maybe_open_oat_and_vdex_file()
1572 std::string vdex_filename = create_vdex_filename(oat_path); in maybe_open_oat_and_vdex_file()
1964 char oat_path[PKG_PATH_MAX]; in process_secondary_dex_dexopt() local
1968 dex_path, instruction_set, oat_dir, oat_isa_dir, oat_path, error_msg)) { in process_secondary_dex_dexopt()
2370 char oat_path[PKG_PATH_MAX]; in reconcile_secondary_dex_file() local
2377 dex_path,isas[i], oat_dir, oat_isa_dir, oat_path, &error_msg)) { in reconcile_secondary_dex_file()
2383 result = unlink_if_exists(oat_path) && result; in reconcile_secondary_dex_file()
2384 result = unlink_if_exists(create_vdex_filename(oat_path)) && result; in reconcile_secondary_dex_file()
2385 result = unlink_if_exists(create_image_filename(oat_path)) && result; in reconcile_secondary_dex_file()