Home
last modified time | relevance | path

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

/cts/tests/AlarmManager/app/src/android/alarmmanager/alarmtestapp/cts/
DTestAlarmScheduler.java50 final PendingIntent alarmSender = PendingIntent.getBroadcast(context, 1, receiverIntent, 0); in onReceive() local
75 am.setRepeating(type, triggerTime, interval, alarmSender); in onReceive()
77 am.setExactAndAllowWhileIdle(type, triggerTime, alarmSender); in onReceive()
79 am.setExact(type, triggerTime, alarmSender); in onReceive()
85 am.cancel(alarmSender); in onReceive()
/cts/tests/tests/batterysaving/apps/app_target_api_current/src/android/os/cts/batterysaving/app/
DCommReceiver.java100 final PendingIntent alarmSender = PendingIntent.getBroadcast(context, 1, in handleBatterySaverBgServiceRequest() local
106 am.setRepeating(type, triggerTime, interval, alarmSender); in handleBatterySaverBgServiceRequest()
108 am.setExactAndAllowWhileIdle(type, triggerTime, alarmSender); in handleBatterySaverBgServiceRequest()
110 am.setExact(type, triggerTime, alarmSender); in handleBatterySaverBgServiceRequest()