Searched refs:eventIds (Results 1 – 5 of 5) sorted by relevance
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
D | DismissAlarmsService.java | 68 long[] eventIds = intent.getLongArrayExtra(AlertUtils.EVENT_IDS_KEY); in onHandleIntent() local 81 } else if (eventIds != null && eventIds.length > 0 && in onHandleIntent() 82 eventStarts != null && eventIds.length == eventStarts.length) { in onHandleIntent() 83 selection = buildMultipleEventsQuery(eventIds); in onHandleIntent() 84 for (int i = 0; i < eventIds.length; i++) { in onHandleIntent() 85 alarmIds.add(new AlarmId(eventIds[i], eventStarts[i])); in onHandleIntent() 116 private String buildMultipleEventsQuery(long[] eventIds) { in buildMultipleEventsQuery() argument 121 if (eventIds.length > 0) { in buildMultipleEventsQuery() 125 selection.append(eventIds[0]); in buildMultipleEventsQuery() 126 for (int i = 1; i < eventIds.length; i++) { in buildMultipleEventsQuery() [all …]
|
D | GlobalDismissManager.java | 210 public static void processEventIds(Context context, Set<Long> eventIds) { in processEventIds() argument 216 Map<Long, Long> eventsToCalendars = lookupEventToCalendarMap(context, eventIds); in processEventIds() 346 Set<Long> eventIds = new HashSet<Long>(alarmIds.size()); in dismissGlobally() local 348 eventIds.add(alarmId.mEventId); in dismissGlobally() 351 Map<Long, Long> eventsToCalendars = lookupEventToCalendarMap(context, eventIds); in dismissGlobally() 420 private static Map<Long, Long> lookupEventToCalendarMap(Context context, Set<Long> eventIds) { in lookupEventToCalendarMap() argument 423 String eventSelection = buildMultipleIdQuery(eventIds, Events._ID); in lookupEventToCalendarMap()
|
D | AlertService.java | 594 HashMap<Long, NotificationInfo> eventIds = new HashMap<Long, NotificationInfo>(); in processQuery() local 768 if (eventIds.containsKey(eventId)) { in processQuery() 769 NotificationInfo oldInfo = eventIds.get(eventId); in processQuery() 812 eventIds.put(eventId, newInfo); in processQuery() 827 GlobalDismissManager.processEventIds(context, eventIds.keySet()); in processQuery()
|
D | AlertReceiver.java | 457 long[] eventIds = new long[notificationInfos.size()]; in makeDigestNotification() local 460 eventIds[i] = notificationInfos.get(i).eventId; in makeDigestNotification() 472 deleteIntent.putExtra(AlertUtils.EVENT_IDS_KEY, eventIds); in makeDigestNotification()
|
/packages/apps/Calendar/tests/src/com/android/calendar/alerts/ |
D | AlarmSchedulerTest.java | 85 HashSet<Long> eventIds = new HashSet<Long>(); in getInstancesCursor() local 87 if (!eventIds.contains(event.mEventId)) { in getInstancesCursor() 94 eventIds.add(event.mEventId); in getInstancesCursor()
|