Searched refs:setPeriodStartTime (Results 1 – 7 of 7) sorted by relevance
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/ |
D | WorkSpecDaoTest.java | 51 .setPeriodStartTime( in testEligibleWorkSpecsForScheduling() 56 .setPeriodStartTime(startTime, TimeUnit.MILLISECONDS) in testEligibleWorkSpecsForScheduling() 60 .setPeriodStartTime(startTime, TimeUnit.MILLISECONDS) in testEligibleWorkSpecsForScheduling() 63 .setPeriodStartTime(startTime, TimeUnit.MILLISECONDS) in testEligibleWorkSpecsForScheduling() 89 .setPeriodStartTime(startTime, TimeUnit.MILLISECONDS) in testScheduledWorkSpecCount() 93 .setPeriodStartTime(startTime, TimeUnit.MILLISECONDS) in testScheduledWorkSpecCount() 98 .setPeriodStartTime(startTime, TimeUnit.MILLISECONDS) in testScheduledWorkSpecCount() 121 .setPeriodStartTime(startTime, TimeUnit.MILLISECONDS) in testAlreadyScheduledWorkIsNotRescheduled() 125 .setPeriodStartTime(startTime, TimeUnit.MILLISECONDS) in testAlreadyScheduledWorkIsNotRescheduled() 130 .setPeriodStartTime(startTime, TimeUnit.MILLISECONDS) in testAlreadyScheduledWorkIsNotRescheduled() [all …]
|
D | WorkSpecTest.java | 48 .setPeriodStartTime(DEFAULT_PERIOD_START_TIME, TimeUnit.MILLISECONDS) in testCalculateNextRunTime_firstRunAttempt_oneOff() 63 .setPeriodStartTime(DEFAULT_PERIOD_START_TIME, TimeUnit.MILLISECONDS) in testCalculateNextRunTime_firstRunAttempt_periodic() 78 .setPeriodStartTime(DEFAULT_PERIOD_START_TIME, TimeUnit.MILLISECONDS) in testCalculateNextRunTime_rerunAttempt_exponential() 86 .setPeriodStartTime(DEFAULT_PERIOD_START_TIME, TimeUnit.MILLISECONDS) in testCalculateNextRunTime_rerunAttempt_exponential() 94 .setPeriodStartTime(DEFAULT_PERIOD_START_TIME, TimeUnit.MILLISECONDS) in testCalculateNextRunTime_rerunAttempt_exponential() 117 .setPeriodStartTime(DEFAULT_PERIOD_START_TIME, TimeUnit.MILLISECONDS) in testCalculateNextRunTime_rerunAttempt_linear() 125 .setPeriodStartTime(DEFAULT_PERIOD_START_TIME, TimeUnit.MILLISECONDS) in testCalculateNextRunTime_rerunAttempt_linear() 133 .setPeriodStartTime(DEFAULT_PERIOD_START_TIME, TimeUnit.MILLISECONDS) in testCalculateNextRunTime_rerunAttempt_linear() 155 .setPeriodStartTime(DEFAULT_PERIOD_START_TIME, TimeUnit.MILLISECONDS) in testCalculateNextRunTime_rerunAttempt_linear_upperBound() 170 .setPeriodStartTime(DEFAULT_PERIOD_START_TIME, TimeUnit.MILLISECONDS) in testCalculateNextRunTime_rerunAttempt_exponential_upperBound()
|
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/background/systemalarm/ |
D | SystemAlarmDispatcherTest.java | 161 .setPeriodStartTime(System.currentTimeMillis(), TimeUnit.MILLISECONDS) in testSchedule() 175 .setPeriodStartTime(System.currentTimeMillis(), TimeUnit.MILLISECONDS) in testDelayMet_success() 192 .setPeriodStartTime(System.currentTimeMillis(), TimeUnit.MILLISECONDS) in testDelayMet_withStop() 218 .setPeriodStartTime(System.currentTimeMillis(), TimeUnit.MILLISECONDS) in testDelayMet_withStopWhenCancelled() 244 .setPeriodStartTime( in testSchedule_withConstraints() 270 .setPeriodStartTime(System.currentTimeMillis(), TimeUnit.MILLISECONDS) in testConstraintsChanged_withNoConstraints() 287 .setPeriodStartTime(System.currentTimeMillis(), TimeUnit.MILLISECONDS) in testConstraintsChangedMarkedNotScheduled_withNoConstraints() 305 .setPeriodStartTime(System.currentTimeMillis(), TimeUnit.MILLISECONDS) in testConstraintsChanged_withConstraint() 324 .setPeriodStartTime(System.currentTimeMillis(), TimeUnit.MILLISECONDS) in testDelayMet_withUnMetConstraint() 358 .setPeriodStartTime(System.currentTimeMillis(), TimeUnit.MILLISECONDS) in testDelayMet_withMetConstraint() [all …]
|
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/ |
D | WorkerWrapper.java | 326 mWorkSpecDao.setPeriodStartTime(mWorkSpecId, System.currentTimeMillis()); in rescheduleAndNotify() 339 mWorkSpecDao.setPeriodStartTime(mWorkSpecId, nextPeriodStartTime); in resetPeriodicAndNotify() 365 mWorkSpecDao.setPeriodStartTime(dependentWorkId, currentTimeMillis); in setSucceededAndNotify()
|
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/model/ |
D | WorkSpecDao.java | 115 void setPeriodStartTime(String id, long periodStartTime); in setPeriodStartTime() method
|
/frameworks/support/work/workmanager/src/main/java/androidx/work/ |
D | WorkRequest.java | 271 public B setPeriodStartTime(long periodStartTime, @NonNull TimeUnit timeUnit) { in setPeriodStartTime() method in WorkRequest.Builder
|
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/ |
D | WorkManagerImplTest.java | 1415 .setPeriodStartTime(WorkDatabase.getPruneDate() - 1L, TimeUnit.MILLISECONDS) in testGenerateCleanupCallback_deletesOldFinishedWork() 1418 .setPeriodStartTime(Long.MAX_VALUE, TimeUnit.MILLISECONDS) in testGenerateCleanupCallback_deletesOldFinishedWork() 1438 .setPeriodStartTime(WorkDatabase.getPruneDate() - 1L, TimeUnit.MILLISECONDS) in testGenerateCleanupCallback_doesNotDeleteOldFinishedWorkWithActiveDependents() 1442 .setPeriodStartTime(WorkDatabase.getPruneDate() - 1L, TimeUnit.MILLISECONDS) in testGenerateCleanupCallback_doesNotDeleteOldFinishedWorkWithActiveDependents() 1446 .setPeriodStartTime(WorkDatabase.getPruneDate() - 1L, TimeUnit.MILLISECONDS) in testGenerateCleanupCallback_doesNotDeleteOldFinishedWorkWithActiveDependents()
|