Home
last modified time | relevance | path

Searched refs:PRIORITY_HIGH (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/base/telephony/java/android/telephony/
DAvailableNetworkInfo.java41 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/
DFlexibilityController.java20 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 …]
DJobStatus.java1436 maxPriority = JobInfo.PRIORITY_HIGH; in getEffectivePriority()
1451 return JobInfo.PRIORITY_HIGH; in getEffectivePriority()
DConnectivityController.java923 if (priority >= JobInfo.PRIORITY_HIGH) { in isStrongEnough()
DQuotaController.java793 final boolean isJobImportant = jobStatus.getEffectivePriority() >= JobInfo.PRIORITY_HIGH in getMaxJobExecutionTimeMsLocked()
/frameworks/base/apex/jobscheduler/framework/java/android/app/job/
DJobInfo.java297 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/
DJobStatusTest.java469 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 …]
DFlexibilityControllerTest.java458 .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 …]
DConnectivityControllerTest.java489 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()
DQuotaControllerTest.java1358 createJobInfoBuilder(2).setPriority(JobInfo.PRIORITY_HIGH).build()); in testGetMaxJobExecutionTimeLocked_Regular()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DBadgeExtractorTest.java76 .setPriority(Notification.PRIORITY_HIGH) in getNotificationRecord()
106 .setPriority(Notification.PRIORITY_HIGH) in getNotificationRecordWithBubble()
131 .setPriority(Notification.PRIORITY_HIGH) in getNotificationRecordWithMedia()
DImportanceExtractorTest.java63 .setPriority(Notification.PRIORITY_HIGH) in getNotificationRecord()
DBubbleExtractorTest.java113 .setPriority(Notification.PRIORITY_HIGH) in getNotificationRecord()
DNotificationRecordTest.java159 .setPriority(Notification.PRIORITY_HIGH); in getNotification()
239 .setPriority(Notification.PRIORITY_HIGH) in getNotification()
DNotificationAttentionHelperTest.java382 .setPriority(Notification.PRIORITY_HIGH); in getCallRecord()
455 .setPriority(Notification.PRIORITY_HIGH) in getNotificationRecord()
/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DPendingJobQueueTest.java49 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/
DPduHeaders.java209 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/
DThermalStatusRestriction.java133 if (priority == JobInfo.PRIORITY_HIGH) { in isJobRestricted()
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DStatusBarTest.java171 .setPriority(Notification.PRIORITY_HIGH)
DNotificationBuilderTest.java402 b.setPriority(Notification.PRIORITY_HIGH); in buildNotification()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/restrictions/
DThermalStatusRestrictionTest.java158 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/
DCarrierActionUtils.java231 .setPriority(Notification.PRIORITY_HIGH) in getNotification()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/
DJobSchedulerServiceTest.java276 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/
DNotificationRecord.java406 case Notification.PRIORITY_HIGH: in calculateInitialImportance()
/frameworks/base/core/java/android/app/
DNotification.java799 PRIORITY_HIGH,
841 public static final int PRIORITY_HIGH = 1; field in Notification
3902 case PRIORITY_HIGH: in priorityToString()

12