Searched refs:expectedDelay (Results 1 – 3 of 3) sorted by relevance
327 long expectedDelay = TEST_NEXT_CHECK_IN_TIME_MILLIS - TEST_CURRENT_TIME_MILLIS; in rescheduleRetryCheckInWork() local328 assertThat(actualWorkInfo.getInitialDelayMillis()).isEqualTo(expectedDelay); in rescheduleRetryCheckInWork()399 long expectedDelay = TEST_NEXT_CHECK_IN_TIME_MILLIS - TEST_CURRENT_TIME_MILLIS; in maybeScheduleInitialCheckIn_noNeedCheckIn_reschedule() local400 assertThat(actualWorkInfo.getInitialDelayMillis()).isEqualTo(expectedDelay); in maybeScheduleInitialCheckIn_noNeedCheckIn_reschedule()
307 long expectedDelay = /* 100 seconds */ 100000; in testDelaysWhenCalledWithinTheInterval() local309 calendar.setTimeInMillis(mIntervalBeginMs + expectedDelay); in testDelaysWhenCalledWithinTheInterval()315 assertThat(deadline).isEqualTo(mIntervalEndMs - (mIntervalBeginMs + expectedDelay)); in testDelaysWhenCalledWithinTheInterval()
1337 int expectedDelay) in verifyGetKeepaliveDelaySec() argument1356 assertEquals(expectedDelay, actualDelay); in verifyGetKeepaliveDelaySec()