Home
last modified time | relevance | path

Searched refs:setExpedited (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DPendingJobQueueTest.java73 jobs.add(createJobStatus("testAdd", createJobInfo(3).setExpedited(true), 3)); in testAdd()
75 jobs.add(createJobStatus("testAdd", createJobInfo(5).setExpedited(true), 5)); in testAdd()
95 jobs.add(createJobStatus("testAddAll", createJobInfo(3).setExpedited(true), 3)); in testAddAll()
97 jobs.add(createJobStatus("testAddAll", createJobInfo(5).setExpedited(true), 5)); in testAddAll()
115 jobs.add(createJobStatus("testClear", createJobInfo(3).setExpedited(true), 3)); in testClear()
117 jobs.add(createJobStatus("testClear", createJobInfo(5).setExpedited(true), 5)); in testClear()
133 JobStatus jobb1 = createJobStatus("testRemove", createJobInfo(3).setExpedited(true), 2); in testContains()
184 jobs.add(createJobStatus("testRemove", createJobInfo(3).setExpedited(true), 3)); in testRemove()
186 jobs.add(createJobStatus("testRemove", createJobInfo(5).setExpedited(true), 5)); in testRemove()
214 jobs.add(createJobStatus("testRemove", createJobInfo(3).setExpedited(true), 3)); in testRemove_duringIteration()
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DConnectivityControllerTest.java487 final JobStatus jobExp = createJobStatus(baseJobBuilder.setExpedited(true)); in testStrongEnough_Cellular()
489 baseJobBuilder.setExpedited(false).setPriority(JobInfo.PRIORITY_HIGH)); in testStrongEnough_Cellular()
491 baseJobBuilder.setExpedited(false).setPriority(JobInfo.PRIORITY_DEFAULT), in testStrongEnough_Cellular()
494 baseJobBuilder.setExpedited(false).setPriority(JobInfo.PRIORITY_DEFAULT), in testStrongEnough_Cellular()
497 baseJobBuilder.setExpedited(false).setPriority(JobInfo.PRIORITY_LOW)); in testStrongEnough_Cellular()
499 baseJobBuilder.setExpedited(false).setPriority(JobInfo.PRIORITY_MIN)); in testStrongEnough_Cellular()
501 baseJobBuilder.setExpedited(false).setPriority(JobInfo.PRIORITY_MIN)); in testStrongEnough_Cellular()
661 final JobStatus jobExp = createJobStatus(baseJobBuilder.setExpedited(true)); in testStrongEnough_Cellular_CheckDisabled()
663 baseJobBuilder.setExpedited(false).setPriority(JobInfo.PRIORITY_HIGH)); in testStrongEnough_Cellular_CheckDisabled()
665 baseJobBuilder.setExpedited(false).setPriority(JobInfo.PRIORITY_DEFAULT), in testStrongEnough_Cellular_CheckDisabled()
[all …]
DJobStatusTest.java185 .setExpedited(true) in testCanRunInBatterySaver_expedited()
232 .setExpedited(true) in testCanRunInDoze_expedited()
453 .setExpedited(true) in testGetEffectivePriority_Expedited()
707 .setExpedited(true) in testModifyingInternalFlags()
DFlexibilityControllerTest.java890 createJob(0).setExpedited(true).setPriority(JobInfo.PRIORITY_MAX)); in testGetLifeCycleEndElapsedLocked_ScoreAddition()
919 createJob(0).setExpedited(true).setPriority(JobInfo.PRIORITY_MAX)), in testGetLifeCycleEndElapsedLocked_ScoreAddition()
1057 jb.setExpedited(true); in testExceptions_Expedited()
1791 createJob(0).setExpedited(true).setPriority(JobInfo.PRIORITY_MAX)); in testScoreCalculation()
DQuotaControllerTest.java396 .setExpedited(true) in createExpeditedJobStatus()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/restrictions/
DThermalStatusRestrictionTest.java167 ejDowngraded = createJobStatus(jobName, createJobBuilder(7).setExpedited(true).build()); in JobStatusContainer()
168 ej = spy(createJobStatus(jobName, createJobBuilder(8).setExpedited(true).build())); in JobStatusContainer()
170 spy(createJobStatus(jobName, createJobBuilder(11).setExpedited(true).build())); in JobStatusContainer()
172 spy(createJobStatus(jobName, createJobBuilder(12).setExpedited(true).build())); in JobStatusContainer()
174 spy(createJobStatus(jobName, createJobBuilder(13).setExpedited(true).build())); in JobStatusContainer()
/frameworks/base/core/java/android/content/
DSyncRequest.java517 public Builder setExpedited(boolean expedited) { in setExpedited() method in SyncRequest.Builder
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/
DJobSchedulerServiceTest.java274 createJobInfo(1).setExpedited(true)); in testGetMinJobExecutionGuaranteeMs()
276 createJobInfo(2).setExpedited(true).setPriority(JobInfo.PRIORITY_HIGH)); in testGetMinJobExecutionGuaranteeMs()
278 createJobInfo(3).setExpedited(true)); in testGetMinJobExecutionGuaranteeMs()
280 createJobInfo(4).setExpedited(true).setPriority(JobInfo.PRIORITY_HIGH)); in testGetMinJobExecutionGuaranteeMs()
364 createJobInfo(2).setExpedited(true)); in testGetMinJobExecutionGuaranteeMs_timeoutSafeguards_disabled()
484 createJobInfo(2).setExpedited(true)); in testGetMinJobExecutionGuaranteeMs_timeoutSafeguards_enabled()
618 createJobInfo(2).setExpedited(true)); in testGetMaxJobExecutionTimeMs()
650 createJobInfo(2).setExpedited(true)); in testGetMaxJobExecutionTimeMs_timeoutSafeguards_disabled()
775 createJobInfo(2).setExpedited(true)); in testGetMaxJobExecutionTimeMs_timeoutSafeguards_enabled()
2073 createJobInfo().setExpedited(true)); in testActiveJobBatching_activeBatchingEnabled()
/frameworks/base/apex/jobscheduler/framework/java/android/app/job/
DJobInfo.java2034 public Builder setExpedited(boolean expedited) { in setExpedited() method in JobInfo.Builder
/frameworks/base/services/core/java/com/android/server/content/
DSyncManager.java1830 b.setExpedited(true); in scheduleSyncOperationH()
1866 b.setExpedited(false).setExtras(syncOperation.toJobInfoExtras()); in scheduleSyncOperationH()
/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.txt9033 method @NonNull public android.app.job.JobInfo.Builder setExpedited(boolean);
11887 method public android.content.SyncRequest.Builder setExpedited(boolean);
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt8198 method public android.content.SyncRequest.Builder setExpedited(boolean);