/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/base/packages/SystemUI/tests/src/com/android/systemui/people/ |
D | PeopleSpaceUtilsTest.java | 54 import android.provider.ContactsContract; 387 when(mMockCursor.getColumnIndex(eq(ContactsContract.CommonDataKinds.Event.LOOKUP_KEY) in testDoNotUpdateSingleConversationAppWidgetWhenNotBirthday() 407 when(mMockCursor.getColumnIndex(eq(ContactsContract.CommonDataKinds.Event.LOOKUP_KEY) in testUpdateSingleConversationAppWidgetWithoutPersonContactUriToRemoveBirthday() 431 eq(ContactsContract.CommonDataKinds.Event.LOOKUP_KEY) in testUpdateSingleConversationAppWidgetToRemoveBirthdayWhenNoLongerBirthday() 434 eq(ContactsContract.CommonDataKinds.Event.LOOKUP_KEY) in testUpdateSingleConversationAppWidgetToRemoveBirthdayWhenNoLongerBirthday() 439 when(mMockContentResolver.query(eq(ContactsContract.Data.CONTENT_URI), any(), any(), any(), in testUpdateSingleConversationAppWidgetToRemoveBirthdayWhenNoLongerBirthday() 465 when(mMockCursor.getColumnIndex(eq(ContactsContract.Contacts.STARRED))).thenReturn( in testUpdateSingleConversationAppWidgetWhenBirthday() 467 when(mMockCursor.getColumnIndex(eq(ContactsContract.CommonDataKinds.Event.LOOKUP_KEY) in testUpdateSingleConversationAppWidgetWhenBirthday() 518 .newInsert(ContactsContract.RawContacts.CONTENT_URI) in addBirthdayToContactsDatabase() 519 .withValue(ContactsContract.RawContacts.ACCOUNT_TYPE, "com.google") in addBirthdayToContactsDatabase() [all …]
|
/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/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/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 | 26 import android.provider.ContactsContract; 27 import android.provider.ContactsContract.Contacts; 97 ContactsContract.PhoneLookup.CONTENT_FILTER_URI, Uri.encode(phoneNumber)); in queryWithPhoneNumber() 103 ContactsContract.CommonDataKinds.Email.CONTENT_LOOKUP_URI, Uri.encode(email)); in queryWithEmail() 166 ContactsContract.CommonDataKinds.Phone.NORMALIZED_NUMBER }; in queryPhoneNumber() 170 ContactsContract.CommonDataKinds.Phone.CONTENT_URI, projection, selection, in queryPhoneNumber() 179 ContactsContract.CommonDataKinds.Phone.NORMALIZED_NUMBER); in queryPhoneNumber()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ValidateNotificationPeopleTest.java | 46 import android.provider.ContactsContract; 220 ContactsContract.Contacts.CONTENT_LOOKUP_URI, in testSearchContacts_workContact_queriesWorkContactProvider() 221 ContactsContract.Contacts.ENTERPRISE_CONTACT_LOOKUP_PREFIX + contactId); in testSearchContacts_workContact_queriesWorkContactProvider() 248 ContactsContract.Contacts.CONTENT_LOOKUP_URI, String.valueOf(contactId)); in testSearchContacts_personalContact_queriesPersonalContactProvider() 273 ContactsContract.Contacts.CONTENT_LOOKUP_URI, String.valueOf(contactId)); in testMergePhoneNumbers_noPhoneNumber() 287 eq(ContactsContract.CommonDataKinds.Phone.CONTENT_URI), in testMergePhoneNumbers_noPhoneNumber() 289 contains(ContactsContract.Contacts.LOOKUP_KEY), in testMergePhoneNumbers_noPhoneNumber() 305 ContactsContract.Contacts.CONTENT_LOOKUP_URI, String.valueOf(contactId)); in testMergePhoneNumbers_hasNumber() 321 when(mockContentResolver.query(eq(ContactsContract.CommonDataKinds.Phone.CONTENT_URI), in testMergePhoneNumbers_hasNumber() 323 contains(ContactsContract.Contacts.LOOKUP_KEY), in testMergePhoneNumbers_hasNumber() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | UserInfoControllerImpl.java | 32 import android.provider.ContactsContract; 76 profileFilter.addAction(ContactsContract.Intents.ACTION_PROFILE_CHANGED); in UserInfoControllerImpl() 105 if (ContactsContract.Intents.ACTION_PROFILE_CHANGED.equals(action) || 173 ContactsContract.Profile.CONTENT_URI, new String[] { in queryForUserInformation() 174 ContactsContract.CommonDataKinds.Phone._ID, in queryForUserInformation() 175 ContactsContract.CommonDataKinds.Phone.DISPLAY_NAME in queryForUserInformation() 181 ContactsContract.CommonDataKinds.Phone.DISPLAY_NAME)); in queryForUserInformation()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/ |
D | ContactsQueryHelperTest.java | 30 import android.provider.ContactsContract; 31 import android.provider.ContactsContract.Contacts; 58 ContactsContract.CommonDataKinds.Phone.NORMALIZED_NUMBER }; 81 ContactsContract.PhoneLookup.CONTENT_FILTER_URI, mContactsLookupCursor); in setUp() 83 ContactsContract.CommonDataKinds.Email.CONTENT_LOOKUP_URI, mContactsLookupCursor); in setUp() 85 ContactsContract.CommonDataKinds.Phone.CONTENT_URI, mPhoneCursor); in setUp() 87 contentResolver.addProvider(ContactsContract.AUTHORITY, contentProvider); in setUp()
|
/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 | 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 …]
|
/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/core/java/com/android/server/notification/ |
D | ValidateNotificationPeople.java | 33 import android.provider.ContactsContract; 34 import android.provider.ContactsContract.Contacts; 79 { ContactsContract.CommonDataKinds.Phone.NORMALIZED_NUMBER, 80 ContactsContract.CommonDataKinds.Phone.NUMBER }; 492 ContactsContract.CommonDataKinds.Phone.NORMALIZED_NUMBER); in mergePhoneNumber() 499 final int numIdx = cursor.getColumnIndex(ContactsContract.CommonDataKinds.Phone.NUMBER); in mergePhoneNumber() 612 Uri phoneUri = Uri.withAppendedPath(ContactsContract.PhoneLookup.CONTENT_FILTER_URI, in resolvePhoneContact() 619 ContactsContract.CommonDataKinds.Email.CONTENT_LOOKUP_URI, in resolveEmailContact() 628 ContactsContract.Contacts.createCorpLookupUriFromEnterpriseLookupUri(lookupUri); in searchContacts() 649 ContactsContract.CommonDataKinds.Phone.CONTENT_URI, PHONE_LOOKUP_PROJECTION, in searchContactsAndLookupNumbers()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/content/ |
D | SyncManagerTest.java | 38 import android.provider.ContactsContract; 235 ContactsContract.AUTHORITY)).isTrue(); in testShouldDisableSync() 237 ContactsContract.AUTHORITY)).isFalse(); in testShouldDisableSync()
|