Home
last modified time | relevance | path

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

/cts/tests/AlarmManager/src/android/alarmmanager/cts/
DAppStandbyTests.java72 private static final long MIN_FUTURITY = 1_000; field in AppStandbyTests
111 settings.append(MIN_FUTURITY);
200 final long firstTrigger = SystemClock.elapsedRealtime() + MIN_FUTURITY; in testBucketDelay()
202 Thread.sleep(MIN_FUTURITY); in testBucketDelay()
206 final long nextTriggerTime = SystemClock.elapsedRealtime() + MIN_FUTURITY; in testBucketDelay()
209 Thread.sleep(MIN_FUTURITY); in testBucketDelay()
223 long nextTrigger = SystemClock.elapsedRealtime() + MIN_FUTURITY; in testActiveDelay()
226 Thread.sleep(MIN_FUTURITY); in testActiveDelay()
228 nextTrigger += MIN_FUTURITY; in testActiveDelay()
254 final long expectedTrigger = SystemClock.elapsedRealtime() + MIN_FUTURITY; in testNeverDelay()
[all …]
/cts/tests/tests/batterysaving/src/android/os/cts/batterysaving/
DBatterySaverAlarmTest.java76 private static final long MIN_FUTURITY = 2_000; field in BatterySaverAlarmTest
81 + "min_futurity=" + MIN_FUTURITY + "," in updateAlarmManagerConstants()
189 final long triggerElapsed1 = SystemClock.elapsedRealtime() + MIN_FUTURITY; in testAllowWhileIdleThrottled()
257 final long triggerElapsed = SystemClock.elapsedRealtime() + MIN_FUTURITY; in testAlarmsThrottled()
280 final long triggerElapsed = SystemClock.elapsedRealtime() + MIN_FUTURITY; in testAlarmsThrottled()