Home
last modified time | relevance | path

Searched refs:compilationReason (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/dex/
DDexoptOptions.java86 public DexoptOptions(String packageName, int compilationReason, int flags) { in DexoptOptions() argument
87 this(packageName, compilationReason, getCompilerFilterForReason(compilationReason), in DexoptOptions()
91 public DexoptOptions(String packageName, int compilationReason, String compilerFilter, in DexoptOptions() argument
111 mCompilationReason = compilationReason; in DexoptOptions()
DArtManagerService.java579 private static int getCompilationReasonTronValue(String compilationReason) { in getCompilationReasonTronValue() argument
580 switch (compilationReason) { in getCompilationReasonTronValue()
640 String compilationReason; in getPackageOptimizationInfo() local
647 compilationReason = optInfo.getReason(); in getPackageOptimizationInfo()
651 compilationReason = "error"; in getPackageOptimizationInfo()
656 compilationReason = "error"; in getPackageOptimizationInfo()
660 int compilationReasonTronValue = getCompilationReasonTronValue(compilationReason); in getPackageOptimizationInfo()
/frameworks/base/core/java/android/content/pm/dex/
DPackageOptimizationInfo.java28 public PackageOptimizationInfo(int compilerFilter, int compilationReason) { in PackageOptimizationInfo() argument
29 this.mCompilationReason = compilationReason; in PackageOptimizationInfo()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageDexOptimizer.java263 String profileName, String dexMetadataPath, int compilationReason) { in dexOptPath() argument
288 getAugmentedReasonName(compilationReason, dexMetadataPath != null)); in dexOptPath()
301 private String getAugmentedReasonName(int compilationReason, boolean useDexMetadata) { in getAugmentedReasonName() argument
304 return getReasonName(compilationReason) + annotation; in getAugmentedReasonName()
567 final int compilationReason = options.getCompilationReason(); in getDexFlags() local
569 switch (compilationReason) { in getDexFlags()
DOtaDexoptService.java266 int compilationReason) { in generatePackageDexopts() argument
340 new DexoptOptions(pkg.packageName, compilationReason, in generatePackageDexopts()
DInstaller.java311 @Nullable String compilationReason) throws InstallerException { in dexopt() argument
320 targetSdkVersion, profileName, dexMetadataPath, compilationReason); in dexopt()
DPackageManagerShellCommand.java1483 String compilationReason = null; in runCompile() local
1505 compilationReason = getNextArgRequired(); in runCompile()
1516 compilationReason = "install"; in runCompile()
1542 final boolean compilationReasonGiven = compilationReason != null; in runCompile()
1577 compilationReason)) { in runCompile()
1583 pw.println("Error: Unknown compilation reason: " + compilationReason); in runCompile()
DPackageManagerService.java9611 final int compilationReason, boolean bootComplete) {
9711 int pkgCompilationReason = compilationReason;
9728 if (compilationReason == REASON_FIRST_BOOT) {
/frameworks/native/cmds/installd/binder/android/os/
DIInstalld.aidl60 @nullable @utf8InCpp String compilationReason); in dexopt() argument
/frameworks/native/cmds/installd/
DInstalldNativeService.h107 const std::optional<std::string>& compilationReason);
DInstalldNativeService.cpp2289 const std::optional<std::string>& compilationReason) { in dexopt() argument
2315 const char* compilation_reason = getCStr(compilationReason); in dexopt()