Searched refs:scheduleAlarm (Results 1 – 3 of 3) sorted by relevance
/cts/tests/AlarmManager/src/android/alarmmanager/cts/ |
D | AppStandbyTests.java | 177 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(expectedTrigger, true, 0); in testNeverDelay() 265 scheduleAlarm(firstTrigger, false, 0); in testBucketUpgradeToSmallerDelay() 273 scheduleAlarm(triggerTime, false, 0); in testBucketUpgradeToSmallerDelay() 293 scheduleAlarm(firstTrigger, false, 0); in testBucketUpgradeToNoDelay() 299 scheduleAlarm(triggerTime1, false, 0); in testBucketUpgradeToNoDelay() 310 scheduleAlarm(triggerTime2, false, 0); in testBucketUpgradeToNoDelay() [all …]
|
D | BackgroundRestrictedAlarmsTest.java | 96 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/ |
D | BatterySaverAlarmTest.java | 118 private void scheduleAlarm(String targetPackage, int type, long triggerMillis) in scheduleAlarm() method in BatterySaverAlarmTest 120 scheduleAlarm(targetPackage, type, triggerMillis, /*whileIdle=*/ true); in scheduleAlarm() 123 private void scheduleAlarm(String targetPackage, int type, long triggerMillis, in scheduleAlarm() method in BatterySaverAlarmTest 190 scheduleAlarm(targetPackage, AlarmManager.ELAPSED_REALTIME_WAKEUP, triggerElapsed1); in testAllowWhileIdleThrottled() 199 scheduleAlarm(targetPackage, AlarmManager.ELAPSED_REALTIME_WAKEUP, triggerElapsed2); in testAllowWhileIdleThrottled() 215 scheduleAlarm(targetPackage, AlarmManager.ELAPSED_REALTIME_WAKEUP, triggerElapsed4); in testAllowWhileIdleThrottled() 228 scheduleAlarm(targetPackage, AlarmManager.ELAPSED_REALTIME_WAKEUP, triggerElapsed5); in testAllowWhileIdleThrottled() 238 scheduleAlarm(targetPackage, AlarmManager.ELAPSED_REALTIME_WAKEUP, triggerElapsed6); in testAllowWhileIdleThrottled() 258 scheduleAlarm(targetPackage, AlarmManager.ELAPSED_REALTIME_WAKEUP, triggerElapsed, in testAlarmsThrottled() 281 scheduleAlarm(targetPackage, AlarmManager.ELAPSED_REALTIME_WAKEUP, triggerElapsed, in testAlarmsThrottled()
|