Home
last modified time | relevance | path

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

/development/samples/browseable/DirectBoot/src/com.example.android.directboot/alarms/
DAlarmUtil.java48 Intent intent = new Intent(mContext, AlarmIntentService.class); in scheduleAlarm()
76 Intent intent = new Intent(mContext, AlarmIntentService.class); in cancelAlarm()
101 int id = extras.getInt(AlarmIntentService.KEY_ALARM_ID); in readAlarm()
102 int month = extras.getInt(AlarmIntentService.KEY_ALARM_MONTH); in readAlarm()
103 int date = extras.getInt(AlarmIntentService.KEY_ALARM_DATE); in readAlarm()
104 int hour = extras.getInt(AlarmIntentService.KEY_ALARM_HOUR); in readAlarm()
105 int minute = extras.getInt(AlarmIntentService.KEY_ALARM_MINUTE); in readAlarm()
112 extras.putInt(AlarmIntentService.KEY_ALARM_ID, alarm.id); in writeAlarm()
113 extras.putInt(AlarmIntentService.KEY_ALARM_MONTH, alarm.month); in writeAlarm()
114 extras.putInt(AlarmIntentService.KEY_ALARM_DATE, alarm.date); in writeAlarm()
[all …]
DAlarmIntentService.java33 public class AlarmIntentService extends IntentService { class
35 public static final String ALARM_WENT_OFF_ACTION = AlarmIntentService.class.getName()
49 public AlarmIntentService() { in AlarmIntentService() method in AlarmIntentService
50 super(AlarmIntentService.class.getName()); in AlarmIntentService()
/development/samples/browseable/DirectBoot/src/com.example.android.directboot/
DSchedulerFragment.java21 import com.example.android.directboot.alarms.AlarmIntentService;
69 new IntentFilter(AlarmIntentService.ALARM_WENT_OFF_ACTION)); in onActivityCreated()