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

  /packages/apps/Calendar/src/com/android/calendar/alerts/
DismissAlarmsService.java 68 long[] eventIds = intent.getLongArrayExtra(AlertUtils.EVENT_IDS_KEY);
81 } else if (eventIds != null && eventIds.length > 0 &&
82 eventStarts != null && eventIds.length == eventStarts.length) {
83 selection = buildMultipleEventsQuery(eventIds);
84 for (int i = 0; i < eventIds.length; i++) {
85 alarmIds.add(new AlarmId(eventIds[i], eventStarts[i]));
116 private String buildMultipleEventsQuery(long[] eventIds) {
121 if (eventIds.length > 0) {
125 selection.append(eventIds[0])
    [all...]
GlobalDismissManager.java 207 * @param eventIds IDs for events that have posted notifications that may be
210 public static void processEventIds(Context context, Set<Long> eventIds) {
216 Map<Long, Long> eventsToCalendars = lookupEventToCalendarMap(context, eventIds);
346 Set<Long> eventIds = new HashSet<Long>(alarmIds.size());
348 eventIds.add(alarmId.mEventId);
351 Map<Long, Long> eventsToCalendars = lookupEventToCalendarMap(context, eventIds);
417 * @param eventIds Event row IDs to query.
420 private static Map<Long, Long> lookupEventToCalendarMap(Context context, Set<Long> eventIds) {
423 String eventSelection = buildMultipleIdQuery(eventIds, Events._ID);
AlertService.java 594 HashMap<Long, NotificationInfo> eventIds = new HashMap<Long, NotificationInfo>();
    [all...]
AlertReceiver.java 457 long[] eventIds = new long[notificationInfos.size()];
460 eventIds[i] = notificationInfos.get(i).eventId;
472 deleteIntent.putExtra(AlertUtils.EVENT_IDS_KEY, eventIds);
    [all...]
  /packages/apps/Calendar/tests/src/com/android/calendar/alerts/
AlarmSchedulerTest.java 85 HashSet<Long> eventIds = new HashSet<Long>();
87 if (!eventIds.contains(event.mEventId)) {
94 eventIds.add(event.mEventId);

Completed in 299 milliseconds