/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/ |
D | FlexibilityController.java | 22 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 …]
|
D | JobStatus.java | 1438 maxPriority = JobInfo.PRIORITY_MAX; in getEffectivePriority()
|
/frameworks/base/apex/jobscheduler/framework/java/android/app/job/ |
D | JobInfo.java | 311 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/ |
D | SchedulingPolicyService.java | 39 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/ |
D | PriorityExtractor.java | 47 ? Notification.PRIORITY_MAX : Notification.PRIORITY_DEFAULT); in process()
|
D | NotificationRecord.java | 389 n.priority = Notification.PRIORITY_MAX; in calculateInitialImportance() 395 Notification.PRIORITY_MAX); in calculateInitialImportance() 407 case Notification.PRIORITY_MAX: in calculateInitialImportance()
|
D | ZenModeFiltering.java | 155 boolean inPriorityChannel = record.getPackagePriority() == Notification.PRIORITY_MAX; in canRecordBypassDnd()
|
D | PreferencesHelper.java | 594 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/ |
D | JobStatusTest.java | 458 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()
|
D | FlexibilityControllerTest.java | 454 .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/ |
D | PendingJobQueueTest.java | 469 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/ |
D | NotificationComparatorTest.java | 187 mRecordInlineReply.setPackagePriority(Notification.PRIORITY_MAX); in setUp() 233 mRecordCheater.setPackagePriority(Notification.PRIORITY_MAX); in setUp()
|
D | ZenModeFilteringTest.java | 545 r.setPackagePriority(Notification.PRIORITY_MAX); in testAllowChannels_priorityPackage()
|
D | PreferencesHelperTest.java | 1872 + "\" 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/ |
D | NotificationBuilderTest.java | 405 b.setPriority(Notification.PRIORITY_MAX); in buildNotification()
|
/frameworks/base/core/java/android/app/ |
D | NotificationChannel.java | 1307 out.attributeInt(null, ATT_PRIORITY, Notification.PRIORITY_MAX); in writeXml() 1396 record.put(ATT_PRIORITY, Notification.PRIORITY_MAX); in toJson()
|
D | Notification.java | 800 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/ |
D | Zygote.java | 289 private static final int PRIORITY_MAX = -20; field in Zygote
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-33.jar | AndroidManifest.xml
META-INF/
META-INF/MANIFEST.MF
NOTICES/
NOTICES/libcore ... |
/frameworks/base/core/api/ |
D | current.txt | 6505 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/ |
D | android-22.txt | 4617 field public static final int PRIORITY_MAX = 2; // 0x2
|