Lines Matching refs:out_oat_path

1197             const char* oat_dir, bool is_secondary_dex, /*out*/ char* out_oat_path) {  in create_oat_out_path()  argument
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()
1324 Dex2oatFileWrapper maybe_open_app_image(const char* out_oat_path, in maybe_open_app_image() argument
1327 const std::string image_path = create_image_filename(out_oat_path); in maybe_open_app_image()
1370 unique_fd maybe_open_dexopt_swap_file(const char* out_oat_path) { in maybe_open_dexopt_swap_file() argument
1374 auto swap_file_name = std::string(out_oat_path) + ".swap"; in maybe_open_dexopt_swap_file()
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
1449 const std::string out_vdex_path_str = create_vdex_filename(out_oat_path); in open_vdex_files_for_dex2oat()
1466 path = out_oat_path; in open_vdex_files_for_dex2oat()
1530 char* out_oat_path) { 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()
1534 const std::string out_oat_path_str(out_oat_path); in open_oat_out_file()
1536 open_output_file(out_oat_path, /*recreate*/true, /*permissions*/0644), in open_oat_out_file()
1539 PLOG(ERROR) << "installd cannot open output during dexopt" << out_oat_path; in open_oat_out_file()
1541 wrapper_fd.get(), is_public, uid, out_oat_path, is_secondary_dex)) { in open_oat_out_file()
1542 ALOGE("installd cannot set owner '%s' for output during dexopt\n", out_oat_path); in open_oat_out_file()
1582 void update_out_oat_access_times(const char* apk_path, const char* out_oat_path) { in update_out_oat_access_times() argument
1593 if (utime(out_oat_path, &ut) != 0) { in update_out_oat_access_times()
1815 char* out_oat_dir, char* out_oat_isa_dir, char* out_oat_path, std::string* error_msg) { in create_secondary_dex_oat_layout() argument
1829 /*is_secondary_dex*/true, out_oat_path)) { in create_secondary_dex_oat_layout()
2167 char out_oat_path[PKG_PATH_MAX]; in dexopt() local
2169 instruction_set, is_secondary_dex, out_oat_path); in dexopt()
2178 if (!open_vdex_files_for_dex2oat(dex_path, out_oat_path, dexopt_needed, instruction_set, in dexopt()
2199 unique_fd swap_fd = maybe_open_dexopt_swap_file(out_oat_path); in dexopt()
2213 out_oat_path, generate_app_image, is_public, uid, is_secondary_dex); in dexopt()
2231 out_oat_path, in dexopt()
2255 PLOG(ERROR) << "flock(" << out_oat_path << ") failed"; in dexopt()
2272 update_out_oat_access_times(dex_path, out_oat_path); in dexopt()