Home | History | Annotate | Download | only in installd

Lines Matching refs:out_path

657     char out_path[PKG_PATH_MAX];
677 sprintf(out_path, "%s%s", apk_path, ".odex");
678 if (stat(out_path, &dex_stat) == 0) {
682 if (create_cache_path(out_path, apk_path)) {
695 unlink(out_path);
696 out_fd = open(out_path, O_RDWR | O_CREAT | O_EXCL, 0644);
698 ALOGE("installd cannot open '%s' for output during dexopt\n", out_path);
704 ALOGE("installd cannot chmod '%s' during dexopt\n", out_path);
708 ALOGE("installd cannot chown '%s' during dexopt\n", out_path);
737 ALOGE("flock(%s) failed: %s\n", out_path, strerror(errno));
742 run_dexopt(zip_fd, out_fd, apk_path, out_path, dexopt_flags);
744 run_dex2oat(zip_fd, out_fd, apk_path, out_path, dexopt_flags);
752 ALOGE("dexopt in='%s' out='%s' res=%d\n", apk_path, out_path, res);
759 utime(out_path, &ut);
768 unlink(out_path);