Home
last modified time | relevance | path

Searched refs:MIN_PERIODIC_INTERVAL_MILLIS (Results 1 – 8 of 8) sorted by relevance

/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/
DPeriodicWorkTest.java48 PeriodicWorkRequest.MIN_PERIODIC_INTERVAL_MILLIS, in testBuild_backoffAndIdleMode_throwsIllegalArgumentException()
60 long testInterval = PeriodicWorkRequest.MIN_PERIODIC_INTERVAL_MILLIS + 123L; in testBuild_setPeriodic_onlyIntervalDuration_inRange()
73 long testInterval = PeriodicWorkRequest.MIN_PERIODIC_INTERVAL_MILLIS - 123L; in testBuild_setPeriodic_onlyIntervalDuration_outOfRange()
80 is(PeriodicWorkRequest.MIN_PERIODIC_INTERVAL_MILLIS)); in testBuild_setPeriodic_onlyIntervalDuration_outOfRange()
82 is(PeriodicWorkRequest.MIN_PERIODIC_INTERVAL_MILLIS)); in testBuild_setPeriodic_onlyIntervalDuration_outOfRange()
88 long testInterval = PeriodicWorkRequest.MIN_PERIODIC_INTERVAL_MILLIS + 123L; in testBuild_setPeriodic_intervalAndFlexDurations_inRange()
104 long testInterval = PeriodicWorkRequest.MIN_PERIODIC_INTERVAL_MILLIS - 123L; in testBuild_setPeriodic_intervalAndFlexDurations_outOfRange()
114 is(PeriodicWorkRequest.MIN_PERIODIC_INTERVAL_MILLIS)); in testBuild_setPeriodic_intervalAndFlexDurations_outOfRange()
122 long testInterval = PeriodicWorkRequest.MIN_PERIODIC_INTERVAL_MILLIS + 123L; in testBuild_setPeriodic_intervalInRange_flexOutOfRange()
139 long testInterval = PeriodicWorkRequest.MIN_PERIODIC_INTERVAL_MILLIS - 123L; in testBuild_setPeriodic_intervalOutOfRange_flexInRange()
[all …]
DWorkSpecTest.java41 PeriodicWorkRequest.MIN_PERIODIC_INTERVAL_MILLIS + 5000L;
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/model/
DWorkSpec.java20 import static androidx.work.PeriodicWorkRequest.MIN_PERIODIC_INTERVAL_MILLIS;
155 if (intervalDuration < MIN_PERIODIC_INTERVAL_MILLIS) { in setPeriodic()
158 MIN_PERIODIC_INTERVAL_MILLIS)); in setPeriodic()
159 intervalDuration = MIN_PERIODIC_INTERVAL_MILLIS; in setPeriodic()
171 if (intervalDuration < MIN_PERIODIC_INTERVAL_MILLIS) { in setPeriodic()
174 MIN_PERIODIC_INTERVAL_MILLIS)); in setPeriodic()
175 intervalDuration = MIN_PERIODIC_INTERVAL_MILLIS; in setPeriodic()
/frameworks/support/work/workmanager/src/main/java/androidx/work/
DPeriodicWorkRequest.java34 public static final long MIN_PERIODIC_INTERVAL_MILLIS = 15 * 60 * 1000L; // 15 minutes. field in PeriodicWorkRequest
/frameworks/support/work/workmanager-firebase/src/androidTest/java/androidx/work/impl/background/firebase/
DFirebaseJobConverterTest.java151 long testInterval = PeriodicWorkRequest.MIN_PERIODIC_INTERVAL_MILLIS; in testConvert_periodic()
152 long testFlex = PeriodicWorkRequest.MIN_PERIODIC_INTERVAL_MILLIS; in testConvert_periodic()
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/
DWorkerWrapperTest.java454 long intervalDuration = PeriodicWorkRequest.MIN_PERIODIC_INTERVAL_MILLIS; in testRun_periodicWork_success_updatesPeriodStartTime()
477 long intervalDuration = PeriodicWorkRequest.MIN_PERIODIC_INTERVAL_MILLIS; in testRun_periodicWork_failure_updatesPeriodStartTime()
502 PeriodicWorkRequest.MIN_PERIODIC_INTERVAL_MILLIS, in testPeriodicWork_success()
524 PeriodicWorkRequest.MIN_PERIODIC_INTERVAL_MILLIS, in testPeriodicWork_fail()
546 PeriodicWorkRequest.MIN_PERIODIC_INTERVAL_MILLIS, in testPeriodicWork_retry()
DWorkManagerImplTest.java423 PeriodicWorkRequest.MIN_PERIODIC_INTERVAL_MILLIS, in testEnqueue_insertPeriodicWork()
431 assertThat(workSpec.intervalDuration, is(PeriodicWorkRequest.MIN_PERIODIC_INTERVAL_MILLIS)); in testEnqueue_insertPeriodicWork()
432 assertThat(workSpec.flexDuration, is(PeriodicWorkRequest.MIN_PERIODIC_INTERVAL_MILLIS)); in testEnqueue_insertPeriodicWork()
453 PeriodicWorkRequest.MIN_PERIODIC_INTERVAL_MILLIS, in testEnqueued_periodicWork_setsPeriodStartTime()
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/background/systemjob/
DSystemJobInfoConverterTest.java56 PeriodicWorkRequest.MIN_PERIODIC_INTERVAL_MILLIS + 1232L;