Home
last modified time | relevance | path

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

/cts/tests/tests/batterysaving/src/android/os/cts/batterysaving/
DBatterySaverAlarmTest.java123 private void scheduleAlarm(String targetPackage, int type, long triggerMillis) in scheduleAlarm() method in BatterySaverAlarmTest
125 scheduleAlarm(targetPackage, type, triggerMillis, /*whileIdle=*/ true, in scheduleAlarm()
129 private void scheduleAlarm(String targetPackage, int type, long triggerMillis, in scheduleAlarm() method in BatterySaverAlarmTest
203 scheduleAlarm(targetPackage, AlarmManager.ELAPSED_REALTIME_WAKEUP, lastTriggerElapsed); in testAllowWhileIdleThrottled()
218 scheduleAlarm(targetPackage, AlarmManager.ELAPSED_REALTIME_WAKEUP, triggerElapsed2); in testAllowWhileIdleThrottled()
219 scheduleAlarm(targetPackage, AlarmManager.ELAPSED_REALTIME_WAKEUP, triggerElapsed3); in testAllowWhileIdleThrottled()
235 scheduleAlarm(targetPackage, AlarmManager.ELAPSED_REALTIME_WAKEUP, lastTriggerElapsed); in testAllowWhileIdleThrottled()
250 scheduleAlarm(targetPackage, AlarmManager.ELAPSED_REALTIME_WAKEUP, lastTriggerElapsed); in testAllowWhileIdleThrottled()
272 scheduleAlarm(targetPackage, AlarmManager.ELAPSED_REALTIME_WAKEUP, triggerElapsed, in testAlarmsThrottled()
295 scheduleAlarm(targetPackage, AlarmManager.ELAPSED_REALTIME_WAKEUP, triggerElapsed, in testAlarmsThrottled()
/cts/tests/AlarmManager/src/android/alarmmanager/cts/
DAppStandbyTests.java155 private void scheduleAlarm(long triggerMillis, long interval) throws InterruptedException { in scheduleAlarm() method in AppStandbyTests
190 scheduleAlarm(trigger, 0); in testSimpleQuotaDeferral()
196 scheduleAlarm(desiredTrigger, 0); in testSimpleQuotaDeferral()
209 scheduleAlarm(nextTrigger, 0); in testActiveQuota()
235 scheduleAlarm(expectedTrigger, 0); in testNeverQuota()
245 scheduleAlarm(triggerTime, 0); in testPowerWhitelistedAlarmNotBlocked()
DBackgroundRestrictedAlarmsTest.java122 private void scheduleAlarm(int type, long triggerMillis, long interval) { in scheduleAlarm() method in BackgroundRestrictedAlarmsTest
153 scheduleAlarm(AlarmManager.ELAPSED_REALTIME_WAKEUP, triggerElapsed, interval); in testRepeatingAlarmBlocked()
173 scheduleAlarm(AlarmManager.ELAPSED_REALTIME_WAKEUP, triggerElapsed, interval); in testRepeatingAlarmAllowedWhenAutoRestrictedBucketFeatureOn()
/cts/tests/ServiceKillTest/app/src/com/android/cts/servicekilltestapp/
DServiceKillTestService.java108 scheduleAlarm();
244 private void scheduleAlarm() { in scheduleAlarm() method in ServiceKillTestService
268 scheduleAlarm(); in startBenchmark()