Home
last modified time | relevance | path

Searched refs:expectedDelay (Results 1 – 3 of 3) sorted by relevance

/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/schedule/
DDeviceLockControllerSchedulerImplTest.java327 long expectedDelay = TEST_NEXT_CHECK_IN_TIME_MILLIS - TEST_CURRENT_TIME_MILLIS; in rescheduleRetryCheckInWork() local
328 assertThat(actualWorkInfo.getInitialDelayMillis()).isEqualTo(expectedDelay); in rescheduleRetryCheckInWork()
399 long expectedDelay = TEST_NEXT_CHECK_IN_TIME_MILLIS - TEST_CURRENT_TIME_MILLIS; in maybeScheduleInitialCheckIn_noNeedCheckIn_reschedule() local
400 assertThat(actualWorkInfo.getInitialDelayMillis()).isEqualTo(expectedDelay); in maybeScheduleInitialCheckIn_noNeedCheckIn_reschedule()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DConsentNotificationJobServiceTest.java307 long expectedDelay = /* 100 seconds */ 100000; in testDelaysWhenCalledWithinTheInterval() local
309 calendar.setTimeInMillis(mIntervalBeginMs + expectedDelay); in testDelaysWhenCalledWithinTheInterval()
315 assertThat(deadline).isEqualTo(mIntervalEndMs - (mIntervalBeginMs + expectedDelay)); in testDelaysWhenCalledWithinTheInterval()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/net/
DIkeConnectionControllerTest.java1337 int expectedDelay) in verifyGetKeepaliveDelaySec() argument
1356 assertEquals(expectedDelay, actualDelay); in verifyGetKeepaliveDelaySec()