Home | History | Annotate | Download | only in model

Lines Matching refs:RawContacts

33 import android.provider.ContactsContract.RawContacts;
49 * empty {@link Entity}, which then becomes an insert {@link RawContacts} case.
87 entity.mValues.setIdColumn(RawContacts._ID);
110 .getAsLong(RawContacts.VERSION);
111 final Long remoteVersion = remote.mValues.getAsLong(RawContacts.VERSION);
353 final Long beforeVersion = mValues.getAsLong(RawContacts.VERSION);
357 .newAssertQuery(RawContacts.CONTENT_URI);
358 builder.withSelection(RawContacts._ID + "=" + beforeId, null);
359 builder.withValue(RawContacts.VERSION, beforeVersion);
384 mValues.put(RawContacts.AGGREGATION_MODE, RawContacts.AGGREGATION_MODE_SUSPENDED);
388 builder = mValues.buildDiff(RawContacts.CONTENT_URI);
417 builder = buildSetAggregationMode(beforeId, RawContacts.AGGREGATION_MODE_SUSPENDED);
421 builder = buildSetAggregationMode(beforeId, RawContacts.AGGREGATION_MODE_DEFAULT);
425 builder = ContentProviderOperation.newUpdate(RawContacts.CONTENT_URI);
426 builder.withValue(RawContacts.AGGREGATION_MODE, RawContacts.AGGREGATION_MODE_DEFAULT);
427 builder.withSelection(RawContacts._ID + "=?", new String[1]);
435 * {@link RawContacts#AGGREGATION_MODE} to the given value.
438 RawContacts.CONTENT_URI);
439 builder.withValue(RawContacts.AGGREGATION_MODE, mode);
440 builder.withSelection(RawContacts._ID + "=" + beforeId, null);