Home
last modified time | relevance | path

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

/cts/tests/tests/widget/src/android/widget/cts/
DToastTest.java294 long longDurationMs = SystemClock.uptimeMillis() - start1; in testHideTextToastAfterExpirationOfFirstShowCall_despiteRepeatedShowCalls() local
301 SystemClock.sleep(longDurationMs / 2); in testHideTextToastAfterExpirationOfFirstShowCall_despiteRepeatedShowCalls()
308 .isWithin(longDurationMs * TOAST_DURATION_ERROR_TOLERANCE_FRACTION) in testHideTextToastAfterExpirationOfFirstShowCall_despiteRepeatedShowCalls()
309 .of(longDurationMs); in testHideTextToastAfterExpirationOfFirstShowCall_despiteRepeatedShowCalls()
321 long longDurationMs = SystemClock.uptimeMillis() - start1; in testHideCustomToastAfterExpirationOfFirstShowCall_despiteRepeatedShowCalls() local
328 SystemClock.sleep(longDurationMs / 2); in testHideCustomToastAfterExpirationOfFirstShowCall_despiteRepeatedShowCalls()
335 .isWithin(longDurationMs * TOAST_DURATION_ERROR_TOLERANCE_FRACTION) in testHideCustomToastAfterExpirationOfFirstShowCall_despiteRepeatedShowCalls()
336 .of(longDurationMs); in testHideCustomToastAfterExpirationOfFirstShowCall_despiteRepeatedShowCalls()