Home
last modified time | relevance | path

Searched refs:DexoptOptions (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/
DDexoptOptionsTests.java45 DexoptOptions opt = new DexoptOptions(mPackageName, mCompilerFilter, /*flags*/ 0); in testCreateDexoptOptionsEmpty()
62 DexoptOptions.DEXOPT_FORCE | in testCreateDexoptOptionsFull()
63 DexoptOptions.DEXOPT_BOOT_COMPLETE | in testCreateDexoptOptionsFull()
64 DexoptOptions.DEXOPT_CHECK_FOR_PROFILES_UPDATES | in testCreateDexoptOptionsFull()
65 DexoptOptions.DEXOPT_ONLY_SECONDARY_DEX | in testCreateDexoptOptionsFull()
66 DexoptOptions.DEXOPT_ONLY_SHARED_DEX | in testCreateDexoptOptionsFull()
67 DexoptOptions.DEXOPT_DOWNGRADE | in testCreateDexoptOptionsFull()
68 DexoptOptions.DEXOPT_AS_SHARED_LIBRARY | in testCreateDexoptOptionsFull()
69 DexoptOptions.DEXOPT_IDLE_BACKGROUND_JOB | in testCreateDexoptOptionsFull()
70 DexoptOptions.DEXOPT_INSTALL_WITH_DEX_METADATA_FILE; in testCreateDexoptOptionsFull()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/dex/
DDexoptOptions.java26 public final class DexoptOptions { class
84 public DexoptOptions(String packageName, String compilerFilter, int flags) { in DexoptOptions() method in DexoptOptions
88 public DexoptOptions(String packageName, int compilationReason, int flags) { in DexoptOptions() method in DexoptOptions
93 public DexoptOptions(String packageName, int compilationReason, String compilerFilter, in DexoptOptions() method in DexoptOptions
DDexManager.java413 public boolean dexoptSecondaryDex(DexoptOptions options) { in dexoptSecondaryDex()
578 DexoptOptions options = new DexoptOptions(info.packageName, in registerDexModule()
/frameworks/base/services/core/java/com/android/server/pm/
DBackgroundDexOptService.java41 import com.android.server.pm.dex.DexoptOptions;
233 int result = pm.performDexOptWithStatus(new DexoptOptions( in postBootUpdate()
236 DexoptOptions.DEXOPT_BOOT_COMPLETE)); in postBootUpdate()
349 DexoptOptions.DEXOPT_CHECK_FOR_PROFILES_UPDATES | in optimizePackages()
350 DexoptOptions.DEXOPT_BOOT_COMPLETE | in optimizePackages()
351 (downgrade ? DexoptOptions.DEXOPT_DOWNGRADE : 0) | in optimizePackages()
352 DexoptOptions.DEXOPT_IDLE_BACKGROUND_JOB; in optimizePackages()
354 int result = pm.performDexOptWithStatus(new DexoptOptions(pkg, reason, in optimizePackages()
361 success = pm.performDexOpt(new DexoptOptions(pkg, in optimizePackages()
362 reason, dexoptFlags | DexoptOptions.DEXOPT_ONLY_SECONDARY_DEX)); in optimizePackages()
DPackageDexOptimizer.java38 import com.android.server.pm.dex.DexoptOptions;
133 PackageDexUsage.PackageUseInfo packageUseInfo, DexoptOptions options) { in performDexOpt()
159 PackageDexUsage.PackageUseInfo packageUseInfo, DexoptOptions options) { in performDexOptLI()
320 PackageDexUsage.DexUseInfo dexUseInfo, DexoptOptions options) { in dexOptSecondaryDexPath()
369 PackageDexUsage.DexUseInfo dexUseInfo, DexoptOptions options) { in dexOptSecondaryDexPathLI()
521 DexoptOptions options) { in getDexFlags()
529 private int getDexFlags(ApplicationInfo info, String compilerFilter, DexoptOptions options) { in getDexFlags()
DOtaDexoptService.java37 import com.android.server.pm.dex.DexoptOptions;
329 new DexoptOptions(pkg.packageName, compilationReason, in generatePackageDexopts()
330 DexoptOptions.DEXOPT_BOOT_COMPLETE)); in generatePackageDexopts()
DPackageManagerService.java310 import com.android.server.pm.dex.DexoptOptions;
9137 int dexoptFlags = bootComplete ? DexoptOptions.DEXOPT_BOOT_COMPLETE : 0;
9140 dexoptFlags |= DexoptOptions.DEXOPT_INSTALL_WITH_DEX_METADATA_FILE;
9142 int primaryDexOptStaus = performDexOptTraced(new DexoptOptions(
9242 int flags = (checkProfiles ? DexoptOptions.DEXOPT_CHECK_FOR_PROFILES_UPDATES : 0) |
9243 (force ? DexoptOptions.DEXOPT_FORCE : 0) |
9244 (bootComplete ? DexoptOptions.DEXOPT_BOOT_COMPLETE : 0);
9245 return performDexOpt(new DexoptOptions(packageName, REASON_UNKNOWN,
9259 int flags = DexoptOptions.DEXOPT_ONLY_SECONDARY_DEX |
9260 DexoptOptions.DEXOPT_CHECK_FOR_PROFILES_UPDATES |
[all …]