Home | History | Annotate | Download | only in model

Lines Matching refs:RawContacts

34 import android.provider.ContactsContract.RawContacts;
51 * empty {@link Entity}, which then becomes an insert {@link RawContacts} case.
89 entity.mValues.setIdColumn(RawContacts._ID);
112 .getAsLong(RawContacts.VERSION);
113 final Long remoteVersion = remote.mValues.getAsLong(RawContacts.VERSION);
355 final Long beforeVersion = mValues.getAsLong(RawContacts.VERSION);
359 .newAssertQuery(RawContacts.CONTENT_URI);
360 builder.withSelection(RawContacts._ID + "=" + beforeId, null);
361 builder.withValue(RawContacts.VERSION, beforeVersion);
386 mValues.put(RawContacts.AGGREGATION_MODE, RawContacts.AGGREGATION_MODE_SUSPENDED);
390 builder = mValues.buildDiff(RawContacts.CONTENT_URI);
419 builder = buildSetAggregationMode(beforeId, RawContacts.AGGREGATION_MODE_SUSPENDED);
423 builder = buildSetAggregationMode(beforeId, RawContacts.AGGREGATION_MODE_DEFAULT);
427 builder = ContentProviderOperation.newUpdate(RawContacts.CONTENT_URI);
428 builder.withValue(RawContacts.AGGREGATION_MODE, RawContacts.AGGREGATION_MODE_DEFAULT);
429 builder.withSelection(RawContacts._ID + "=?", new String[1]);
437 * {@link RawContacts#AGGREGATION_MODE} to the given value.
440 Builder builder = ContentProviderOperation.newUpdate(RawContacts.CONTENT_URI);
441 builder.withValue(RawContacts.AGGREGATION_MODE, mode);
442 builder.withSelection(RawContacts._ID + "=" + beforeId, null);