Lines Matching refs:Contacts
17 package com.android.contacts;
42 import android.provider.ContactsContract.Contacts;
51 import com.android.contacts.activities.ContactEditorBaseActivity;
52 import com.android.contacts.common.compat.CompatUtils;
53 import com.android.contacts.common.database.ContactUpdateUtils;
54 import com.android.contacts.common.model.AccountTypeManager;
55 import com.android.contacts.common.model.CPOWrapper;
56 import com.android.contacts.common.model.RawContactDelta;
57 import com.android.contacts.common.model.RawContactDeltaList;
58 import com.android.contacts.common.model.RawContactModifier;
59 import com.android.contacts.common.model.account.AccountWithDataSet;
60 import com.android.contacts.common.util.PermissionsUtil;
61 import com.android.contacts.compat.PinnedPositionsCompat;
62 import com.android.contacts.activities.ContactEditorBaseActivity.ContactEditor.SaveMode;
63 import com.android.contacts.util.ContactPhotoUtils;
236 // TODO: add more specific error string such as "Turn on Contacts
237 // permission to update your contacts"
365 * This variant is used when multiple contacts' photos may be updated, as in the
473 // Since the profile supports local raw contacts, which may have been completely
477 new String[] {Contacts._ID, Contacts.LOOKUP_KEY},
486 lookupUri = Contacts.getLookupUri(contactId, lookupKey);
555 // the ContactProvider already knows about newly-created contacts.
578 // is now null). For local contacts or the local profile, it's possible that the
664 * @param rawContactsToAdd is an array of raw contact IDs for contacts that
796 * @param rawContactsToAdd is an array of raw contact IDs for contacts that
798 * @param rawContactsToRemove is an array of raw contact IDs for contacts
941 values.put(Contacts.STARRED, value);
945 final Cursor c = getContentResolver().query(contactUri, new String[] {Contacts._ID},
986 values.put(Contacts.SEND_TO_VOICEMAIL, value);
1011 values.put(Contacts.CUSTOM_RINGTONE, value);
1074 * Creates an intent that can be sent to this service to delete multiple contacts.
1101 final Uri contactUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId);
1116 * Creates an intent that can be sent to this service to join two contacts.
1126 // Callback intent will be invoked by the service once the contacts are joined.
1135 * Creates an intent to join all raw contacts inside {@param contactIds}'s contacts.
1160 Contacts.Entity.DATA_ID,
1161 Contacts.Entity.CONTACT_ID,
1162 Contacts.Entity.IS_SUPER_PRIMARY,
1165 " AND " + StructuredName.DISPLAY_NAME + "=" + Contacts.DISPLAY_NAME +
1177 // Load raw contact IDs for all contacts involved.
1184 // For each pair of raw contacts, insert an aggregation exception
1227 // Load raw contact IDs for all raw contacts involved - currently edited and selected
1237 // For each pair of raw contacts, insert an aggregation exception
1250 Contacts.CONTENT_URI, contactId1);
1252 contactId1Uri, Contacts.Entity.CONTENT_DIRECTORY);
1256 Log.e(TAG, "Unable to open Contacts DB cursor");
1326 Log.e(TAG, "Unable to open Contacts DB cursor");
1332 Log.e(TAG, "Not enough raw contacts to aggregate together.");