Home
last modified time | relevance | path

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

/cts/tests/AlarmManager/src/android/alarmmanager/cts/
DBackgroundRestrictedAlarmsTest.java62 private static final long DEFAULT_WAIT = 1_000; field in BackgroundRestrictedAlarmsTest
127 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()
DAppStandbyTests.java71 private static final long DEFAULT_WAIT = 2_000; field in AppStandbyTests
303 final boolean success = waitUntil(() -> (mAlarmCount.get() == 1), DEFAULT_WAIT); in waitForAlarm()
/cts/tests/tests/batterysaving/src/android/os/cts/batterysaving/
DBatterySaverAlarmTest.java69 private static final long DEFAULT_WAIT = 1_000; field in BatterySaverAlarmTest
218 ThreadUtils.sleepUntilRealtime(triggerElapsed3 + DEFAULT_WAIT); in testAllowWhileIdleThrottled()
269 ThreadUtils.sleepUntilRealtime(triggerElapsed + DEFAULT_WAIT); in testAlarmsThrottled()
292 ThreadUtils.sleepUntilRealtime(triggerElapsed + DEFAULT_WAIT); in testAlarmsThrottled()