Home | History | Annotate | Download | only in installd

Lines Matching refs:out_path

1074     char out_path[PKG_PATH_MAX];
1093 if (calculate_oat_file_path(out_path, oat_dir, apk_path, instruction_set)) {
1097 if (create_cache_path(out_path, apk_path, instruction_set)) {
1115 input_file = out_path;
1132 unlink(out_path);
1133 out_fd = open(out_path, O_RDWR | O_CREAT | O_EXCL, 0644);
1135 ALOGE("installd cannot open '%s' for output during dexopt\n", out_path);
1141 ALOGE("installd cannot chmod '%s' during dexopt\n", out_path);
1145 ALOGE("installd cannot chown '%s' during dexopt\n", out_path);
1157 size_t out_len = strlen(out_path);
1159 strcpy(swap_file_name, out_path);
1160 strcpy(swap_file_name + strlen(out_path), ".swap");
1173 ALOGE("installd could not create swap file for path %s during dexopt\n", out_path);
1210 ALOGE("flock(%s) failed: %s\n", out_path, strerror(errno));
1216 run_patchoat(input_fd, out_fd, input_file, out_path, pkgname, instruction_set);
1224 run_dex2oat(input_fd, out_fd, input_file_name, out_path, swap_fd, pkgname,
1243 utime(out_path, &ut);
1255 unlink(out_path);