/frameworks/base/core/java/android/provider/ |
D | ContactsInternal.java | 50 matcher.addURI(ContactsContract.AUTHORITY, "contacts/lookup/*", CONTACTS_URI_LOOKUP); in matcher.addURI() 51 matcher.addURI(ContactsContract.AUTHORITY, "contacts/lookup/*/#", CONTACTS_URI_LOOKUP_ID); in matcher.addURI() 98 ? ContactsContract.Contacts.ENTERPRISE_CONTACT_ID_BASE //contact id will be ignored in maybeStartManagedQuickContact() 101 final String directoryIdStr = uri.getQueryParameter(ContactsContract.DIRECTORY_PARAM_KEY); in maybeStartManagedQuickContact() 103 ? ContactsContract.Directory.ENTERPRISE_DIRECTORY_ID_BASE in maybeStartManagedQuickContact() 109 ContactsContract.Contacts.ENTERPRISE_CONTACT_LOOKUP_PREFIX)) { in maybeStartManagedQuickContact() 113 if (!ContactsContract.Contacts.isEnterpriseContactId(contactId)) { in maybeStartManagedQuickContact() 116 if (!ContactsContract.Directory.isEnterpriseDirectoryId(directoryId)) { in maybeStartManagedQuickContact() 123 ContactsContract.Contacts.ENTERPRISE_CONTACT_LOOKUP_PREFIX.length()); in maybeStartManagedQuickContact() 125 (contactId - ContactsContract.Contacts.ENTERPRISE_CONTACT_ID_BASE); in maybeStartManagedQuickContact() [all …]
|
D | Contacts.java | 1557 String PRESENCE_STATUS = ContactsContract.StatusUpdates.PRESENCE; 1562 int OFFLINE = ContactsContract.StatusUpdates.OFFLINE; 1563 int INVISIBLE = ContactsContract.StatusUpdates.INVISIBLE; 1564 int AWAY = ContactsContract.StatusUpdates.AWAY; 1565 int IDLE = ContactsContract.StatusUpdates.IDLE; 1566 int DO_NOT_DISTURB = ContactsContract.StatusUpdates.DO_NOT_DISTURB; 1567 int AVAILABLE = ContactsContract.StatusUpdates.AVAILABLE; 1573 String PRESENCE_CUSTOM_STATUS = ContactsContract.StatusUpdates.STATUS; 1982 ContactsContract.Intents.SEARCH_SUGGESTION_CLICKED; 1991 ContactsContract.Intents.SEARCH_SUGGESTION_DIAL_NUMBER_CLICKED; [all …]
|
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/eab/ |
D | EabContactSyncController.java | 25 import android.provider.ContactsContract; 70 selection.append(ContactsContract.Contacts.CONTACT_LAST_UPDATED_TIMESTAMP + ">?"); in syncContactToEabProvider() 79 ContactsContract.Data.CONTENT_URI, in syncContactToEabProvider() 123 ContactsContract.DeletedContacts.CONTACT_DELETED_TIMESTAMP + ">" + timeStamp; in handleContactDeletedCase() 127 ContactsContract.DeletedContacts.CONTENT_URI, in handleContactDeletedCase() 128 new String[]{ContactsContract.DeletedContacts.CONTACT_ID, in handleContactDeletedCase() 129 ContactsContract.DeletedContacts.CONTACT_DELETED_TIMESTAMP}, in handleContactDeletedCase() 149 ContactsContract.DeletedContacts.CONTACT_ID)); in handleContactDeletedCase() 173 cursor.getColumnIndex(ContactsContract.Data.MIMETYPE)); in handlePhoneNumberDeletedCase() 174 if (!mimeType.equals(ContactsContract.CommonDataKinds.Phone.CONTENT_ITEM_TYPE)) { in handlePhoneNumberDeletedCase() [all …]
|
/frameworks/opt/vcard/java/com/android/vcard/ |
D | VCardComposer.java | 27 import android.provider.ContactsContract.CommonDataKinds.Email; 28 import android.provider.ContactsContract.CommonDataKinds.Event; 29 import android.provider.ContactsContract.CommonDataKinds.Im; 30 import android.provider.ContactsContract.CommonDataKinds.Nickname; 31 import android.provider.ContactsContract.CommonDataKinds.Note; 32 import android.provider.ContactsContract.CommonDataKinds.Organization; 33 import android.provider.ContactsContract.CommonDataKinds.Phone; 34 import android.provider.ContactsContract.CommonDataKinds.Photo; 35 import android.provider.ContactsContract.CommonDataKinds.Relation; 36 import android.provider.ContactsContract.CommonDataKinds.SipAddress; [all …]
|
D | VCardEntryCommitter.java | 24 import android.provider.ContactsContract; 84 ContactsContract.AUTHORITY, operationList); in pushIntoContentResolver()
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | Queries.java | 21 import android.provider.ContactsContract; 22 import android.provider.ContactsContract.CommonDataKinds.Email; 23 import android.provider.ContactsContract.CommonDataKinds.Phone; 24 import android.provider.ContactsContract.Contacts; 41 ContactsContract.CommonDataKinds.Email.MIMETYPE // 9 61 ContactsContract.CommonDataKinds.Email.MIMETYPE // 9
|
D | RecipientAlternatesAdapter.java | 25 import android.provider.ContactsContract; 26 import android.provider.ContactsContract.Contacts; 355 .appendQueryParameter(ContactsContract.LIMIT_PARAM_KEY, in doQuery() 358 builder.appendQueryParameter(ContactsContract.DIRECTORY_PARAM_KEY, in doQuery() 411 ContactsContract.DIRECTORY_PARAM_KEY, String.valueOf(directoryId)) in getCursorForConstruction() 413 desiredMimeType = ContactsContract.CommonDataKinds.Email.CONTENT_ITEM_TYPE; in getCursorForConstruction() 426 ContactsContract.DIRECTORY_PARAM_KEY, String.valueOf(directoryId)) in getCursorForConstruction() 428 desiredMimeType = ContactsContract.CommonDataKinds.Phone.CONTENT_ITEM_TYPE; in getCursorForConstruction() 482 if (ContactsContract.CommonDataKinds.StructuredName.CONTENT_ITEM_TYPE.equals( in removeUndesiredDestinations()
|
D | DefaultPhotoManager.java | 23 import android.provider.ContactsContract; 49 ContactsContract.CommonDataKinds.Photo.PHOTO
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/ |
D | PeopleSpaceUtilsTest.java | 54 import android.provider.ContactsContract; 392 when(mMockCursor.getColumnIndex(eq(ContactsContract.CommonDataKinds.Event.LOOKUP_KEY) in testDoNotUpdateSingleConversationAppWidgetWhenNotBirthday() 412 when(mMockCursor.getColumnIndex(eq(ContactsContract.CommonDataKinds.Event.LOOKUP_KEY) in testUpdateSingleConversationAppWidgetWithoutPersonContactUriToRemoveBirthday() 436 eq(ContactsContract.CommonDataKinds.Event.LOOKUP_KEY) in testUpdateSingleConversationAppWidgetToRemoveBirthdayWhenNoLongerBirthday() 439 eq(ContactsContract.CommonDataKinds.Event.LOOKUP_KEY) in testUpdateSingleConversationAppWidgetToRemoveBirthdayWhenNoLongerBirthday() 444 when(mMockContentResolver.query(eq(ContactsContract.Data.CONTENT_URI), any(), any(), any(), in testUpdateSingleConversationAppWidgetToRemoveBirthdayWhenNoLongerBirthday() 470 when(mMockCursor.getColumnIndex(eq(ContactsContract.Contacts.STARRED))).thenReturn( in testUpdateSingleConversationAppWidgetWhenBirthday() 472 when(mMockCursor.getColumnIndex(eq(ContactsContract.CommonDataKinds.Event.LOOKUP_KEY) in testUpdateSingleConversationAppWidgetWhenBirthday() 523 .newInsert(ContactsContract.RawContacts.CONTENT_URI) in addBirthdayToContactsDatabase() 524 .withValue(ContactsContract.RawContacts.ACCOUNT_TYPE, "com.google") in addBirthdayToContactsDatabase() [all …]
|
/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/eab/ |
D | EabContactSyncControllerTest.java | 19 import static android.provider.ContactsContract.CommonDataKinds.Phone.CONTENT_ITEM_TYPE; 34 import android.provider.ContactsContract; 71 providerInfo.authority = ContactsContract.AUTHORITY; in setUp() 181 values.put(ContactsContract.DeletedContacts.CONTACT_ID, contactId); in insertDeletedContactToContactProvider() 182 values.put(ContactsContract.DeletedContacts.CONTACT_DELETED_TIMESTAMP, timestamp); in insertDeletedContactToContactProvider() 184 ContactsContract.DeletedContacts.CONTENT_URI, values); in insertDeletedContactToContactProvider() 190 values.put(ContactsContract.Data._ID, dataId); in insertContactToContactProvider() 192 values.put(ContactsContract.CommonDataKinds.Phone.RAW_CONTACT_ID, rawContactId); in insertContactToContactProvider() 193 values.put(ContactsContract.Data.MIMETYPE, CONTENT_ITEM_TYPE); in insertContactToContactProvider() 194 values.put(ContactsContract.CommonDataKinds.Phone.NUMBER, number); in insertContactToContactProvider() [all …]
|
/frameworks/base/services/people/java/com/android/server/people/data/ |
D | ContactsQueryHelper.java | 25 import android.provider.ContactsContract; 26 import android.provider.ContactsContract.Contacts; 96 ContactsContract.PhoneLookup.CONTENT_FILTER_URI, Uri.encode(phoneNumber)); in queryWithPhoneNumber() 102 ContactsContract.CommonDataKinds.Email.CONTENT_LOOKUP_URI, Uri.encode(email)); in queryWithEmail() 161 ContactsContract.CommonDataKinds.Phone.NORMALIZED_NUMBER }; in queryPhoneNumber() 165 ContactsContract.CommonDataKinds.Phone.CONTENT_URI, projection, selection, in queryPhoneNumber() 174 ContactsContract.CommonDataKinds.Phone.NORMALIZED_NUMBER); in queryPhoneNumber()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/ |
D | ContactsQueryHelperTest.java | 29 import android.provider.ContactsContract; 30 import android.provider.ContactsContract.Contacts; 57 ContactsContract.CommonDataKinds.Phone.NORMALIZED_NUMBER }; 79 ContactsContract.PhoneLookup.CONTENT_FILTER_URI, mContactsLookupCursor); in setUp() 81 ContactsContract.CommonDataKinds.Email.CONTENT_LOOKUP_URI, mContactsLookupCursor); in setUp() 83 ContactsContract.CommonDataKinds.Phone.CONTENT_URI, mPhoneCursor); in setUp() 85 contentResolver.addProvider(ContactsContract.AUTHORITY, contentProvider); in setUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | UserInfoControllerImpl.java | 34 import android.provider.ContactsContract; 74 profileFilter.addAction(ContactsContract.Intents.ACTION_PROFILE_CHANGED); in UserInfoControllerImpl() 105 if (ContactsContract.Intents.ACTION_PROFILE_CHANGED.equals(action) || 180 ContactsContract.Profile.CONTENT_URI, new String[] { in queryForUserInformation() 181 ContactsContract.CommonDataKinds.Phone._ID, in queryForUserInformation() 182 ContactsContract.CommonDataKinds.Phone.DISPLAY_NAME in queryForUserInformation() 188 ContactsContract.CommonDataKinds.Phone.DISPLAY_NAME)); in queryForUserInformation()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/ |
D | PeopleSpaceUtils.java | 45 import android.provider.ContactsContract; 455 cursor.getColumnIndex(ContactsContract.CommonDataKinds.Event.LOOKUP_KEY)); in updateTileWithBirthdayAndUpdateAffinity() 480 int starIdx = cursor.getColumnIndex(ContactsContract.Contacts.STARRED); in getContactAffinity() 505 ContactsContract.CommonDataKinds.Event.LOOKUP_KEY, in getContactLookupKeysWithBirthdaysToday() 506 ContactsContract.CommonDataKinds.Event.START_DATE}; in getContactLookupKeysWithBirthdaysToday() 508 ContactsContract.Data.MIMETYPE in getContactLookupKeysWithBirthdaysToday() 509 + "= ? AND " + ContactsContract.CommonDataKinds.Event.TYPE + "=" in getContactLookupKeysWithBirthdaysToday() 510 + ContactsContract.CommonDataKinds.Event.TYPE_BIRTHDAY + " AND (substr(" in getContactLookupKeysWithBirthdaysToday() 512 + ContactsContract.CommonDataKinds.Event.START_DATE + ",6) = ? OR substr(" in getContactLookupKeysWithBirthdaysToday() 514 + ContactsContract.CommonDataKinds.Event.START_DATE + ",3) = ? )"; in getContactLookupKeysWithBirthdaysToday() [all …]
|
/frameworks/base/core/java/android/widget/ |
D | QuickContactBadge.java | 30 import android.provider.ContactsContract.CommonDataKinds.Email; 31 import android.provider.ContactsContract.Contacts; 32 import android.provider.ContactsContract.Intents; 33 import android.provider.ContactsContract.PhoneLookup; 34 import android.provider.ContactsContract.QuickContact; 35 import android.provider.ContactsContract.RawContacts;
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/ |
D | VCardBuilderTest.java | 20 import android.provider.ContactsContract; 39 values.put(ContactsContract.CommonDataKinds.StructuredName.DISPLAY_NAME, "ने"); in testVCardNameFieldFromDisplayName()
|
D | VCardEntryTests.java | 43 import android.provider.ContactsContract.CommonDataKinds.Email; 44 import android.provider.ContactsContract.CommonDataKinds.Im; 45 import android.provider.ContactsContract.CommonDataKinds.Organization; 46 import android.provider.ContactsContract.CommonDataKinds.Phone; 47 import android.provider.ContactsContract.CommonDataKinds.StructuredPostal; 48 import android.provider.ContactsContract.CommonDataKinds.SipAddress;
|
D | VCardImporterTests.java | 19 import android.provider.ContactsContract.CommonDataKinds.Email; 20 import android.provider.ContactsContract.CommonDataKinds.Event; 21 import android.provider.ContactsContract.CommonDataKinds.Im; 22 import android.provider.ContactsContract.CommonDataKinds.Nickname; 23 import android.provider.ContactsContract.CommonDataKinds.Note; 24 import android.provider.ContactsContract.CommonDataKinds.Organization; 25 import android.provider.ContactsContract.CommonDataKinds.Phone; 26 import android.provider.ContactsContract.CommonDataKinds.Photo; 27 import android.provider.ContactsContract.CommonDataKinds.SipAddress; 28 import android.provider.ContactsContract.CommonDataKinds.StructuredName; [all …]
|
D | VCardExporterTests.java | 26 import android.provider.ContactsContract.CommonDataKinds.Email; 27 import android.provider.ContactsContract.CommonDataKinds.Event; 28 import android.provider.ContactsContract.CommonDataKinds.Im; 29 import android.provider.ContactsContract.CommonDataKinds.Nickname; 30 import android.provider.ContactsContract.CommonDataKinds.Note; 31 import android.provider.ContactsContract.CommonDataKinds.Organization; 32 import android.provider.ContactsContract.CommonDataKinds.Phone; 33 import android.provider.ContactsContract.CommonDataKinds.Photo; 34 import android.provider.ContactsContract.CommonDataKinds.Relation; 35 import android.provider.ContactsContract.CommonDataKinds.SipAddress; [all …]
|
D | VCardJapanizationTests.java | 19 import android.provider.ContactsContract.CommonDataKinds.Nickname; 20 import android.provider.ContactsContract.CommonDataKinds.Note; 21 import android.provider.ContactsContract.CommonDataKinds.Phone; 22 import android.provider.ContactsContract.CommonDataKinds.StructuredName; 23 import android.provider.ContactsContract.CommonDataKinds.StructuredPostal;
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
D | ExportTestProvider.java | 24 import android.provider.ContactsContract.Contacts; 25 import android.provider.ContactsContract.Data; 26 import android.provider.ContactsContract.RawContacts;
|
D | ExportTestResolver.java | 18 import android.provider.ContactsContract.RawContacts;
|
D | ContactEntry.java | 19 import android.provider.ContactsContract.Data;
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ValidateNotificationPeopleTest.java | 35 import android.provider.ContactsContract; 201 ContactsContract.Contacts.CONTENT_LOOKUP_URI, in testSearchContacts_workContact_queriesWorkContactProvider() 202 ContactsContract.Contacts.ENTERPRISE_CONTACT_LOOKUP_PREFIX + contactId); in testSearchContacts_workContact_queriesWorkContactProvider() 229 ContactsContract.Contacts.CONTENT_LOOKUP_URI, String.valueOf(contactId)); in testSearchContacts_personalContact_queriesPersonalContactProvider()
|
/frameworks/base/telecomm/java/android/telecom/ |
D | CallerInfo.java | 31 import android.provider.ContactsContract.CommonDataKinds.Phone; 32 import android.provider.ContactsContract.Contacts; 33 import android.provider.ContactsContract.Data; 34 import android.provider.ContactsContract.PhoneLookup; 35 import android.provider.ContactsContract.RawContacts;
|