Home
last modified time | relevance | path

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

/frameworks/base/services/tests/timetests/src/com/android/server/timezonedetector/location/
DTestThreadingDomain.java107 void assertSingleDelayedQueueItem(Duration expectedDelay) { in assertSingleDelayedQueueItem() argument
109 assertNextQueueItemIsDelayed(expectedDelay); in assertSingleDelayedQueueItem()
125 private void assertNextQueueItemIsDelayed(Duration expectedDelay) { in assertNextQueueItemIsDelayed() argument
126 assertEquals(getNextQueueItemDelayMillis(), expectedDelay.toMillis()); in assertNextQueueItemIsDelayed()
/frameworks/libs/modules-utils/javatests/com/android/internal/util/
DStateMachineTest.java1521 long expectedDelay = DELAY_TIME - DELAY_FUDGE; in testStateMachine6() local
1523 + " >= " + expectedDelay); in testStateMachine6()
1524 assertTrue(arrivalTimeDiff >= expectedDelay); in testStateMachine6()
1627 long expectedDelay = sm7.SM7_DELAY_TIME - SM7_DELAY_FUDGE; in testStateMachine7() local
1629 + " >= " + expectedDelay); in testStateMachine7()
1630 assertTrue(arrivalTimeDiff >= expectedDelay); in testStateMachine7()
/frameworks/base/services/tests/VpnTests/java/com/android/server/connectivity/
DVpnTest.java3112 long expectedDelay = mTestDeps.getValidationFailRecoveryMs(retry++); in testDataStallInIkev2VpnNotRecoveredByMobike() local
3117 assertEquals(expectedDelay, (long) delays.get(delays.size() - 1)); in testDataStallInIkev2VpnNotRecoveredByMobike()
3122 expectedDelay = mTestDeps.getValidationFailRecoveryMs(retry++); in testDataStallInIkev2VpnNotRecoveredByMobike()
3126 any(Runnable.class), eq(expectedDelay), eq(TimeUnit.MILLISECONDS)); in testDataStallInIkev2VpnNotRecoveredByMobike()
3129 verify(mIkev2SessionCreator, timeout(TEST_TIMEOUT_MS + expectedDelay)) in testDataStallInIkev2VpnNotRecoveredByMobike()