Lines Matching refs:image_fd
691 static void run_dex2oat(int zip_fd, int oat_fd, int image_fd, const char* input_file_name, in run_dex2oat() argument
752 image_fd >= 0 && get_property("dalvik.vm.appimageformat", app_image_format, NULL) > 0; in run_dex2oat()
789 if (image_fd >= 0) { in run_dex2oat()
791 sprintf(dex2oat_image_fd, "--app-image-fd=%d", image_fd); in run_dex2oat()
1403 fd_t input_fd=-1, out_fd=-1, image_fd=-1, swap_fd=-1; in dexopt() local
1500 image_fd = open_output_file(image_path, /*recreate*/true, /*permissions*/0600); in dexopt()
1501 if (image_fd < 0) { in dexopt()
1504 } else if (!set_permissions_and_ownership(image_fd, is_public, uid, image_path)) { in dexopt()
1505 image_fd = -1; in dexopt()
1509 if (image_fd < 0) { in dexopt()
1538 run_dex2oat(input_fd, out_fd, image_fd, input_file_name, out_path, swap_fd, in dexopt()
1568 if (image_fd >= 0) { in dexopt()
1569 close(image_fd); in dexopt()
1590 if (image_fd >= 0) { in dexopt()
1591 close(image_fd); in dexopt()