Lines Matching refs:Thread
159 Thread.sleep(100); in setUpTests()
202 Thread.sleep(MIN_FUTURITY); in testBucketDelay()
209 Thread.sleep(MIN_FUTURITY); in testBucketDelay()
214 Thread.sleep(minTriggerTime - SystemClock.elapsedRealtime()); in testBucketDelay()
226 Thread.sleep(MIN_FUTURITY); in testActiveDelay()
256 Thread.sleep(10_000); in testNeverDelay()
266 Thread.sleep(MIN_FUTURITY); in testBucketUpgradeToSmallerDelay()
274 Thread.sleep(workingSetExpectedTrigger - SystemClock.elapsedRealtime()); in testBucketUpgradeToSmallerDelay()
294 Thread.sleep(MIN_FUTURITY); in testBucketUpgradeToNoDelay()
300 Thread.sleep(triggerTime1 - SystemClock.elapsedRealtime()); in testBucketUpgradeToNoDelay()
312 Thread.sleep(triggerTime2 - SystemClock.elapsedRealtime()); in testBucketUpgradeToNoDelay()
324 Thread.sleep(freshWindowPoint - startElapsed); in testSimpleQuotaDeferral()
335 Thread.sleep(trigger - SystemClock.elapsedRealtime()); in testSimpleQuotaDeferral()
341 Thread.sleep(desiredTrigger - SystemClock.elapsedRealtime()); in testSimpleQuotaDeferral()
344 Thread.sleep(minTrigger - SystemClock.elapsedRealtime()); in testSimpleQuotaDeferral()
354 Thread.sleep(MIN_FUTURITY); in testActiveQuota()
380 Thread.sleep(10_000); in testNeverQuota()
389 Thread.sleep(MIN_FUTURITY); in testAlarmClockUnaffected()
399 Thread.sleep(MIN_FUTURITY); in testAllowWhileIdleAlarms()
404 Thread.sleep(APP_STANDBY_DELAYS[WORKING_INDEX]); in testAllowWhileIdleAlarms()
407 Thread.sleep(expectedTriggerTime - SystemClock.elapsedRealtime()); in testAllowWhileIdleAlarms()
413 Thread.sleep(ALLOW_WHILE_IDLE_SHORT_TIME); in testAllowWhileIdleAlarms()
417 Thread.sleep(expectedTriggerTime - SystemClock.elapsedRealtime()); in testAllowWhileIdleAlarms()
429 Thread.sleep(MIN_FUTURITY); in testPowerWhitelistedAlarmNotBlocked()
444 Thread.sleep(500); in tearDown()
505 Thread.sleep(POLL_INTERVAL); in waitUntil()