Searched refs:dexopt (Results 1 - 9 of 9) sorted by path

/frameworks/base/core/java/com/android/internal/os/
H A DInstallerConnection.java137 public void dexopt(String apkPath, int uid, String instructionSet, int dexoptNeeded, method in class:InstallerConnection
140 dexopt(apkPath, uid, "*", instructionSet, dexoptNeeded, null /*outputPath*/, dexFlags,
144 public void dexopt(String apkPath, int uid, String pkgName, String instructionSet, method in class:InstallerConnection
147 execute("dexopt",
H A DZygoteInit.java593 installer.dexopt(classPathElement, Process.SYSTEM_UID, instructionSet,
/frameworks/base/services/core/java/com/android/server/pm/
H A DInstaller.java48 /** Hint that the dexopt type is profile-guided. */
50 /** This is an OTA update dexopt */
135 public void dexopt(String apkPath, int uid, String instructionSet, int dexoptNeeded, method in class:Installer
139 mInstaller.dexopt(apkPath, uid, instructionSet, dexoptNeeded, dexFlags,
143 public void dexopt(String apkPath, int uid, String pkgName, String instructionSet, method in class:Installer
148 mInstaller.dexopt(apkPath, uid, pkgName, instructionSet, dexoptNeeded,
H A DPackageDexOptimizer.java49 * Helper class for running dexopt command on packages.
86 * Performs dexopt on all code paths and libraries of the specified package for specified
89 * <p>Calls to {@link com.android.server.pm.Installer#dexopt} on {@link #mInstaller} are
112 * Adjust the given dexopt-needed value. Can be overridden to influence the decision to
120 * Adjust the given dexopt flags that will be passed to the installer.
127 * Dumps the dexopt state of the given package {@code pkg} to the given {@code PrintWriter}.
227 throw new IllegalStateException("Invalid dexopt:" + dexoptNeeded);
241 Log.i(TAG, "Running dexopt (" + dexoptType + ") on: " + path + " pkg="
257 mInstaller.dexopt(path, sharedGid, pkg.packageName, dexCodeInstructionSet,
262 Slog.w(TAG, "Failed to dexopt",
[all...]
H A DPackageManagerService.java2266 "*dexopt*");
2358 * Ensure all external libraries have had dexopt run on them.
2380 mInstaller.dexopt(lib, Process.SYSTEM_UID, dexCodeInstructionSet,
2389 Slog.w(TAG, "Cannot dexopt " + lib + "; is it an APK or JAR? "
2749 // Perform dexopt on all apps that mark themselves as coreApps. We do this pretty
7285 * Performs dexopt on the set of packages in {@code packages} and returns an int array
7326 // Unfortunately this will also means that "pm.dexopt.boot=speed-profile" will
7327 // behave differently than "pm.dexopt.bg-dexopt=speed-profile" but that's a
7344 Log.e(TAG, "Unexpected dexopt retur
[all...]
/frameworks/native/cmds/installd/
H A Dcommands.cpp924 * Whether dexopt should use a swap file when compiling an APK.
1070 ALOGE("setgid(%d) failed in installd during dexopt\n", uid);
1074 ALOGE("setuid(%d) failed in installd during dexopt\n", uid);
1350 ALOGE("installd cannot chmod '%s' during dexopt\n", path);
1353 ALOGE("installd cannot chown '%s' during dexopt\n", path);
1391 int dexopt(const char* apk_path, uid_t uid, const char* pkgname, const char* instruction_set, function in namespace:android::installd
1423 LOG_FATAL("dexopt flags contains unknown fields\n");
1447 ALOGE("Invalid dexopt needed: %d\n", dexopt_needed);
1456 ALOGE("installd cannot open '%s' for input during dexopt\n", input_file);
1462 ALOGE("installd cannot open '%s' for output during dexopt\
[all...]
H A Dcommands.h59 int dexopt(const char *apk_path, uid_t uid, const char *pkgName, const char *instruction_set,
H A Dinstalld.cpp261 return dexopt(arg[0], // apk_path
431 { "dexopt", 10, do_dexopt },
H A Dotapreopt.cpp360 int ret = dexopt(package_parameters_[0], // apk_path

Completed in 167 milliseconds