Home
last modified time | relevance | path

Searched refs:setOverrideDeadline (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DBiasSchedulingTest.java71 .setOverrideDeadline(0) in testLowerBiasJobPreempted()
79 .setOverrideDeadline(4000) in testLowerBiasJobPreempted()
103 .setOverrideDeadline(0) in testHigherBiasJobNotPreempted()
111 .setOverrideDeadline(3000) in testHigherBiasJobNotPreempted()
DJobStoreTest.java145 .setOverrideDeadline(4 * HOUR_IN_MILLIS) in runRemovingLastJob()
198 .setOverrideDeadline(3 * HOUR_IN_MILLIS) in runClearJobs()
228 .setOverrideDeadline(5 * HOUR_IN_MILLIS) in testSkipExtraFiles()
341 .setOverrideDeadline(6 * HOUR_IN_MILLIS) in testMaybeWriteStatusToDisk()
382 .setOverrideDeadline(7 * HOUR_IN_MILLIS) in runWritingTwoJobsToDisk()
545 .setOverrideDeadline(8 * HOUR_IN_MILLIS) in testBiasPersisted()
616 .setOverrideDeadline(9 * HOUR_IN_MILLIS) in testPriorityPersisted()
637 .setOverrideDeadline(10 * HOUR_IN_MILLIS) in testNonPersistedTaskIsNotPersisted()
643 .setOverrideDeadline(11 * HOUR_IN_MILLIS) in testNonPersistedTaskIsNotPersisted()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DTimeControllerTest.java153 createJob().setOverrideDeadline(1)); in testMaybeStartTrackingJobLocked_AlreadySatisfied()
305 createJob().setOverrideDeadline(HOUR_IN_MILLIS)); in runTestMaybeStartTrackingJobLocked_DeadlineInOrder()
307 createJob().setOverrideDeadline(30 * MINUTE_IN_MILLIS)); in runTestMaybeStartTrackingJobLocked_DeadlineInOrder()
309 createJob().setOverrideDeadline(5 * MINUTE_IN_MILLIS)); in runTestMaybeStartTrackingJobLocked_DeadlineInOrder()
331 createJob().setOverrideDeadline(HOUR_IN_MILLIS)); in testMaybeStartTrackingJobLocked_DeadlineInOrder_SomeNotReady()
333 createJob().setOverrideDeadline(30 * MINUTE_IN_MILLIS)); in testMaybeStartTrackingJobLocked_DeadlineInOrder_SomeNotReady()
335 createJob().setOverrideDeadline(5 * MINUTE_IN_MILLIS)); in testMaybeStartTrackingJobLocked_DeadlineInOrder_SomeNotReady()
371 createJob().setOverrideDeadline(HOUR_IN_MILLIS)); in runTestMaybeStartTrackingJobLocked_DeadlineReverseOrder()
374 createJob().setOverrideDeadline(30 * MINUTE_IN_MILLIS)); in runTestMaybeStartTrackingJobLocked_DeadlineReverseOrder()
377 createJob().setOverrideDeadline(5 * MINUTE_IN_MILLIS)); in runTestMaybeStartTrackingJobLocked_DeadlineReverseOrder()
[all …]
DFlexibilityControllerTest.java441 .setOverrideDeadline(HOUR_IN_MILLIS); in testOnConstantsUpdated_PercentsToDropConstraints()
547 JobInfo.Builder jb = createJob(0).setOverrideDeadline(HOUR_IN_MILLIS); in testGetNextConstraintDropTimeElapsedLocked()
606 .setOverrideDeadline(2 * HOUR_IN_MILLIS) in testGetNextConstraintDropTimeElapsedLocked()
633 JobInfo.Builder jb = createJob(0).setOverrideDeadline(deadline); in testCurPercent()
659 jb = createJob(0).setOverrideDeadline(deadline).setMinimumLatency(delay); in testCurPercent()
818 JobInfo.Builder jb = createJob(0).setOverrideDeadline(HOUR_IN_MILLIS); in testGetLifeCycleEndElapsedLocked_NonPrefetch()
847 JobInfo.Builder jb = createJob(0).setOverrideDeadline(HOUR_IN_MILLIS); in testGetLifeCycleEndElapsedLocked_Rescheduled()
907 JobInfo.Builder jbWithLongDeadline = createJob(0).setOverrideDeadline(longDeadlineMs); in testGetLifeCycleEndElapsedLocked_ScoreAddition()
911 createJob(0).setOverrideDeadline(15 * MINUTE_IN_MILLIS); in testGetLifeCycleEndElapsedLocked_ScoreAddition()
1075 jb.setOverrideDeadline(2); in testExceptions_ShortWindow()
DJobStatusTest.java346 .setOverrideDeadline(HOUR_IN_MILLIS) in testMediaBackupExemption_lateConstraint()
954 .setOverrideDeadline(HOUR_IN_MILLIS) in testWouldBeReadyWithConstraint_RequestedOverrideDeadline()
1110 .setOverrideDeadline(HOUR_IN_MILLIS) in testWouldBeReadyWithConstraint_RequestedMixture_WithDeadline()
/frameworks/base/services/core/java/com/android/server/
DPreloadsFileCacheExpirationJobService.java67 .setOverrideDeadline(keepPreloadsMaxTimeoutMs) in schedule()
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsIdleService.java73 .setOverrideDeadline(TimeUnit.DAYS.toMillis(2)) in scheduleUpdateMappingsJob()
/frameworks/base/services/backup/java/com/android/server/backup/
DKeyValueBackupJob.java104 .setOverrideDeadline(MAX_DEFERRAL); in schedule()
/frameworks/base/tests/JobSchedulerTestApp/src/com/android/demo/jobSchedulerApp/
DMainActivity.java143 builder.setOverrideDeadline(Long.parseLong(deadline) * 1000); in scheduleJob()
/frameworks/base/apex/jobscheduler/framework/java/android/app/job/
DJobInfo.java1941 public Builder setOverrideDeadline(long maxExecutionDelayMillis) { in setOverrideDeadline() method in JobInfo.Builder
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobStore.java1429 jobBuilder.setOverrideDeadline( in restoreJobFromXml()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/boot/
Dboot-image-profile.txt3136 HSPLandroid/app/job/JobInfo$Builder;->setOverrideDeadline(J)Landroid/app/job/JobInfo$Builder;
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt5564 method public android.app.job.JobInfo.Builder setOverrideDeadline(long);
/frameworks/base/config/
Dboot-image-profile.txt3136 HSPLandroid/app/job/JobInfo$Builder;->setOverrideDeadline(J)Landroid/app/job/JobInfo$Builder;
/frameworks/base/core/api/
Dcurrent.txt9038 method public android.app.job.JobInfo.Builder setOverrideDeadline(long);