Lines Matching refs:oat_path
1075 static std::string replace_file_extension(const std::string& oat_path, const std::string& new_ext) { in replace_file_extension() argument
1077 if (EndsWith(oat_path, ".dex")) { in replace_file_extension()
1078 std::string new_path = oat_path; in replace_file_extension()
1086 size_t odex_pos = oat_path.rfind(".odex"); in replace_file_extension()
1088 std::string new_path = oat_path; in replace_file_extension()
1100 static std::string create_image_filename(const std::string& oat_path) { in create_image_filename() argument
1101 return replace_file_extension(oat_path, ".art"); in create_image_filename()
1105 static std::string create_vdex_filename(const std::string& oat_path) { in create_vdex_filename() argument
1106 return replace_file_extension(oat_path, ".vdex"); in create_vdex_filename()
1527 char oat_path[PKG_PATH_MAX]; in maybe_open_oat_and_vdex_file() local
1532 oat_path)) { in maybe_open_oat_and_vdex_file()
1537 oat_file_fd->reset(open(oat_path, O_RDONLY)); in maybe_open_oat_and_vdex_file()
1539 PLOG(INFO) << "installd cannot open oat file during dexopt" << oat_path; in maybe_open_oat_and_vdex_file()
1542 std::string vdex_filename = create_vdex_filename(oat_path); in maybe_open_oat_and_vdex_file()
1836 char oat_path[PKG_PATH_MAX]; in process_secondary_dex_dexopt() local
1840 dex_path, instruction_set, oat_dir, oat_isa_dir, oat_path, error_msg)) { in process_secondary_dex_dexopt()
2209 char oat_path[PKG_PATH_MAX]; in reconcile_secondary_dex_file() local
2216 dex_path,isas[i], oat_dir, oat_isa_dir, oat_path, &error_msg)) { in reconcile_secondary_dex_file()
2222 result = unlink_if_exists(oat_path) && result; in reconcile_secondary_dex_file()
2223 result = unlink_if_exists(create_vdex_filename(oat_path)) && result; in reconcile_secondary_dex_file()
2224 result = unlink_if_exists(create_image_filename(oat_path)) && result; in reconcile_secondary_dex_file()