HomeSort by relevance Sort by last modified time
    Searched refs:RawContacts (Results 26 - 50 of 90) sorted by null

12 3 4

  /packages/experimental/LoaderApp/src/com/android/loaderapp/model/
EntitySet.java 32 import android.provider.ContactsContract.RawContacts;
65 EntityIterator iterator = RawContacts.newEntityIterator(resolver.query(
176 * {@link RawContacts} together.
210 Long rawContactId1 = get(index1).getValues().getAsLong(RawContacts._ID);
217 Long rawContactId2 = get(index2).getValues().getAsLong(RawContacts._ID);
228 * existing {@link RawContacts#_ID} value. Usually used when creating
233 final Long rawContactId = delta.getValues().getAsLong(RawContacts._ID);
242 * Find {@link RawContacts#_ID} of the requested {@link EntityDelta}.
249 return values.getAsLong(RawContacts._ID);
261 * Find index of given {@link RawContacts#_ID} when present
    [all...]
ContactLoader.java 21 import android.provider.ContactsContract.RawContacts;
29 * Loads a single Contact and all it constituent RawContacts.
117 cursor = resolver.query(RawContactsEntity.CONTENT_URI, null, RawContacts.CONTACT_ID
121 EntityIterator iterator = RawContacts.newEntityIterator(cursor);
  /development/samples/SampleSyncAdapter/src/com/example/android/samplesync/platform/
ContactManager.java 41 import android.provider.ContactsContract.RawContacts;
109 * @param rawContacts The list of contacts to update
115 List<RawContact> rawContacts, long groupId, long lastSyncMarker) {
123 for (final RawContact rawContact : rawContacts) {
137 // row for this contact so that the RawContacts.SOURCE_ID value
235 * @param rawContacts The list of users we want to update
237 public static void updateStatusMessages(Context context, List<RawContact> rawContacts) {
240 for (RawContact rawContact : rawContacts) {
254 * @param rawContacts The list of users we want to update
256 public static void addStreamItems(Context context, List<RawContact> rawContacts,
    [all...]
ContactOperations.java 33 import android.provider.ContactsContract.RawContacts;
105 mValues.put(RawContacts.SOURCE_ID, userId);
106 mValues.put(RawContacts.ACCOUNT_TYPE, Constants.ACCOUNT_TYPE);
107 mValues.put(RawContacts.ACCOUNT_NAME, accountName);
109 newInsertCpo(RawContacts.CONTENT_URI, mIsSyncOperation, true).withValues(mValues);
245 mValues.put(RawContacts.SOURCE_ID, serverId);
309 mValues.put(RawContacts.DIRTY, isDirtyValue);
  /packages/experimental/LoaderApp/src/com/android/loaderapp/util/
ContactsUtils.java 32 import android.provider.ContactsContract.RawContacts;
277 contactIdCursor = cr.query(RawContacts.CONTENT_URI,
278 new String[] {RawContacts.CONTACT_ID},
279 RawContacts._ID + "=" + rawContactId, null, null);
319 rawContactIdCursor = cr.query(RawContacts.CONTENT_URI,
320 new String[] {RawContacts._ID},
321 RawContacts.CONTACT_ID + "=" + contactId, null, null);
338 rawContactIdCursor = cr.query(RawContacts.CONTENT_URI,
339 new String[] {RawContacts._ID},
340 RawContacts.CONTACT_ID + "=" + contactId, null, null)
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/editor/
ContactEditorFragment.java 73 import android.provider.ContactsContract.RawContacts;
451 String type = entityValues.getAsString(RawContacts.ACCOUNT_TYPE);
452 String dataSet = entityValues.getAsString(RawContacts.DATA_SET);
458 String name = entityValues.getAsString(RawContacts.ACCOUNT_NAME);
459 long rawContactId = entityValues.getAsLong(RawContacts.Entity._ID);
462 ContentUris.withAppendedId(RawContacts.CONTENT_URI, rawContactId),
493 if (state.getValues().getAsString(RawContacts.ACCOUNT_TYPE) == null) {
500 values.putNull(RawContacts.ACCOUNT_NAME);
501 values.putNull(RawContacts.ACCOUNT_TYPE);
502 values.putNull(RawContacts.DATA_SET)
    [all...]
RawContactEditorView.java 38 import android.provider.ContactsContract.RawContacts;
177 mRawContactId = values.getAsLong(RawContacts._ID);
181 String accountName = values.getAsString(RawContacts.ACCOUNT_NAME);
192 String accountName = values.getAsString(RawContacts.ACCOUNT_NAME);
366 String accountType = mState.getValues().getAsString(RawContacts.ACCOUNT_TYPE);
367 String accountName = mState.getValues().getAsString(RawContacts.ACCOUNT_NAME);
368 String accountDataSet = mState.getValues().getAsString(RawContacts.DATA_SET);
RawContactReadOnlyEditorView.java 36 import android.provider.ContactsContract.RawContacts;
128 mAccountName = values.getAsString(RawContacts.ACCOUNT_NAME);
129 mAccountType = values.getAsString(RawContacts.ACCOUNT_TYPE);
130 mDataSet = values.getAsString(RawContacts.DATA_SET);
165 mRawContactId = values.getAsLong(RawContacts._ID);
283 ContentUris.withAppendedId(RawContacts.CONTENT_URI, mRawContactId));
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
ContactsProvider2.java 140 import android.provider.ContactsContract.RawContacts;
246 "UPDATE " + Tables.RAW_CONTACTS + " SET " + RawContacts.TIMES_CONTACTED + "=" +
247 " ifnull(" + RawContacts.TIMES_CONTACTED + ",0)+1 " +
248 " WHERE " + RawContacts.CONTACT_ID + "=?";
414 "SELECT " + RawContacts.STARRED
415 + " FROM " + Tables.RAW_CONTACTS + " WHERE " + RawContacts._ID + "=?";
446 RawContacts.DELETED,
465 + "(SELECT " + RawContacts.CONTACT_ID
479 " SET " + RawContacts.DIRTY + "=1" +
480 " WHERE " + RawContacts._ID + " IN ("
    [all...]
DataRowHandlerForGroupMembership.java 34 import android.provider.ContactsContract.RawContacts;
48 RawContacts.DELETED,
56 private static final String SELECTION_RAW_CONTACT_ID = RawContacts._ID + "=?";
106 rawContactValues.put(RawContacts.STARRED, starred ? 1 : 0);