Searched refs:ReasonMapping (Results 1 – 14 of 14) sorted by relevance
/art/libartservice/service/java/com/android/server/art/model/ |
D | ArtFlags.java | 27 import com.android.server.art.ReasonMapping; 163 case ReasonMapping.REASON_INSTALL: in defaultDexoptFlags() 164 case ReasonMapping.REASON_INSTALL_FAST: in defaultDexoptFlags() 165 case ReasonMapping.REASON_INSTALL_BULK: in defaultDexoptFlags() 166 case ReasonMapping.REASON_INSTALL_BULK_SECONDARY: in defaultDexoptFlags() 167 case ReasonMapping.REASON_INSTALL_BULK_DOWNGRADED: in defaultDexoptFlags() 168 case ReasonMapping.REASON_INSTALL_BULK_SECONDARY_DOWNGRADED: in defaultDexoptFlags() 170 case ReasonMapping.REASON_INACTIVE: in defaultDexoptFlags() 172 case ReasonMapping.REASON_FIRST_BOOT: in defaultDexoptFlags() 173 case ReasonMapping.REASON_BOOT_AFTER_OTA: in defaultDexoptFlags() [all …]
|
D | DexoptParams.java | 31 import com.android.server.art.ReasonMapping; 134 mParams.mCompilerFilter = ReasonMapping.getCompilerFilterForReason(mParams.mReason); in build() 141 mParams.mPriorityClass = ReasonMapping.getPriorityClassForReason(mParams.mReason); in build()
|
/art/libartservice/service/javatests/com/android/server/art/ |
D | ReasonMappingTest.java | 46 assertThat(ReasonMapping.getCompilerFilterForReason("foo")).isEqualTo("speed"); in testGetCompilerFilterForReason() 52 ReasonMapping.getCompilerFilterForReason("foo"); in testGetCompilerFilterForReasonInvalidFilter() 57 ReasonMapping.getCompilerFilterForReason("foo"); in testGetCompilerFilterForReasonInvalidReason() 63 assertThat(ReasonMapping.getCompilerFilterForShared()).isEqualTo("speed"); in testGetCompilerFilterForShared() 69 ReasonMapping.getCompilerFilterForShared(); in testGetCompilerFilterForSharedProfileGuidedFilter() 74 assertThat(ReasonMapping.getPriorityClassForReason("install")) in testGetPriorityClassForReason() 80 ReasonMapping.getPriorityClassForReason("foo"); in testGetPriorityClassForReasonInvalidReason() 88 assertThat(ReasonMapping.getConcurrencyForReason("bg-dexopt")).isEqualTo(3); in testGetConcurrencyForReason()
|
D | ArtManagerLocalTest.java | 1129 argThat(params -> params.getReason().equals(ReasonMapping.REASON_FIRST_BOOT)), in testOnBoot() 1134 ReasonMapping.REASON_FIRST_BOOT, progressCallbackExecutor, progressCallback); in testOnBoot() 1140 argThat(params -> params.getReason().equals(ReasonMapping.REASON_FIRST_BOOT)), in testOnBootNoProgressCallback() 1144 mArtManagerLocal.onBoot(ReasonMapping.REASON_FIRST_BOOT, in testOnBootNoProgressCallback() 1376 mArtManagerLocal.onBoot(ReasonMapping.REASON_BOOT_AFTER_OTA, in testCommitPreRebootStagedFiles()
|
D | BackgroundDexoptJobTest.java | 127 same(mSnapshot), eq(ReasonMapping.REASON_BG_DEXOPT), any(), any(), any())) in testStart()
|
/art/libartservice/service/java/com/android/server/art/ |
D | ReasonMapping.java | 46 public class ReasonMapping { class 47 private ReasonMapping() {} in ReasonMapping() method in ReasonMapping
|
D | ArtShellCommand.java | 23 import static com.android.server.art.ReasonMapping.BatchDexoptReason; 295 var paramsBuilder = new DexoptParams.Builder(ReasonMapping.REASON_CMDLINE); in handleCompile() 297 if (reason.equals(ReasonMapping.REASON_INACTIVE)) { in handleCompile() 301 paramsBuilder.setCompilerFilter(ReasonMapping.getCompilerFilterForReason(reason)); in handleCompile() 304 paramsBuilder.setPriorityClass(ReasonMapping.getPriorityClassForReason(reason)); in handleCompile() 373 new DexoptParams.Builder(ReasonMapping.REASON_CMDLINE) in handleForceDexopt() 396 new DexoptParams.Builder(ReasonMapping.REASON_BG_DEXOPT).build(), in handleBgDexoptJob() 609 if (!ReasonMapping.BATCH_DEXOPT_REASONS.contains(reason)) { in handleBatchDexopt() 611 ReasonMapping.BATCH_DEXOPT_REASONS); in handleBatchDexopt() 1191 return reason.equals(ReasonMapping.REASON_BG_DEXOPT) ? "Dexopting apps (main pass)" in getProgressMessageForBatchDexoptPass()
|
D | ArtManagerLocal.java | 27 import static com.android.server.art.ReasonMapping.BatchDexoptReason; 28 import static com.android.server.art.ReasonMapping.BootReason; 418 new DexoptParams.Builder(ReasonMapping.REASON_INSTALL).build(), cancellationSignal); in resetDexoptStatus() 490 Executors.newFixedThreadPool(ReasonMapping.getConcurrencyForReason(reason)); in dexoptPackages() 494 if (reason.equals(ReasonMapping.REASON_BG_DEXOPT)) { in dexoptPackages() 510 if (reason.equals(ReasonMapping.REASON_BG_DEXOPT)) { in dexoptPackages() 885 if ((bootReason.equals(ReasonMapping.REASON_BOOT_AFTER_OTA) in onBoot() 886 || bootReason.equals(ReasonMapping.REASON_BOOT_AFTER_MAINLINE_UPDATE)) in onBoot() 1204 List<String> packages = getDefaultPackages(snapshot, ReasonMapping.REASON_INACTIVE) in maybeDowngradePackages() 1211 new DexoptParams.Builder(ReasonMapping.REASON_INACTIVE).build(); in maybeDowngradePackages() [all …]
|
D | BackgroundDexoptJob.java | 235 ReasonMapping.REASON_BG_DEXOPT, cancellationSignal, Runnable::run, in run()
|
D | Dexopter.java | 171 needsToBeShared ? ReasonMapping.getCompilerFilterForShared() in dexopt() 550 && ReasonMapping.REASONS_FOR_INSTALL.contains(dexoptOptions.compilationReason)) { in dexoptFile()
|
/art/libartservice/service/java/com/android/server/art/prereboot/ |
D | PreRebootManager.java | 34 import com.android.server.art.ReasonMapping; 113 artManagerLocal.dexoptPackages(snapshot, ReasonMapping.REASON_PRE_REBOOT_DEXOPT, in run()
|
D | PreRebootStatsReporter.java | 34 import com.android.server.art.ReasonMapping; 302 ReasonMapping.REASON_PRE_REBOOT_DEXOPT)); in hasUsablePreRebootArtifacts()
|
/art/libartservice/service/api/ |
D | system-server-current.txt | 66 public class ReasonMapping {
|
/art/libartservice/service/ |
D | README.md | 73 `art/libartservice/service/java/com/android/server/art/ReasonMapping.java`
|