Home
last modified time | relevance | path

Searched refs:DEFAULT_WAIT (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/batterysaving/src/android/os/cts/batterysaving/
DBatterySaverAlarmTest.java70 private static final long DEFAULT_WAIT = 1_000; field in BatterySaverAlarmTest
193 ThreadUtils.sleepUntilRealtime(triggerElapsed1 + DEFAULT_WAIT); in testAllowWhileIdleThrottled()
211 Thread.sleep(DEFAULT_WAIT); in testAllowWhileIdleThrottled()
235 ThreadUtils.sleepUntilRealtime(triggerElapsed4 + DEFAULT_WAIT); in testAllowWhileIdleThrottled()
249 ThreadUtils.sleepUntilRealtime(triggerElapsed5 + DEFAULT_WAIT); in testAllowWhileIdleThrottled()
260 ThreadUtils.sleepUntilRealtime(triggerElapsed6 + DEFAULT_WAIT); in testAllowWhileIdleThrottled()
281 ThreadUtils.sleepUntilRealtime(triggerElapsed + DEFAULT_WAIT); in testAlarmsThrottled()
304 ThreadUtils.sleepUntilRealtime(triggerElapsed + DEFAULT_WAIT); in testAlarmsThrottled()
/cts/tests/AlarmManager/src/android/alarmmanager/cts/
DBackgroundRestrictedAlarmsTest.java61 private static final long DEFAULT_WAIT = 1_000; field in BackgroundRestrictedAlarmsTest
126 Thread.sleep(DEFAULT_WAIT); in testRepeatingAlarmBlocked()
128 assertFalse("Alarm got triggered even under restrictions", waitForAlarms(1, DEFAULT_WAIT)); in testRepeatingAlarmBlocked()
136 + " times when restrictions were lifted", waitForAlarms(minCount, DEFAULT_WAIT)); in testRepeatingAlarmBlocked()
147 waitForAlarms(1, DEFAULT_WAIT)); in testAlarmClockNotBlocked()
160 Thread.sleep(DEFAULT_WAIT); in tearDown()
DAppStandbyTests.java67 private static final long DEFAULT_WAIT = 2_000; field in AppStandbyTests
210 if (nextTriggerTime + DEFAULT_WAIT < minTriggerTime) { in testBucketDelay()
503 final boolean success = waitUntil(() -> (mAlarmCount.get() == 1), DEFAULT_WAIT); in waitForAlarm()