Home
last modified time | relevance | path

Searched refs:DexoptOptions (Results 1 – 8 of 8) 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.java24 public final class DexoptOptions { class
82 public DexoptOptions(String packageName, String compilerFilter, int flags) { in DexoptOptions() method in DexoptOptions
86 public DexoptOptions(String packageName, int compilationReason, int flags) { in DexoptOptions() method in DexoptOptions
91 public DexoptOptions(String packageName, int compilationReason, String compilerFilter, in DexoptOptions() method in DexoptOptions
DDexManager.java452 public boolean dexoptSecondaryDex(DexoptOptions options) { in dexoptSecondaryDex()
613 DexoptOptions options = new DexoptOptions(info.packageName, in registerDexModule()
/frameworks/base/services/core/java/com/android/server/pm/
DBackgroundDexOptService.java45 import com.android.server.pm.dex.DexoptOptions;
238 int result = pm.performDexOptWithStatus(new DexoptOptions( in postBootUpdate()
241 DexoptOptions.DEXOPT_BOOT_COMPLETE)); in postBootUpdate()
389 int dexoptFlags = DexoptOptions.DEXOPT_BOOT_COMPLETE in downgradePackage()
390 | DexoptOptions.DEXOPT_IDLE_BACKGROUND_JOB in downgradePackage()
391 | DexoptOptions.DEXOPT_DOWNGRADE; in downgradePackage()
442 int dexoptFlags = DexoptOptions.DEXOPT_CHECK_FOR_PROFILES_UPDATES in optimizePackage()
443 | DexoptOptions.DEXOPT_BOOT_COMPLETE in optimizePackage()
444 | DexoptOptions.DEXOPT_IDLE_BACKGROUND_JOB; in optimizePackage()
454 () -> pm.performDexOptWithStatus(new DexoptOptions(pkg, reason, dexoptFlags))); in performDexOptPrimary()
[all …]
DPackageDexOptimizer.java64 import com.android.server.pm.dex.DexoptOptions;
132 PackageDexUsage.PackageUseInfo packageUseInfo, DexoptOptions options) { in performDexOpt()
158 PackageDexUsage.PackageUseInfo packageUseInfo, DexoptOptions options) { in performDexOptLI()
327 PackageDexUsage.DexUseInfo dexUseInfo, DexoptOptions options) { in dexOptSecondaryDexPath()
376 PackageDexUsage.DexUseInfo dexUseInfo, DexoptOptions options) { in dexOptSecondaryDexPathLI()
547 DexoptOptions options) { in getDexFlags()
555 private int getDexFlags(ApplicationInfo info, String compilerFilter, DexoptOptions options) { in getDexFlags()
DOtaDexoptService.java37 import com.android.server.pm.dex.DexoptOptions;
340 new DexoptOptions(pkg.packageName, compilationReason, in generatePackageDexopts()
341 DexoptOptions.DEXOPT_BOOT_COMPLETE)); in generatePackageDexopts()
DPackageManagerService.java313 import com.android.server.pm.dex.DexoptOptions;
9783 int dexoptFlags = bootComplete ? DexoptOptions.DEXOPT_BOOT_COMPLETE : 0;
9786 dexoptFlags |= DexoptOptions.DEXOPT_INSTALL_WITH_DEX_METADATA_FILE;
9788 int primaryDexOptStaus = performDexOptTraced(new DexoptOptions(
9898 int flags = (checkProfiles ? DexoptOptions.DEXOPT_CHECK_FOR_PROFILES_UPDATES : 0) |
9899 (force ? DexoptOptions.DEXOPT_FORCE : 0) |
9900 (bootComplete ? DexoptOptions.DEXOPT_BOOT_COMPLETE : 0);
9901 return performDexOpt(new DexoptOptions(packageName, REASON_UNKNOWN,
9915 int flags = DexoptOptions.DEXOPT_ONLY_SECONDARY_DEX |
9916 DexoptOptions.DEXOPT_CHECK_FOR_PROFILES_UPDATES |
[all …]
/frameworks/base/services/
Dart-profile10493 …g;Lcom/android/server/pm/dex/PackageDexUsage$DexUseInfo;Lcom/android/server/pm/dex/DexoptOptions;)I
10494 …g;Lcom/android/server/pm/dex/PackageDexUsage$DexUseInfo;Lcom/android/server/pm/dex/DexoptOptions;)I
10497 …s(Landroid/content/pm/ApplicationInfo;Ljava/lang/String;Lcom/android/server/pm/dex/DexoptOptions;)I
10498 …roid/content/pm/PackageParser$Package;Ljava/lang/String;Lcom/android/server/pm/dex/DexoptOptions;)I
10502 …om/android/server/pm/dex/PackageDexUsage$PackageUseInfo;Lcom/android/server/pm/dex/DexoptOptions;)I
10503 …android/content/pm/SharedLibraryInfo;[Ljava/lang/String;Lcom/android/server/pm/dex/DexoptOptions;)I
10504 …om/android/server/pm/dex/PackageDexUsage$PackageUseInfo;Lcom/android/server/pm/dex/DexoptOptions;)I
11083 …android/server/pm/PackageManagerService;->performDexOpt(Lcom/android/server/pm/dex/DexoptOptions;)Z
11084 …server/pm/PackageManagerService;->performDexOptInternal(Lcom/android/server/pm/dex/DexoptOptions;)I
11085 …ependenciesLI(Landroid/content/pm/PackageParser$Package;Lcom/android/server/pm/dex/DexoptOptions;)I
[all …]