Searched refs:sleepTime (Results 1 – 7 of 7) sorted by relevance
53 private void sleep(long sleepTime) { in sleep() argument55 Thread.sleep(sleepTime); in sleep()
160 int sleepTime = timeoutMs / numTimes; in retryUntilTrue() local170 Thread.sleep(sleepTime); in retryUntilTrue()
205 long sleepTime = warningShown + mWarningDurationConfig - eps; in testInattentiveSleep_warningTiming() local206 while (System.currentTimeMillis() < sleepTime) { in testInattentiveSleep_warningTiming()
118 private void doSleepWhileTop(int sleepTime) { in doSleepWhileTop() argument122 AtomTests.sleep(sleepTime); in doSleepWhileTop()
446 final int sleepTime = dragDurationMs / moveEventCount; in injectMoveEventsForDrag() local450 SystemClock.sleep(sleepTime); in injectMoveEventsForDrag()511 SystemClock.sleep(sleepTime); in injectMoveEventsForDrag()
976 long sleepTime = Math.max( in testRateLimitingToastsWhenInBackground() local978 SystemClock.sleep(sleepTime); in testRateLimitingToastsWhenInBackground()979 totalTimeSpentMs += sleepTime; in testRateLimitingToastsWhenInBackground()
1414 final long sleepTime = 500; in testForegroundService() local1415 SystemClock.sleep(sleepTime); in testForegroundService()1457 assertLessThan(sleepTime, totalTimeUsed); in testForegroundService()1709 final long sleepTime = System.currentTimeMillis(); in testPipActivity_StopToPause() local1715 final ArrayList<Event> stoppedEvent = waitForEventCount(STOPPED_EVENT, sleepTime, 1, in testPipActivity_StopToPause()