Searched refs:dexopt (Results 1 - 7 of 7) sorted by relevance

/frameworks/base/core/java/com/android/internal/os/
H A DInstallerConnection.java93 public int dexopt(String apkPath, int uid, boolean isPublic, String instructionSet) { method in class:InstallerConnection
94 return dexopt(apkPath, uid, isPublic, "*", instructionSet, false);
97 public int dexopt(String apkPath, int uid, boolean isPublic, String pkgName, method in class:InstallerConnection
99 StringBuilder builder = new StringBuilder("dexopt");
H A DZygoteInit.java558 final byte dexopt = DexFile.isDexOptNeededInternal(classPathElement, "*", instructionSet,
560 if (dexopt == DexFile.DEXOPT_NEEDED) {
561 installer.dexopt(classPathElement, Process.SYSTEM_UID, false, instructionSet);
562 } else if (dexopt == DexFile.PATCHOAT_NEEDED) {
/frameworks/base/services/core/java/com/android/server/pm/
H A DInstaller.java76 public int dexopt(String apkPath, int uid, boolean isPublic, String instructionSet) { method in class:Installer
82 return mInstaller.dexopt(apkPath, uid, isPublic, instructionSet);
85 public int dexopt(String apkPath, int uid, boolean isPublic, String pkgName, method in class:Installer
92 return mInstaller.dexopt(apkPath, uid, isPublic, pkgName, instructionSet, vmSafeMode);
H A DPackageManagerService.java1417 * list of process files because dexopt will have been run
1446 * Ensure all external libraries have had dexopt run on them.
1469 mInstaller.dexopt(lib, Process.SYSTEM_UID, true, dexCodeInstructionSet);
1477 Slog.w(TAG, "Cannot dexopt " + lib + "; is it an APK or JAR? "
1487 // code, so don't dexopt it to avoid the resulting log spew.
1491 // the boot class path for art, so don't dexopt it to
1497 * we currently need to do the dexopt on so that they can be
1513 // Skip the file if it is not a type we want to dexopt.
1522 mInstaller.dexopt(path, Process.SYSTEM_UID, true, dexCodeInstructionSet);
1735 false /* force dexopt */, fals
[all...]
/frameworks/native/cmds/installd/
H A Dinstalld.h222 int dexopt(const char *apk_path, uid_t uid, bool is_public, const char *pkgName,
H A Dinstalld.c42 return dexopt(arg[0], atoi(arg[1]), atoi(arg[2]), arg[3], arg[4], atoi(arg[5]), 0);
155 return dexopt(arg[0], atoi(arg[1]), atoi(arg[2]), arg[3], arg[4], 0, 1);
167 { "dexopt", 6, do_dexopt },
H A Dcommands.c633 property_get("dalvik.vm.dexopt-flags", dexopt_flags, "");
634 ALOGV("dalvik.vm.dexopt-flags=%s\n", dexopt_flags);
636 static const char* DEX_OPT_BIN = "/system/bin/dexopt";
875 * Whether dexopt should use a swap file when compiling an APK. If kAlwaysProvideSwapFile, do this
891 int dexopt(const char *apk_path, uid_t uid, bool is_public, function
965 ALOGE("installd cannot open '%s' for input during dexopt\n", input_file);
972 ALOGE("installd cannot open '%s' for output during dexopt\n", out_path);
978 ALOGE("installd cannot chmod '%s' during dexopt\n", out_path);
982 ALOGE("installd cannot chown '%s' during dexopt\n", out_path);
1003 ALOGE("installd could not create '%s' for swap during dexopt\
[all...]

Completed in 102 milliseconds