Home
last modified time | relevance | path

Searched refs:dexoptNeeded (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DPackageDexOptimizer.java134 final int dexoptNeeded; in performDexOptLI() local
136 dexoptNeeded = DexFile.DEX2OAT_NEEDED; in performDexOptLI()
139 dexoptNeeded = DexFile.getDexOptNeeded(path, pkg.packageName, in performDexOptLI()
147 if (!forceDex && defer && dexoptNeeded != DexFile.NO_DEXOPT_NEEDED) { in performDexOptLI()
155 if (dexoptNeeded != DexFile.NO_DEXOPT_NEEDED) { in performDexOptLI()
158 if (dexoptNeeded == DexFile.DEX2OAT_NEEDED) { in performDexOptLI()
166 } else if (dexoptNeeded == DexFile.PATCHOAT_NEEDED) { in performDexOptLI()
168 } else if (dexoptNeeded == DexFile.SELF_PATCHOAT_NEEDED) { in performDexOptLI()
171 throw new IllegalStateException("Invalid dexopt needed: " + dexoptNeeded); in performDexOptLI()
181 dexoptNeeded, vmSafeMode, debuggable, oatDir); in performDexOptLI()
DInstaller.java79 String instructionSet, int dexoptNeeded) { in dexopt() argument
85 return mInstaller.dexopt(apkPath, uid, isPublic, instructionSet, dexoptNeeded); in dexopt()
89 String instructionSet, int dexoptNeeded, boolean vmSafeMode, in dexopt() argument
96 instructionSet, dexoptNeeded, vmSafeMode, in dexopt()
DPackageManagerService.java1979 … int dexoptNeeded = DexFile.getDexOptNeeded(lib, null, dexCodeInstructionSet, false); in PackageManagerService() local
1980 if (dexoptNeeded != DexFile.NO_DEXOPT_NEEDED) { in PackageManagerService()
1982 … mInstaller.dexopt(lib, Process.SYSTEM_UID, true, dexCodeInstructionSet, dexoptNeeded); in PackageManagerService()
2028 … int dexoptNeeded = DexFile.getDexOptNeeded(path, null, dexCodeInstructionSet, false); in PackageManagerService() local
2029 if (dexoptNeeded != DexFile.NO_DEXOPT_NEEDED) { in PackageManagerService()
2030 … mInstaller.dexopt(path, Process.SYSTEM_UID, true, dexCodeInstructionSet, dexoptNeeded); in PackageManagerService()
/frameworks/base/core/java/com/android/internal/os/
DInstallerConnection.java95 String instructionSet, int dexoptNeeded) { in dexopt() argument
96 return dexopt(apkPath, uid, isPublic, "*", instructionSet, dexoptNeeded, in dexopt()
101 String instructionSet, int dexoptNeeded, boolean vmSafeMode, in dexopt() argument
114 builder.append(dexoptNeeded); in dexopt()
DZygoteInit.java476 final int dexoptNeeded = DexFile.getDexOptNeeded( in performSystemServerDexOpt() local
478 if (dexoptNeeded != DexFile.NO_DEXOPT_NEEDED) { in performSystemServerDexOpt()
480 instructionSet, dexoptNeeded); in performSystemServerDexOpt()