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()
63 DexoptOptions.DEXOPT_FORCE | in testCreateDexoptOptionsFull()
64 DexoptOptions.DEXOPT_BOOT_COMPLETE | in testCreateDexoptOptionsFull()
65 DexoptOptions.DEXOPT_CHECK_FOR_PROFILES_UPDATES | in testCreateDexoptOptionsFull()
66 DexoptOptions.DEXOPT_ONLY_SECONDARY_DEX | in testCreateDexoptOptionsFull()
67 DexoptOptions.DEXOPT_ONLY_SHARED_DEX | in testCreateDexoptOptionsFull()
68 DexoptOptions.DEXOPT_DOWNGRADE | in testCreateDexoptOptionsFull()
69 DexoptOptions.DEXOPT_AS_SHARED_LIBRARY | in testCreateDexoptOptionsFull()
70 DexoptOptions.DEXOPT_IDLE_BACKGROUND_JOB | in testCreateDexoptOptionsFull()
71 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
86 public DexoptOptions(String packageName, String compilerFilter, int flags) { in DexoptOptions() method in DexoptOptions
90 public DexoptOptions(String packageName, int compilationReason, int flags) { in DexoptOptions() method in DexoptOptions
95 public DexoptOptions(String packageName, int compilationReason, String compilerFilter, in DexoptOptions() method in DexoptOptions
183 public DexoptOptions overrideCompilerFilter(String newCompilerFilter) { in overrideCompilerFilter()
184 return new DexoptOptions( in overrideCompilerFilter()
DDexManager.java449 public boolean dexoptSecondaryDex(DexoptOptions options) { in dexoptSecondaryDex()
509 public int dexoptSystemServer(DexoptOptions options) { in dexoptSystemServer()
522 DexoptOptions overriddenOptions = options.overrideCompilerFilter( in dexoptSystemServer()
588 private PackageDexOptimizer getPackageDexOptimizer(DexoptOptions options) { in getPackageDexOptimizer()
726 DexoptOptions options = new DexoptOptions(info.packageName, in registerDexModule()
/frameworks/base/services/core/java/com/android/server/pm/
DBackgroundDexOptService.java46 import com.android.server.pm.dex.DexoptOptions;
242 int result = pm.performDexOptWithStatus(new DexoptOptions( in postBootUpdate()
245 DexoptOptions.DEXOPT_BOOT_COMPLETE)); in postBootUpdate()
433 int dexoptFlags = DexoptOptions.DEXOPT_BOOT_COMPLETE in downgradePackage()
434 | DexoptOptions.DEXOPT_IDLE_BACKGROUND_JOB in downgradePackage()
435 | DexoptOptions.DEXOPT_DOWNGRADE; in downgradePackage()
486 int dexoptFlags = DexoptOptions.DEXOPT_CHECK_FOR_PROFILES_UPDATES in optimizePackage()
487 | DexoptOptions.DEXOPT_BOOT_COMPLETE in optimizePackage()
488 | DexoptOptions.DEXOPT_IDLE_BACKGROUND_JOB; in optimizePackage()
500 () -> pm.performDexOptWithStatus(new DexoptOptions(pkg, reason, dexoptFlags))); in performDexOptPrimary()
[all …]
DPackageDexOptimizer.java66 import com.android.server.pm.dex.DexoptOptions;
138 PackageDexUsage.PackageUseInfo packageUseInfo, DexoptOptions options) { in performDexOpt()
168 PackageDexUsage.PackageUseInfo packageUseInfo, DexoptOptions options) { in performDexOptLI()
323 String dexPath, PackageDexUsage.DexUseInfo dexUseInfo, DexoptOptions options) { in dexoptSystemServerPath()
389 PackageDexUsage.DexUseInfo dexUseInfo, DexoptOptions options) { in dexOptSecondaryDexPath()
438 PackageDexUsage.DexUseInfo dexUseInfo, DexoptOptions options) { in dexOptSecondaryDexPathLI()
650 private int getDexFlags(ApplicationInfo info, String compilerFilter, DexoptOptions options) { in getDexFlags()
656 String compilerFilter, DexoptOptions options) { in getDexFlags()
669 String compilerFilter, DexoptOptions options) { in getDexFlags()
DOtaDexoptService.java37 import com.android.server.pm.dex.DexoptOptions;
353 new DexoptOptions(pkg.getPackageName(), compilationReason, in generatePackageDexopts()
354 DexoptOptions.DEXOPT_BOOT_COMPLETE)); in generatePackageDexopts()
/frameworks/base/services/
Dart-profile23287 …s;-><init>(Lcom/android/server/pm/PackageManagerService;Lcom/android/server/pm/dex/DexoptOptions;)V
23650 …om/android/server/pm/PackageManagerService;Lcom/android/server/pm/dex/DexoptOptions;)Ljava/lang/In…
24259 …g;Lcom/android/server/pm/dex/PackageDexUsage$DexUseInfo;Lcom/android/server/pm/dex/DexoptOptions;)I
24260 …g;Lcom/android/server/pm/dex/PackageDexUsage$DexUseInfo;Lcom/android/server/pm/dex/DexoptOptions;)I
24261 …g;Lcom/android/server/pm/dex/PackageDexUsage$DexUseInfo;Lcom/android/server/pm/dex/DexoptOptions;)I
24264 …s(Landroid/content/pm/ApplicationInfo;Ljava/lang/String;Lcom/android/server/pm/dex/DexoptOptions;)I
24265 …Lcom/android/server/pm/PackageSetting;Ljava/lang/String;Lcom/android/server/pm/dex/DexoptOptions;)I
24266 …DexFlags(ZILandroid/util/SparseArray;ZLjava/lang/String;Lcom/android/server/pm/dex/DexoptOptions;)I
24274 …om/android/server/pm/dex/PackageDexUsage$PackageUseInfo;Lcom/android/server/pm/dex/DexoptOptions;)I
24275 …om/android/server/pm/dex/PackageDexUsage$PackageUseInfo;Lcom/android/server/pm/dex/DexoptOptions;)I
[all …]