Searched refs:longDurationMs (Results 1 – 1 of 1) sorted by relevance
294 long longDurationMs = SystemClock.uptimeMillis() - start1; in testHideTextToastAfterExpirationOfFirstShowCall_despiteRepeatedShowCalls() local301 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() local328 SystemClock.sleep(longDurationMs / 2); in testHideCustomToastAfterExpirationOfFirstShowCall_despiteRepeatedShowCalls()335 .isWithin(longDurationMs * TOAST_DURATION_ERROR_TOLERANCE_FRACTION) in testHideCustomToastAfterExpirationOfFirstShowCall_despiteRepeatedShowCalls()336 .of(longDurationMs); in testHideCustomToastAfterExpirationOfFirstShowCall_despiteRepeatedShowCalls()