Searched refs:DEFAULT_WAIT (Results 1 – 3 of 3) sorted by relevance
62 private static final long DEFAULT_WAIT = 1_000; field in BackgroundRestrictedAlarmsTest127 Thread.sleep(DEFAULT_WAIT); in testRepeatingAlarmBlocked()129 assertFalse("Alarm got triggered even under restrictions", waitForAlarms(1, DEFAULT_WAIT)); in testRepeatingAlarmBlocked()137 + " times when restrictions were lifted", waitForAlarms(minCount, DEFAULT_WAIT)); in testRepeatingAlarmBlocked()148 waitForAlarms(1, DEFAULT_WAIT)); in testAlarmClockNotBlocked()161 Thread.sleep(DEFAULT_WAIT); in tearDown()
71 private static final long DEFAULT_WAIT = 2_000; field in AppStandbyTests303 final boolean success = waitUntil(() -> (mAlarmCount.get() == 1), DEFAULT_WAIT); in waitForAlarm()
69 private static final long DEFAULT_WAIT = 1_000; field in BatterySaverAlarmTest218 ThreadUtils.sleepUntilRealtime(triggerElapsed3 + DEFAULT_WAIT); in testAllowWhileIdleThrottled()269 ThreadUtils.sleepUntilRealtime(triggerElapsed + DEFAULT_WAIT); in testAlarmsThrottled()292 ThreadUtils.sleepUntilRealtime(triggerElapsed + DEFAULT_WAIT); in testAlarmsThrottled()