Lines Matching full:dex_path
339 char dex_path[PKG_PATH_MAX];
342 if (create_cache_path(dex_path, path)) return -1;
344 ALOGV("unlink %s\n", dex_path);
345 if (unlink(dex_path) < 0) {
346 ALOGE("Couldn't unlink %s: %s\n", dex_path, strerror(errno));
567 char dex_path[PKG_PATH_MAX];
582 strcpy(dex_path, apk_path);
583 end = strrchr(dex_path, '.');
586 if (stat(dex_path, &dex_stat) == 0) {
591 if (create_cache_path(dex_path, apk_path)) {
604 unlink(dex_path);
605 odex_fd = open(dex_path, O_RDWR | O_CREAT | O_EXCL, 0644);
607 ALOGE("dexopt cannot open '%s' for output\n", dex_path);
611 ALOGE("dexopt cannot chown '%s'\n", dex_path);
617 ALOGE("dexopt cannot chmod '%s'\n", dex_path);
636 ALOGE("flock(%s) failed: %s\n", dex_path, strerror(errno));
645 ALOGE("dexopt failed on '%s' res = %d\n", dex_path, res);
652 utime(dex_path, &ut);
661 unlink(dex_path);