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()
119 private void doSleepWhileTop(int sleepTime) { in doSleepWhileTop() argument123 AtomTests.sleep(sleepTime); in doSleepWhileTop()
397 final int sleepTime = dragDurationMs / moveEventCount; in injectMoveEventsForDrag() local401 SystemClock.sleep(sleepTime); in injectMoveEventsForDrag()462 SystemClock.sleep(sleepTime); in injectMoveEventsForDrag()
1373 final long sleepTime = 500; in testForegroundService() local1374 SystemClock.sleep(sleepTime); in testForegroundService()1416 assertLessThan(sleepTime, totalTimeUsed); in testForegroundService()1668 final long sleepTime = System.currentTimeMillis(); in testPipActivity_StopToPause() local1674 final ArrayList<Event> stoppedEvent = waitForEventCount(STOPPED_EVENT, sleepTime, 1, in testPipActivity_StopToPause()
969 long sleepTime = Math.max( in testRateLimitingToastsWhenInBackground() local971 SystemClock.sleep(sleepTime); in testRateLimitingToastsWhenInBackground()972 totalTimeSpentMs += sleepTime; in testRateLimitingToastsWhenInBackground()