Home
last modified time | relevance | path

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

/cts/tests/AlarmManager/src/android/alarmmanager/cts/
DAppStandbyTests.java177 private void scheduleAlarm(long triggerMillis, boolean allowWhileIdle, long interval) { in scheduleAlarm() method in AppStandbyTests
201 scheduleAlarm(firstTrigger, false, 0); in testBucketDelay()
208 scheduleAlarm(nextTriggerTime, false, 0); in testBucketDelay()
225 scheduleAlarm(nextTrigger, false, 0); in testActiveDelay()
255 scheduleAlarm(firstTrigger, false, 0); in testNeverDelay()
261 scheduleAlarm(expectedTrigger, true, 0); in testNeverDelay()
271 scheduleAlarm(firstTrigger, false, 0); in testBucketUpgradeToSmallerDelay()
279 scheduleAlarm(triggerTime, false, 0); in testBucketUpgradeToSmallerDelay()
299 scheduleAlarm(firstTrigger, false, 0); in testBucketUpgradeToNoDelay()
305 scheduleAlarm(triggerTime1, false, 0); in testBucketUpgradeToNoDelay()
[all …]
DBackgroundRestrictedAlarmsTest.java96 private void scheduleAlarm(int type, long triggerMillis, long interval) { in scheduleAlarm() method in BackgroundRestrictedAlarmsTest
125 scheduleAlarm(AlarmManager.ELAPSED_REALTIME_WAKEUP, triggerElapsed, interval); in testRepeatingAlarmBlocked()
/cts/tests/tests/batterysaving/src/android/os/cts/batterysaving/
DBatterySaverAlarmTest.java119 private void scheduleAlarm(String targetPackage, int type, long triggerMillis) in scheduleAlarm() method in BatterySaverAlarmTest
121 scheduleAlarm(targetPackage, type, triggerMillis, /*whileIdle=*/ true); in scheduleAlarm()
124 private void scheduleAlarm(String targetPackage, int type, long triggerMillis, in scheduleAlarm() method in BatterySaverAlarmTest
192 scheduleAlarm(targetPackage, AlarmManager.ELAPSED_REALTIME_WAKEUP, triggerElapsed1); in testAllowWhileIdleThrottled()
205 scheduleAlarm(targetPackage, AlarmManager.ELAPSED_REALTIME_WAKEUP, triggerElapsed2); in testAllowWhileIdleThrottled()
234 scheduleAlarm(targetPackage, AlarmManager.ELAPSED_REALTIME_WAKEUP, triggerElapsed4); in testAllowWhileIdleThrottled()
248 scheduleAlarm(targetPackage, AlarmManager.ELAPSED_REALTIME_WAKEUP, triggerElapsed5); in testAllowWhileIdleThrottled()
259 scheduleAlarm(targetPackage, AlarmManager.ELAPSED_REALTIME_WAKEUP, triggerElapsed6); in testAllowWhileIdleThrottled()
279 scheduleAlarm(targetPackage, AlarmManager.ELAPSED_REALTIME_WAKEUP, triggerElapsed, in testAlarmsThrottled()
302 scheduleAlarm(targetPackage, AlarmManager.ELAPSED_REALTIME_WAKEUP, triggerElapsed, in testAlarmsThrottled()