Lines Matching defs:Alarms
56 if (Alarms.ALARM_KILLED.equals(intent.getAction())) {
59 intent.getParcelableExtra(Alarms.ALARM_INTENT_EXTRA),
60 intent.getIntExtra(Alarms.ALARM_KILLED_TIMEOUT, -1));
62 } else if (Alarms.CANCEL_SNOOZE.equals(intent.getAction())) {
64 if (intent.hasExtra(Alarms.ALARM_INTENT_EXTRA)) {
66 alarm = intent.getParcelableExtra(Alarms.ALARM_INTENT_EXTRA);
70 Alarms.disableSnoozeAlert(context, alarm.id);
71 Alarms.setNextAlert(context);
76 Alarms.saveSnoozeAlert(context, Alarms.INVALID_ALARM_ID, -1);
79 } else if (!Alarms.ALARM_ALERT_ACTION.equals(intent.getAction())) {
89 final byte[] data = intent.getByteArrayExtra(Alarms.ALARM_RAW_DATA);
100 Alarms.setNextAlert(context);
105 Alarms.disableSnoozeAlert(context, alarm.id);
108 Alarms.enableAlarm(context, alarm.id, false);
112 Alarms.setNextAlert(context);
144 Intent playAlarm = new Intent(Alarms.ALARM_ALERT_ACTION);
145 playAlarm.putExtra(Alarms.ALARM_INTENT_EXTRA, alarm);
152 notify.putExtra(Alarms.ALARM_INTENT_EXTRA, alarm);
171 alarmAlert.putExtra(Alarms.ALARM_INTENT_EXTRA, alarm);
200 viewAlarm.putExtra(Alarms.ALARM_INTENT_EXTRA, alarm);