Home
last modified time | relevance | path

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

/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DFlexibilityController.java22 import static android.app.job.JobInfo.PRIORITY_MAX;
1191 DEFAULT_FALLBACK_FLEXIBILITY_DEADLINES.put(PRIORITY_MAX, HOUR_IN_MILLIS); in DEFAULT_FALLBACK_FLEXIBILITY_DEADLINES.put() argument
1196 DEFAULT_FALLBACK_FLEXIBILITY_DEADLINE_SCORES.put(PRIORITY_MAX, 5); in DEFAULT_FALLBACK_FLEXIBILITY_DEADLINE_SCORES.put() argument
1202 .put(PRIORITY_MAX, 0); in put() argument
1212 .put(PRIORITY_MAX, new int[]{1, 2, 3, 4}); in put() argument
1423 final int[] oldMax = into.get(PRIORITY_MAX); in parsePercentToDropKeyValueString()
1430 String.valueOf(PRIORITY_MAX), null)); in parsePercentToDropKeyValueString()
1440 into.put(PRIORITY_MAX, newMax == null ? defaults.get(PRIORITY_MAX) : newMax); in parsePercentToDropKeyValueString()
1447 return !Arrays.equals(oldMax, into.get(PRIORITY_MAX)) in parsePercentToDropKeyValueString()
1505 final int oldMax = into.get(PRIORITY_MAX); in parsePriorityToIntKeyValueString()
[all …]
DJobStatus.java1438 maxPriority = JobInfo.PRIORITY_MAX; in getEffectivePriority()
/frameworks/base/apex/jobscheduler/framework/java/android/app/job/
DJobInfo.java311 public static final int PRIORITY_MAX = 500; field in JobInfo
319 PRIORITY_MAX,
1408 if (priority > PRIORITY_MAX || priority < PRIORITY_MIN) { in setPriority()
2040 mPriority = PRIORITY_MAX; in setExpedited()
2043 if (mPriority == PRIORITY_MAX && (mFlags & FLAG_EXPEDITED) != 0) { in setExpedited()
2099 mPriority = PRIORITY_MAX; in setUserInitiated()
2102 if (mPriority == PRIORITY_MAX && (mFlags & FLAG_USER_INITIATED) != 0) { in setUserInitiated()
2360 case PRIORITY_MAX: in enforceValidity()
2429 if (mPriority != PRIORITY_MAX && mPriority != PRIORITY_HIGH) { in enforceValidity()
2459 if (mPriority != PRIORITY_MAX) { in enforceValidity()
[all …]
/frameworks/base/services/core/java/com/android/server/os/
DSchedulingPolicyService.java39 private static final int PRIORITY_MAX = 3; field in SchedulingPolicyService
92 prio > PRIORITY_MAX || Process.getThreadGroupLeader(tid) != pid) { in requestPriority()
/frameworks/base/services/core/java/com/android/server/notification/
DPriorityExtractor.java47 ? Notification.PRIORITY_MAX : Notification.PRIORITY_DEFAULT); in process()
DNotificationRecord.java389 n.priority = Notification.PRIORITY_MAX; in calculateInitialImportance()
395 Notification.PRIORITY_MAX); in calculateInitialImportance()
407 case Notification.PRIORITY_MAX: in calculateInitialImportance()
DZenModeFiltering.java155 boolean inPriorityChannel = record.getPackagePriority() == Notification.PRIORITY_MAX; in canRecordBypassDnd()
DPreferencesHelper.java594 channel.setBypassDnd(r.priority == Notification.PRIORITY_MAX); in createDefaultChannelIfNeededLocked()
1062 channel.setBypassDnd(r.priority == Notification.PRIORITY_MAX); in createNotificationChannel()
1166 ? Notification.PRIORITY_MAX : Notification.PRIORITY_DEFAULT; in updateNotificationChannel()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DJobStatusTest.java458 assertEquals(JobInfo.PRIORITY_MAX, job.getEffectivePriority()); in testGetEffectivePriority_Expedited()
463 assertEquals(JobInfo.PRIORITY_MAX, job.getEffectivePriority()); in testGetEffectivePriority_Expedited()
484 assertEquals(JobInfo.PRIORITY_MAX, job.getEffectivePriority()); in testGetEffectivePriority_Expedited()
605 assertEquals(JobInfo.PRIORITY_MAX, job.getEffectivePriority()); in testGetEffectivePriority_UserInitiated()
610 assertEquals(JobInfo.PRIORITY_MAX, job.getEffectivePriority()); in testGetEffectivePriority_UserInitiated()
616 assertEquals(JobInfo.PRIORITY_MAX, job.getEffectivePriority()); in testGetEffectivePriority_UserInitiated()
620 assertEquals(JobInfo.PRIORITY_MAX, job.getEffectivePriority()); in testGetEffectivePriority_UserInitiated()
624 assertEquals(JobInfo.PRIORITY_MAX, job.getEffectivePriority()); in testGetEffectivePriority_UserInitiated()
631 assertEquals(JobInfo.PRIORITY_MAX, job.getEffectivePriority()); in testGetEffectivePriority_UserInitiated()
DFlexibilityControllerTest.java454 .get(JobInfo.PRIORITY_MAX), in testOnConstantsUpdated_PercentsToDropConstraints()
523 assertArrayEquals(defaultPercentsToDrop.get(JobInfo.PRIORITY_MAX), in testOnConstantsUpdated_PercentsToDropConstraintsInvalidValues()
524 percentsToDrop.get(JobInfo.PRIORITY_MAX)); in testOnConstantsUpdated_PercentsToDropConstraintsInvalidValues()
890 createJob(0).setExpedited(true).setPriority(JobInfo.PRIORITY_MAX)); in testGetLifeCycleEndElapsedLocked_ScoreAddition()
919 createJob(0).setExpedited(true).setPriority(JobInfo.PRIORITY_MAX)), in testGetLifeCycleEndElapsedLocked_ScoreAddition()
1791 createJob(0).setExpedited(true).setPriority(JobInfo.PRIORITY_MAX)); in testScoreCalculation()
/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DPendingJobQueueTest.java469 createJobInfo(8).setExpedited(true).setPriority(JobInfo.PRIORITY_MAX), in testPendingJobSorting_namespacing()
618 priority = random.nextBoolean() ? JobInfo.PRIORITY_MAX : JobInfo.PRIORITY_HIGH;
645 priority = random.nextBoolean() ? JobInfo.PRIORITY_MAX : JobInfo.PRIORITY_HIGH;
675 priority = random.nextBoolean() ? JobInfo.PRIORITY_MAX : JobInfo.PRIORITY_HIGH;
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationComparatorTest.java187 mRecordInlineReply.setPackagePriority(Notification.PRIORITY_MAX); in setUp()
233 mRecordCheater.setPackagePriority(Notification.PRIORITY_MAX); in setUp()
DZenModeFilteringTest.java545 r.setPackagePriority(Notification.PRIORITY_MAX); in testAllowChannels_priorityPackage()
DPreferencesHelperTest.java1872 + "\" priority=\"" + Notification.PRIORITY_MAX + "\" visibility=\"" in testChannelXml_upgradeCreateDefaultChannel()
2080 assertEquals(Notification.PRIORITY_MAX, mHelper.getPackagePriority(PKG_N_MR1, UID_N_MR1)); in testUpdate_preUpgrade_updatesAppFields()
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DNotificationBuilderTest.java405 b.setPriority(Notification.PRIORITY_MAX); in buildNotification()
/frameworks/base/core/java/android/app/
DNotificationChannel.java1307 out.attributeInt(null, ATT_PRIORITY, Notification.PRIORITY_MAX); in writeXml()
1396 record.put(ATT_PRIORITY, Notification.PRIORITY_MAX); in toJson()
DNotification.java800 PRIORITY_MAX
850 public static final int PRIORITY_MAX = 2; field in Notification
3904 case PRIORITY_MAX: in priorityToString()
/frameworks/base/core/java/com/android/internal/os/
DZygote.java289 private static final int PRIORITY_MAX = -20; field in Zygote
/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.txt6505 field @Deprecated public static final int PRIORITY_MAX = 2; // 0x2
9020 field public static final int PRIORITY_MAX = 500; // 0x1f4
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt4617 field public static final int PRIORITY_MAX = 2; // 0x2