/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
H A D | SyncCalendarTest.java | 86 long eventId = cursor.getLong(cursor.getColumnIndex("_id")); 88 editEvent(eventId, event); 93 if (cursor.getLong(cursor.getColumnIndex("_id")) == eventId) { 116 long eventId = cursor.getLong(cursor.getColumnIndex("_id")); 118 editEvent(eventId, event); 125 if (cursor.getLong(cursor.getColumnIndex("_id")) == eventId) { 147 long eventId = cursor.getLong(cursor.getColumnIndex("_id")); 148 editEvent(eventId, event); 155 if (cursor.getLong(cursor.getColumnIndex("_id")) == eventId) {
|
H A D | CalendarProvider2Test.java | 1331 Uri alertUri = Calendar.CalendarAlerts.insert(mResolver, 1 /* eventId */, 1333 Calendar.CalendarAlerts.insert(mResolver, 1 /* eventId */, 1366 long eventId = ContentUris.parseId(eventUri); 1374 attendee.put(Calendar.Attendees.EVENT_ID, eventId); 1378 "event_id=" + eventId, null, null); 1423 * @param eventId event to fetch. 1426 private void testAndClearDirty(long eventId, int wanted) { argument 1428 ContentUris.withAppendedId(Calendar.Events.CONTENT_URI, eventId), 1437 mDb.execSQL("UPDATE Events SET _sync_dirty=0 WHERE _id=" + eventId); 1497 long eventId 1931 checkEvent(int eventId, String title, long dtStart, long dtEnd, boolean allDay) argument [all...] |
H A D | CalendarSyncTestingBase.java | 137 * @param eventId EventID of the event to be edited. 141 protected void editEvent(long eventId, EventInfo event) throws Exception { argument 152 Uri uri = ContentUris.withAppendedId(Calendar.Events.CONTENT_URI, eventId);
|
/packages/apps/Calendar/src/com/android/calendar/ |
H A D | GoogleCalendarUriIntentFilter.java | 69 int eventId = eventCursor.getInt(EVENT_INDEX_ID); 95 Uri calendarUri = ContentUris.withAppendedId(Events.CONTENT_URI, eventId);
|
H A D | AlertActivity.java | 159 private static ContentValues makeContentValues(long eventId, long begin, long end, argument 162 values.put(CalendarAlerts.EVENT_ID, eventId); 275 long eventId = mCursor.getLong(INDEX_EVENT_ID); 283 makeContentValues(eventId, begin, end, alarmTime, 0 /* minutes */);
|
H A D | AlertService.java | 152 final long eventId = alertCursor.getLong(ALERT_INDEX_EVENT_ID); 168 + " eventId:" + eventId + " state: " + state + " minutes:" + minutes 184 if (!declined && eventIds.put(eventId, beginTime) == null) { 198 if (!declined) Log.d(TAG, "dropping dup alert for event " + eventId);
|
H A D | DeleteEventHelper.java | 155 * @param eventId the event id 159 public void delete(long begin, long end, long eventId, int which) { argument 160 Uri uri = ContentUris.withAppendedId(Calendar.Events.CONTENT_URI, eventId);
|
H A D | EditEvent.java | 797 long eventId = (mEventCursor == null) ? -1 : mEventCursor.getLong(EVENT_INDEX_ID); 805 String where = String.format(REMINDERS_WHERE, eventId); 841 if (mHasAttendeeData && eventId != -1) { 843 String[] whereArgs = {Long.toString(eventId)}; 1564 long eventId = ContentUris.parseId(uri); 1565 saveReminders(ops, eventId, reminderMinutes, mOriginalMinutes, 1616 // the eventId is only used if eventIdIndex is -1. 1618 long eventId = uri != null ? ContentUris.parseId(uri) : -1; 1641 args[0] = Long.toString(eventId); 1671 values.put(Attendees.EVENT_ID, eventId); 1824 saveReminders(ArrayList<ContentProviderOperation> ops, long eventId, ArrayList<Integer> reminderMinutes, ArrayList<Integer> originalMinutes, boolean forceSave) argument [all...] |
H A D | EventInfoActivity.java | 735 private void updateResponse(ContentResolver cr, long eventId, long attendeeId, int status) { argument 744 values.put(Attendees.EVENT_ID, eventId); 750 private void createExceptionResponse(ContentResolver cr, long eventId, argument 753 Uri uri = ContentUris.withAppendedId(Events.CONTENT_URI, eventId);
|
/packages/apps/Email/src/com/android/exchange/adapter/ |
H A D | CalendarSyncAdapter.java | 290 private void addOrganizerToAttendees(CalendarOperations ops, long eventId, argument 304 if (eventId < 0) { 307 ops.updatedAttendee(attendeeCv, eventId); 396 long eventId = -1; 430 eventId = id; 468 // If eventId >= 0, this is an update; otherwise, a new Event 469 attendeeValues = attendeesParser(ops, eventId); 493 addOrganizerToAttendees(ops, eventId, organizerName, organizerEmail); 558 addOrganizerToAttendees(ops, eventId, organizerName, organizerEmail); 575 if (eventId < 941 attendeesParser(CalendarOperations ops, long eventId) argument 966 attendeeParser(CalendarOperations ops, long eventId) argument [all...] |
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
H A D | CalendarProvider2.java | 440 long eventId = cursor.getLong(0); 443 updateEventsStartEndLocked(eventId, 469 private void updateEventsStartEndLocked(long eventId, argument 477 new String[] {String.valueOf(eventId)}); 1082 Long eventId = Long.valueOf(entries.getLong(idColumn)); 1091 + eventId + "'" + durationStr + "'", e); 1188 initialValues.put(Instances.EVENT_ID, eventId); 1240 initialValues.put(Instances.EVENT_ID, eventId); 1776 private void setEventDirty(int eventId) { argument 1777 mDb.execSQL("UPDATE Events SET _sync_dirty=1 where _id=?", new Integer[] {eventId}); 1821 createAttendeeEntry(long eventId, int status, String emailAddress) argument 2211 updateEventRawTimesLocked(long eventId, ContentValues values) argument [all...] |
H A D | CalendarAppWidgetService.java | 502 long eventId = cursor.getLong(INDEX_EVENT_ID); 521 if (watchEventIds.contains(eventId)) {
|
/packages/apps/Email/src/com/android/exchange/utility/ |
H A D | CalendarUtilities.java | 1684 * @param eventId the unique id of the Event 1693 static public EmailContent.Message createMessageForEventId(Context context, long eventId, argument 1695 return createMessageForEventId(context, eventId, messageFlag, uid, account, 1699 static public EmailContent.Message createMessageForEventId(Context context, long eventId, argument 1707 "true").build(), eventId), null, null, null, null), cr);
|