/frameworks/base/telephony/java/android/telephony/ |
D | AvailableNetworkInfo.java | 41 public static final int PRIORITY_HIGH = 1; field in AvailableNetworkInfo 55 PRIORITY_HIGH, 302 || priority < AvailableNetworkInfo.PRIORITY_HIGH) { in setPriority()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/ |
D | FlexibilityController.java | 20 import static android.app.job.JobInfo.PRIORITY_HIGH; 1192 DEFAULT_FALLBACK_FLEXIBILITY_DEADLINES.put(PRIORITY_HIGH, 6 * HOUR_IN_MILLIS); in DEFAULT_FALLBACK_FLEXIBILITY_DEADLINES.put() argument 1197 DEFAULT_FALLBACK_FLEXIBILITY_DEADLINE_SCORES.put(PRIORITY_HIGH, 4); in DEFAULT_FALLBACK_FLEXIBILITY_DEADLINE_SCORES.put() argument 1204 .put(PRIORITY_HIGH, 3 * MINUTE_IN_MILLIS); in put() argument 1214 .put(PRIORITY_HIGH, new int[]{33, 50, 60, 75}); in put() argument 1424 final int[] oldHigh = into.get(PRIORITY_HIGH); in parsePercentToDropKeyValueString() 1432 String.valueOf(PRIORITY_HIGH), null)); in parsePercentToDropKeyValueString() 1441 into.put(PRIORITY_HIGH, newHigh == null ? defaults.get(PRIORITY_HIGH) : newHigh); in parsePercentToDropKeyValueString() 1448 || !Arrays.equals(oldHigh, into.get(PRIORITY_HIGH)) in parsePercentToDropKeyValueString() 1506 final int oldHigh = into.get(PRIORITY_HIGH); in parsePriorityToIntKeyValueString() [all …]
|
D | JobStatus.java | 1436 maxPriority = JobInfo.PRIORITY_HIGH; in getEffectivePriority() 1451 return JobInfo.PRIORITY_HIGH; in getEffectivePriority()
|
D | ConnectivityController.java | 923 if (priority >= JobInfo.PRIORITY_HIGH) { in isStrongEnough()
|
D | QuotaController.java | 793 final boolean isJobImportant = jobStatus.getEffectivePriority() >= JobInfo.PRIORITY_HIGH in getMaxJobExecutionTimeMsLocked()
|
/frameworks/base/apex/jobscheduler/framework/java/android/app/job/ |
D | JobInfo.java | 297 public static final int PRIORITY_HIGH = 400; field in JobInfo 318 PRIORITY_HIGH, 2139 mPriority = PRIORITY_HIGH; in setImportantWhileForeground() 2142 if (mPriority == PRIORITY_HIGH in setImportantWhileForeground() 2350 if (mPriority != PRIORITY_HIGH && mPriority != PRIORITY_DEFAULT) { in enforceValidity() 2366 case PRIORITY_HIGH: in enforceValidity() 2429 if (mPriority != PRIORITY_MAX && mPriority != PRIORITY_HIGH) { in enforceValidity() 2571 case PRIORITY_HIGH: in getPriorityString()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/ |
D | JobStatusTest.java | 469 assertEquals(JobInfo.PRIORITY_HIGH, job.getEffectivePriority()); in testGetEffectivePriority_Expedited() 473 assertEquals(JobInfo.PRIORITY_HIGH, job.getEffectivePriority()); in testGetEffectivePriority_Expedited() 477 assertEquals(JobInfo.PRIORITY_HIGH, job.getEffectivePriority()); in testGetEffectivePriority_Expedited() 492 assertEquals(JobInfo.PRIORITY_HIGH, job.getEffectivePriority()); in testGetEffectivePriority_Expedited() 499 .setPriority(JobInfo.PRIORITY_HIGH) in testGetEffectivePriority_Regular_High() 504 assertEquals(JobInfo.PRIORITY_HIGH, job.getEffectivePriority()); in testGetEffectivePriority_Regular_High() 509 assertEquals(JobInfo.PRIORITY_HIGH, job.getEffectivePriority()); in testGetEffectivePriority_Regular_High() 546 assertEquals(JobInfo.PRIORITY_HIGH, job.getEffectivePriority()); in testGetEffectivePriority_Regular_High() 640 assertEquals(JobInfo.PRIORITY_HIGH, job.getEffectivePriority()); in testGetEffectivePriority_UserInitiated() 645 assertEquals(JobInfo.PRIORITY_HIGH, job.getEffectivePriority()); in testGetEffectivePriority_UserInitiated() [all …]
|
D | FlexibilityControllerTest.java | 458 .get(JobInfo.PRIORITY_HIGH), in testOnConstantsUpdated_PercentsToDropConstraints() 525 assertArrayEquals(defaultPercentsToDrop.get(JobInfo.PRIORITY_HIGH), in testOnConstantsUpdated_PercentsToDropConstraintsInvalidValues() 526 percentsToDrop.get(JobInfo.PRIORITY_HIGH)); in testOnConstantsUpdated_PercentsToDropConstraintsInvalidValues() 827 createJobStatus("time", createJob(0).setPriority(JobInfo.PRIORITY_HIGH)), in testGetLifeCycleEndElapsedLocked_NonPrefetch() 892 createJob(0).setPriority(JobInfo.PRIORITY_HIGH)); in testGetLifeCycleEndElapsedLocked_ScoreAddition() 924 createJob(0).setPriority(JobInfo.PRIORITY_HIGH)), in testGetLifeCycleEndElapsedLocked_ScoreAddition() 1117 createJob(0).setPriority(JobInfo.PRIORITY_HIGH)); in testAllowlistedAppBypass() 1171 createJob(0).setPriority(JobInfo.PRIORITY_HIGH), carrier1Pkg1); in testCarrierPrivilegedAppBypass() 1179 createJob(0).setPriority(JobInfo.PRIORITY_HIGH), carrier1Pkg2); in testCarrierPrivilegedAppBypass() 1187 createJob(0).setPriority(JobInfo.PRIORITY_HIGH), carrier2Pkg); in testCarrierPrivilegedAppBypass() [all …]
|
D | ConnectivityControllerTest.java | 489 baseJobBuilder.setExpedited(false).setPriority(JobInfo.PRIORITY_HIGH)); in testStrongEnough_Cellular() 663 baseJobBuilder.setExpedited(false).setPriority(JobInfo.PRIORITY_HIGH)); in testStrongEnough_Cellular_CheckDisabled() 837 baseJobBuilder.setExpedited(false).setPriority(JobInfo.PRIORITY_HIGH)); in testStrongEnough_Cellular_VPN()
|
D | QuotaControllerTest.java | 1358 createJobInfoBuilder(2).setPriority(JobInfo.PRIORITY_HIGH).build()); in testGetMaxJobExecutionTimeLocked_Regular()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | BadgeExtractorTest.java | 76 .setPriority(Notification.PRIORITY_HIGH) in getNotificationRecord() 106 .setPriority(Notification.PRIORITY_HIGH) in getNotificationRecordWithBubble() 131 .setPriority(Notification.PRIORITY_HIGH) in getNotificationRecordWithMedia()
|
D | ImportanceExtractorTest.java | 63 .setPriority(Notification.PRIORITY_HIGH) in getNotificationRecord()
|
D | BubbleExtractorTest.java | 113 .setPriority(Notification.PRIORITY_HIGH) in getNotificationRecord()
|
D | NotificationRecordTest.java | 159 .setPriority(Notification.PRIORITY_HIGH); in getNotification() 239 .setPriority(Notification.PRIORITY_HIGH) in getNotification()
|
D | NotificationAttentionHelperTest.java | 382 .setPriority(Notification.PRIORITY_HIGH); in getCallRecord() 455 .setPriority(Notification.PRIORITY_HIGH) in getNotificationRecord()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/job/ |
D | PendingJobQueueTest.java | 49 JobInfo.PRIORITY_HIGH, JobInfo.PRIORITY_DEFAULT, 458 createJobInfo(3).setExpedited(true).setPriority(JobInfo.PRIORITY_HIGH), in testPendingJobSorting_namespacing() 472 createJobInfo(9).setPriority(JobInfo.PRIORITY_HIGH), 5, namespaceZ); 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/telephony/common/com/google/android/mms/pdu/ |
D | PduHeaders.java | 209 public static final int PRIORITY_HIGH = 0x82; field in PduHeaders 401 if ((value < PRIORITY_LOW) || (value > PRIORITY_HIGH)) { in setOctet()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/restrictions/ |
D | ThermalStatusRestriction.java | 133 if (priority == JobInfo.PRIORITY_HIGH) { in isJobRestricted()
|
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
D | StatusBarTest.java | 171 .setPriority(Notification.PRIORITY_HIGH)
|
D | NotificationBuilderTest.java | 402 b.setPriority(Notification.PRIORITY_HIGH); in buildNotification()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/restrictions/ |
D | ThermalStatusRestrictionTest.java | 158 createJobBuilder(5).setPriority(JobInfo.PRIORITY_HIGH).build()); in JobStatusContainer() 162 createJobBuilder(6).setPriority(JobInfo.PRIORITY_HIGH).build()); in JobStatusContainer() 166 createJobBuilder(10).setPriority(JobInfo.PRIORITY_HIGH).build()); in JobStatusContainer()
|
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/ |
D | CarrierActionUtils.java | 231 .setPriority(Notification.PRIORITY_HIGH) in getNotification()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/ |
D | JobSchedulerServiceTest.java | 276 createJobInfo(2).setExpedited(true).setPriority(JobInfo.PRIORITY_HIGH)); in testGetMinJobExecutionGuaranteeMs() 280 createJobInfo(4).setExpedited(true).setPriority(JobInfo.PRIORITY_HIGH)); in testGetMinJobExecutionGuaranteeMs() 282 createJobInfo(5).setPriority(JobInfo.PRIORITY_HIGH)); in testGetMinJobExecutionGuaranteeMs()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationRecord.java | 406 case Notification.PRIORITY_HIGH: in calculateInitialImportance()
|
/frameworks/base/core/java/android/app/ |
D | Notification.java | 799 PRIORITY_HIGH, 841 public static final int PRIORITY_HIGH = 1; field in Notification 3902 case PRIORITY_HIGH: in priorityToString()
|