Lines Matching full:contacts
17 package com.android.contacts;
44 import android.provider.ContactsContract.Contacts;
56 import com.android.contacts.activities.ContactEditorActivity;
57 import com.android.contacts.compat.CompatUtils;
58 import com.android.contacts.compat.PinnedPositionsCompat;
59 import com.android.contacts.database.ContactUpdateUtils;
60 import com.android.contacts.database.SimContactDao;
61 import com.android.contacts.model.AccountTypeManager;
62 import com.android.contacts.model.CPOWrapper;
63 import com.android.contacts.model.RawContactDelta;
64 import com.android.contacts.model.RawContactDeltaList;
65 import com.android.contacts.model.RawContactModifier;
66 import com.android.contacts.model.account.AccountWithDataSet;
67 import com.android.contacts.preference.ContactsPreferences;
68 import com.android.contacts.util.ContactDisplayUtils;
69 import com.android.contacts.util.ContactPhotoUtils;
70 import com.android.contacts.util.PermissionsUtil;
314 // TODO: add more specific error string such as "Turn on Contacts
315 // permission to update your contacts"
452 * This variant is used when multiple contacts' photos may be updated, as in the
560 // Since the profile supports local raw contacts, which may have been completely
564 new String[] {Contacts._ID, Contacts.LOOKUP_KEY},
573 lookupUri = Contacts.getLookupUri(contactId, lookupKey);
642 // the ContactProvider already knows about newly-created contacts.
665 // is now null). For local contacts or the local profile, it's possible that the
751 * @param rawContactsToAdd is an array of raw contact IDs for contacts that
902 * @param rawContactsToAdd is an array of raw contact IDs for contacts that
904 * @param rawContactsToRemove is an array of raw contact IDs for contacts
1049 values.put(Contacts.STARRED, value);
1053 final Cursor c = getContentResolver().query(contactUri, new String[] {Contacts._ID},
1094 values.put(Contacts.SEND_TO_VOICEMAIL, value);
1119 values.put(Contacts.CUSTOM_RINGTONE, value);
1182 * Creates an intent that can be sent to this service to delete multiple contacts.
1210 final Uri contactUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId);
1320 // For each pair of raw contacts, insert an aggregation exception
1340 * Creates an intent that can be sent to this service to join two contacts.
1350 // Callback intent will be invoked by the service once the contacts are joined.
1359 * Creates an intent to join all raw contacts inside {@param contactIds}'s contacts.
1372 * Creates an intent to join all raw contacts inside {@param contactIds}'s contacts.
1393 Contacts.Entity.DATA_ID,
1394 Contacts.Entity.CONTACT_ID,
1395 Contacts.Entity.IS_SUPER_PRIMARY,
1398 " AND " + StructuredName.DISPLAY_NAME + "=" + Contacts.DISPLAY_NAME +
1412 // Load raw contact IDs for all contacts involved.
1423 // For each pair of raw contacts, insert an aggregation exception
1477 /** Get the display name of the top-level contact after the contacts have been linked. */
1479 final StringBuilder whereBuilder = new StringBuilder(Contacts._ID).append(" IN (");
1486 final Cursor cursor = getContentResolver().query(Contacts.CONTENT_URI,
1487 new String[]{Contacts._ID, Contacts.DISPLAY_NAME,
1488 Contacts.DISPLAY_NAME_ALTERNATIVE},
1541 // Load raw contact IDs for all raw contacts involved - currently edited and selected
1551 // For each pair of raw contacts, insert an aggregation exception
1564 Contacts.CONTENT_URI, contactId1);
1566 contactId1Uri, Contacts.Entity.CONTENT_DIRECTORY);
1570 Log.e(TAG, "Unable to open Contacts DB cursor");
1646 Log.e(TAG, "Unable to open Contacts DB cursor");
1688 Log.e(TAG, "Unable to open Contacts DB cursor");
1695 Log.e(TAG, "Not enough raw contacts to aggregate together.");