Home | History | Annotate | Download | only in event

Lines Matching refs:attendees

26 import android.provider.CalendarContract.Attendees;
131 static final String ATTENDEES_DELETE_PREFIX = Attendees.EVENT_ID + "=? AND "
132 + Attendees.ATTENDEE_EMAIL + " IN (";
158 Attendees.ATTENDEE_STATUS_NONE,
159 Attendees.ATTENDEE_STATUS_ACCEPTED,
160 Attendees.ATTENDEE_STATUS_TENTATIVE,
161 Attendees.ATTENDEE_STATUS_DECLINED,
223 Attendees._ID, // 0
224 Attendees.ATTENDEE_NAME, // 1
225 Attendees.ATTENDEE_EMAIL, // 2
226 Attendees.ATTENDEE_RELATIONSHIP, // 3
227 Attendees.ATTENDEE_STATUS, // 4
234 static final String ATTENDEES_WHERE = Attendees.EVENT_ID + "=? AND attendeeEmail IS NOT NULL";
446 // Add organizer as attendee since we got some attendees
449 values.put(Attendees.ATTENDEE_EMAIL, ownerEmail);
450 values.put(Attendees.ATTENDEE_RELATIONSHIP, Attendees.RELATIONSHIP_ORGANIZER);
451 values.put(Attendees.ATTENDEE_TYPE, Attendees.TYPE_REQUIRED);
452 values.put(Attendees.ATTENDEE_STATUS, Attendees.ATTENDEE_STATUS_ACCEPTED);
455 b = ContentProviderOperation.newInsert(Attendees.CONTENT_URI)
457 b.withValueBackReference(Attendees.EVENT_ID, eventIdIndex);
459 values.put(Attendees.EVENT_ID, model.mId);
460 b = ContentProviderOperation.newInsert(Attendees.CONTENT_URI)
471 Uri attUri = ContentUris.withAppendedId(Attendees.CONTENT_URI, model.mOwnerAttendeeId);
474 values.put(Attendees.ATTENDEE_STATUS, model.mSelfAttendeeStatus);
475 values.put(Attendees.EVENT_ID, model.mId);
483 String attendees = model.getAttendeesString();
492 if (newEvent || !TextUtils.equals(originalAttendeesString, attendees)) {
493 // figure out which attendees need to be added and which ones
505 // have any existing attendees.
511 // existing attendee. remove from new attendees set.
514 // no longer in attendees. mark as removed.
519 // delete removed attendees if necessary
521 b = ContentProviderOperation.newDelete(Attendees.CONTENT_URI);
541 // Insert the new attendees
544 values.put(Attendees.ATTENDEE_NAME, attendee.mName);
545 values.put(Attendees.ATTENDEE_EMAIL, attendee.mEmail);
546 values.put(Attendees.ATTENDEE_RELATIONSHIP,
547 Attendees.RELATIONSHIP_ATTENDEE);
548 values.put(Attendees.ATTENDEE_TYPE, Attendees.TYPE_REQUIRED);
549 values.put(Attendees.ATTENDEE_STATUS, Attendees.ATTENDEE_STATUS_NONE);
552 b = ContentProviderOperation.newInsert(Attendees.CONTENT_URI)
554 b.withValueBackReference(Attendees.EVENT_ID, eventIdIndex);
556 values.put(Attendees.EVENT_ID, eventId);
557 b = ContentProviderOperation.newInsert(Attendees.CONTENT_URI)
1175 // (this means num of attendees > 1, the calendar owner's and others).
1195 // This means we don't have the attendees data so we can't send
1196 // the list of attendees and the status back to the server