Home | History | Annotate | Download | only in deskclock

Lines Matching defs:alarmId

131     public static void deleteAlarm(Context context, int alarmId) {
132 if (alarmId == INVALID_ALARM_ID) return;
136 disableSnoozeAlert(context, alarmId);
138 Uri uri = ContentUris.withAppendedId(Alarm.Columns.CONTENT_URI, alarmId);
207 final int alarmId = Integer.parseInt(snoozedAlarm);
208 clearSnoozePreference(context, prefs, alarmId);
217 public static Alarm getAlarm(ContentResolver contentResolver, int alarmId) {
219 ContentUris.withAppendedId(Alarm.Columns.CONTENT_URI, alarmId),
329 final int alarmId = Integer.parseInt(snoozedAlarm);
330 final Alarm a = getAlarm(context.getContentResolver(), alarmId);
556 private static boolean hasAlarmBeenSnoozed(final SharedPreferences prefs, final int alarmId) {
559 // Return true if there a valid snoozed alarmId was saved
560 return snoozedIds != null && snoozedIds.contains(Integer.toString(alarmId));