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
191 ThreadUtils.sleepUntilRealtime(triggerElapsed1 + DEFAULT_WAIT); in testAllowWhileIdleThrottled()
200 ThreadUtils.sleepUntilRealtime(triggerElapsed2 + DEFAULT_WAIT); in testAllowWhileIdleThrottled()
205 ThreadUtils.sleepUntilRealtime(triggerElapsed3 + DEFAULT_WAIT); in testAllowWhileIdleThrottled()
216 ThreadUtils.sleepUntilRealtime(triggerElapsed4 + DEFAULT_WAIT); in testAllowWhileIdleThrottled()
229 ThreadUtils.sleepUntilRealtime(triggerElapsed5 + DEFAULT_WAIT); in testAllowWhileIdleThrottled()
239 ThreadUtils.sleepUntilRealtime(triggerElapsed6 + DEFAULT_WAIT); in testAllowWhileIdleThrottled()
260 ThreadUtils.sleepUntilRealtime(triggerElapsed + DEFAULT_WAIT); in testAlarmsThrottled()
283 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()
497 final boolean success = waitUntil(() -> (mAlarmCount.get() == 1), DEFAULT_WAIT); in waitForAlarm()