Home
last modified time | relevance | path

Searched refs:PRIORITY_MIN (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DFlexibilityController.java23 import static android.app.job.JobInfo.PRIORITY_MIN;
1195 DEFAULT_FALLBACK_FLEXIBILITY_DEADLINES.put(PRIORITY_MIN, 48 * HOUR_IN_MILLIS); in DEFAULT_FALLBACK_FLEXIBILITY_DEADLINES.put() argument
1200 DEFAULT_FALLBACK_FLEXIBILITY_DEADLINE_SCORES.put(PRIORITY_MIN, 1); in DEFAULT_FALLBACK_FLEXIBILITY_DEADLINE_SCORES.put() argument
1210 .put(PRIORITY_MIN, 1 * MINUTE_IN_MILLIS); in put() argument
1220 .put(PRIORITY_MIN, new int[]{55, 65, 75, 85}); in put() argument
1427 final int[] oldMin = into.get(PRIORITY_MIN); in parsePercentToDropKeyValueString()
1438 String.valueOf(PRIORITY_MIN), null)); in parsePercentToDropKeyValueString()
1445 into.put(PRIORITY_MIN, newMin == null ? defaults.get(PRIORITY_MIN) : newMin); in parsePercentToDropKeyValueString()
1451 || !Arrays.equals(oldMin, into.get(PRIORITY_MIN)); in parsePercentToDropKeyValueString()
1509 final int oldMin = into.get(PRIORITY_MIN); in parsePriorityToIntKeyValueString()
[all …]
DJobStatus.java1458 default: return JobInfo.PRIORITY_MIN; in getEffectivePriority()
/frameworks/base/services/core/java/com/android/server/os/
DSchedulingPolicyService.java38 private static final int PRIORITY_MIN = 1; field in SchedulingPolicyService
91 if (!isPermitted() || prio < PRIORITY_MIN || in requestPriority()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DFlexibilityControllerTest.java470 .get(JobInfo.PRIORITY_MIN), in testOnConstantsUpdated_PercentsToDropConstraints()
530 assertArrayEquals(new int[]{20, 40, 60, 80}, percentsToDrop.get(JobInfo.PRIORITY_MIN)); in testOnConstantsUpdated_PercentsToDropConstraintsInvalidValues()
839 createJobStatus("time", createJob(0).setPriority(JobInfo.PRIORITY_MIN)), in testGetLifeCycleEndElapsedLocked_NonPrefetch()
898 createJob(0).setPriority(JobInfo.PRIORITY_MIN)); in testGetLifeCycleEndElapsedLocked_ScoreAddition()
942 createJob(0).setPriority(JobInfo.PRIORITY_MIN)), in testGetLifeCycleEndElapsedLocked_ScoreAddition()
1123 createJob(0).setPriority(JobInfo.PRIORITY_MIN)); in testAllowlistedAppBypass()
1177 createJob(0).setPriority(JobInfo.PRIORITY_MIN), carrier1Pkg1); in testCarrierPrivilegedAppBypass()
1185 createJob(0).setPriority(JobInfo.PRIORITY_MIN), carrier1Pkg2); in testCarrierPrivilegedAppBypass()
1193 createJob(0).setPriority(JobInfo.PRIORITY_MIN), carrier2Pkg); in testCarrierPrivilegedAppBypass()
1201 createJob(0).setPriority(JobInfo.PRIORITY_MIN), nonCarrierPkg); in testCarrierPrivilegedAppBypass()
[all …]
DJobStatusTest.java404 createJobStatus(jobBuilder.setPriority(JobInfo.PRIORITY_MIN).build()), false); in testMediaBackupExemption_lowPriorityJobs()
535 assertEquals(JobInfo.PRIORITY_MIN, job.getEffectivePriority()); in testGetEffectivePriority_Regular_High()
539 assertEquals(JobInfo.PRIORITY_MIN, job.getEffectivePriority()); in testGetEffectivePriority_Regular_High()
581 assertEquals(JobInfo.PRIORITY_MIN, job.getEffectivePriority()); in testGetEffectivePriority_Regular_Low()
585 assertEquals(JobInfo.PRIORITY_MIN, job.getEffectivePriority()); in testGetEffectivePriority_Regular_Low()
659 assertEquals(JobInfo.PRIORITY_MIN, job.getEffectivePriority()); in testGetEffectivePriority_UserInitiated()
DConnectivityControllerTest.java499 baseJobBuilder.setExpedited(false).setPriority(JobInfo.PRIORITY_MIN)); in testStrongEnough_Cellular()
501 baseJobBuilder.setExpedited(false).setPriority(JobInfo.PRIORITY_MIN)); in testStrongEnough_Cellular()
673 baseJobBuilder.setExpedited(false).setPriority(JobInfo.PRIORITY_MIN)); in testStrongEnough_Cellular_CheckDisabled()
675 baseJobBuilder.setExpedited(false).setPriority(JobInfo.PRIORITY_MIN)); in testStrongEnough_Cellular_CheckDisabled()
847 baseJobBuilder.setExpedited(false).setPriority(JobInfo.PRIORITY_MIN)); in testStrongEnough_Cellular_VPN()
849 baseJobBuilder.setExpedited(false).setPriority(JobInfo.PRIORITY_MIN)); in testStrongEnough_Cellular_VPN()
DBatteryControllerTest.java316 .setPriority(JobInfo.PRIORITY_MIN) in testTopPowerConnectedExemption()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/restrictions/
DThermalStatusRestriction.java149 return priority == JobInfo.PRIORITY_MIN in isJobRestricted()
/frameworks/base/apex/jobscheduler/framework/java/android/app/job/
DJobInfo.java268 public static final int PRIORITY_MIN = 100; field in JobInfo
315 PRIORITY_MIN,
1408 if (priority > PRIORITY_MAX || priority < PRIORITY_MIN) { in setPriority()
2376 case PRIORITY_MIN: in enforceValidity()
2565 case PRIORITY_MIN: in getPriorityString()
/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DPendingJobQueueTest.java50 JobInfo.PRIORITY_LOW, JobInfo.PRIORITY_MIN
135 createJobInfo(4).setPriority(JobInfo.PRIORITY_MIN), 2); in testContains()
241 createJobInfo(4).setPriority(JobInfo.PRIORITY_MIN), 1); in testRemove_outOfOrder()
741 for (int p = priority - 1; p >= JobInfo.PRIORITY_MIN; --p) {
DJobStoreTest.java617 .setPriority(JobInfo.PRIORITY_MIN) in testPriorityPersisted()
628 JobInfo.PRIORITY_MIN, job.getPriority()); in testPriorityPersisted()
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
DNekoService.java180 .setPriority(Notification.PRIORITY_MIN) in registerJob()
/frameworks/base/services/profcollect/src/com/android/server/profcollect/
DProfcollectForwardingService.java239 .setPriority(JobInfo.PRIORITY_MIN) in schedule()
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DNotificationBuilderTest.java393 b.setPriority(Notification.PRIORITY_MIN); in buildNotification()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationRecord.java394 n.priority = NotificationManagerService.clamp(n.priority, Notification.PRIORITY_MIN, in calculateInitialImportance()
397 case Notification.PRIORITY_MIN: in calculateInitialImportance()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/restrictions/
DThermalStatusRestrictionTest.java141 jobName, createJobBuilder(1).setPriority(JobInfo.PRIORITY_MIN).build()); in JobStatusContainer()
/frameworks/base/core/java/android/app/
DNotification.java798 PRIORITY_MIN,
831 public static final int PRIORITY_MIN = -2; field in Notification
3896 case PRIORITY_MIN: in priorityToString()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationManagerServiceTest.java6009 .setPriority(Notification.PRIORITY_MIN); in testBumpFGImportance_channelChangePreOApp()
6029 .setPriority(Notification.PRIORITY_MIN); in testBumpFGImportance_channelChangePreOApp()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/core/api/
Dcurrent.txt6506 field @Deprecated public static final int PRIORITY_MIN = -2; // 0xfffffffe
9021 field public static final int PRIORITY_MIN = 100; // 0x64
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt4618 field public static final int PRIORITY_MIN = -2; // 0xfffffffe