Home
last modified time | relevance | path

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

/cts/tests/AlarmManager/src/android/alarmmanager/cts/
DAppStandbyTests.java88 private static final long[] APP_STANDBY_DELAYS = { field in AppStandbyTests
114 for (int i = 0; i < APP_STANDBY_DELAYS.length; i++) {
118 settings.append(APP_STANDBY_DELAYS[i]);
207 final long minTriggerTime = sAlarmHistory.getLast(1) + APP_STANDBY_DELAYS[bucketIndex]; in testBucketDelay()
278 + APP_STANDBY_DELAYS[WORKING_INDEX]; in testBucketUpgradeToSmallerDelay()
304 final long triggerTime1 = sAlarmHistory.getLast(1) + APP_STANDBY_DELAYS[FREQUENT_INDEX]; in testBucketUpgradeToNoDelay()
315 final long triggerTime2 = sAlarmHistory.getLast(1) + APP_STANDBY_DELAYS[FREQUENT_INDEX]; in testBucketUpgradeToNoDelay()
410 Thread.sleep(APP_STANDBY_DELAYS[WORKING_INDEX]); in testAllowWhileIdleAlarms()
420 assertFalse("allow_while_idle alarm went off before " + APP_STANDBY_DELAYS[RARE_INDEX] in testAllowWhileIdleAlarms()
422 expectedTriggerTime = sAlarmHistory.getLast(1) + APP_STANDBY_DELAYS[RARE_INDEX]; in testAllowWhileIdleAlarms()
[all …]