HomeSort by relevance Sort by last modified time
    Searched refs:AlertUtils (Results 1 - 8 of 8) sorted by null

  /packages/apps/Calendar/src/com/android/calendar/alerts/
SnoozeAlarmsService.java 51 long eventId = intent.getLongExtra(AlertUtils.EVENT_ID_KEY, -1);
52 long eventStart = intent.getLongExtra(AlertUtils.EVENT_START_KEY, -1);
53 long eventEnd = intent.getLongExtra(AlertUtils.EVENT_END_KEY, -1);
57 int notificationId = intent.getIntExtra(AlertUtils.NOTIFICATION_ID_KEY,
58 AlertUtils.EXPIRED_GROUP_NOTIFICATION_ID);
64 if (notificationId != AlertUtils.EXPIRED_GROUP_NOTIFICATION_ID) {
79 long alarmTime = System.currentTimeMillis() + AlertUtils.SNOOZE_DELAY;
80 ContentValues values = AlertUtils.makeContentValues(eventId, eventStart, eventEnd,
83 AlertUtils.scheduleAlarm(SnoozeAlarmsService.this, AlertUtils.createAlarmManager(this)
    [all...]
DismissAlarmsService.java 57 long eventId = intent.getLongExtra(AlertUtils.EVENT_ID_KEY, -1);
58 long eventStart = intent.getLongExtra(AlertUtils.EVENT_START_KEY, -1);
59 long eventEnd = intent.getLongExtra(AlertUtils.EVENT_END_KEY, -1);
60 boolean showEvent = intent.getBooleanExtra(AlertUtils.SHOW_EVENT_KEY, false);
61 long[] eventIds = intent.getLongArrayExtra(AlertUtils.EVENT_IDS_KEY);
62 long[] eventStarts = intent.getLongArrayExtra(AlertUtils.EVENT_STARTS_KEY);
63 int notificationId = intent.getIntExtra(AlertUtils.NOTIFICATION_ID_KEY, -1);
102 Intent i = AlertUtils.buildEventViewIntent(this, eventId, eventStart, eventEnd);
AlertService.java 294 return generateAlerts(context, nm, AlertUtils.createAlarmManager(context), prefs,
333 String summaryText = AlertUtils.formatTimeLocation(context, info.startMillis,
352 String summaryText = AlertUtils.formatTimeLocation(context, info.startMillis,
369 String summaryText = AlertUtils.formatTimeLocation(context, info.startMillis,
373 AlertUtils.EXPIRED_GROUP_NOTIFICATION_ID, false,
389 + ", notificationId:" + AlertUtils.EXPIRED_GROUP_NOTIFICATION_ID);
393 nm.notify(AlertUtils.EXPIRED_GROUP_NOTIFICATION_ID, notification);
395 nm.cancel(AlertUtils.EXPIRED_GROUP_NOTIFICATION_ID);
413 AlertUtils.scheduleNextNotificationRefresh(context, alarmMgr, nextRefreshTime);
427 AlertUtils.flushOldAlertsFromInternalStorage(context)
    [all...]
AlertReceiver.java 225 intent.putExtra(AlertUtils.EVENT_ID_KEY, eventId);
226 intent.putExtra(AlertUtils.EVENT_START_KEY, startMillis);
227 intent.putExtra(AlertUtils.EVENT_END_KEY, endMillis);
228 intent.putExtra(AlertUtils.SHOW_EVENT_KEY, showEvent);
229 intent.putExtra(AlertUtils.NOTIFICATION_ID_KEY, notificationId);
248 intent.putExtra(AlertUtils.EVENT_ID_KEY, eventId);
249 intent.putExtra(AlertUtils.EVENT_START_KEY, startMillis);
250 intent.putExtra(AlertUtils.EVENT_END_KEY, endMillis);
251 intent.putExtra(AlertUtils.NOTIFICATION_ID_KEY, notificationId);
481 deleteIntent.putExtra(AlertUtils.EVENT_IDS_KEY, eventIds)
    [all...]
AlarmScheduler.java 105 scheduleNextAlarm(context, AlertUtils.createAlarmManager(context),
AlertActivity.java 193 Intent eventIntent = AlertUtils.buildEventViewIntent(AlertActivity.this, eventId,
AlertUtils.java 43 public class AlertUtils {
44 private static final String TAG = "AlertUtils";
  /packages/apps/Calendar/tests/src/com/android/calendar/alerts/
AlertServiceTest.java 265 assertEquals(0, AlertUtils.EXPIRED_GROUP_NOTIFICATION_ID);
429 ntm.expectTestNotification(AlertUtils.EXPIRED_GROUP_NOTIFICATION_ID, id, PRIORITY_MIN);
437 ntm.expectTestNotification(AlertUtils.EXPIRED_GROUP_NOTIFICATION_ID, id, PRIORITY_MIN);
489 ntm.expectTestNotification(AlertUtils.EXPIRED_GROUP_NOTIFICATION_ID,
502 ntm.expectTestNotification(AlertUtils.EXPIRED_GROUP_NOTIFICATION_ID,
511 ntm.expectTestNotification(AlertUtils.EXPIRED_GROUP_NOTIFICATION_ID,
561 ntm.expectTestNotification(AlertUtils.EXPIRED_GROUP_NOTIFICATION_ID,
574 ntm.expectTestNotification(AlertUtils.EXPIRED_GROUP_NOTIFICATION_ID,
680 ntm.expectTestNotification(AlertUtils.EXPIRED_GROUP_NOTIFICATION_ID, id1, PRIORITY_MIN);
691 ntm.expectTestNotification(AlertUtils.EXPIRED_GROUP_NOTIFICATION_ID, new int[] {id3, id1}
    [all...]

Completed in 80 milliseconds