Home
last modified time | relevance | path

Searched refs:Contacts (Results 1 – 25 of 26) sorted by relevance

12

/aosp14/frameworks/base/services/people/java/com/android/server/people/data/
H A DContactsQueryHelper.java27 import android.provider.ContactsContract.Contacts;
70 Contacts._ID, Contacts.LOOKUP_KEY, Contacts.STARRED, Contacts.HAS_PHONE_NUMBER, in querySince()
71 Contacts.CONTACT_LAST_UPDATED_TIMESTAMP }; in querySince()
72 String selection = Contacts.CONTACT_LAST_UPDATED_TIMESTAMP + " > ?"; in querySince()
109 Contacts._ID, Contacts.LOOKUP_KEY, Contacts.STARRED, Contacts.HAS_PHONE_NUMBER }; in queryWithUri()
127 int idIndex = cursor.getColumnIndex(Contacts._ID); in queryContact()
131 int lookupKeyIndex = cursor.getColumnIndex(Contacts.LOOKUP_KEY); in queryContact()
134 mContactUri = Contacts.getLookupUri(contactId, lookupKey); in queryContact()
137 int starredIndex = cursor.getColumnIndex(Contacts.STARRED); in queryContact()
146 Contacts.CONTACT_LAST_UPDATED_TIMESTAMP); in queryContact()
[all …]
H A DDataManager.java57 import android.provider.ContactsContract.Contacts;
636 Contacts.CONTENT_URI, /* notifyForDescendants= */ true, in setupUser()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
H A DContactsQueryHelperTest.java31 import android.provider.ContactsContract.Contacts;
53 Contacts._ID, Contacts.LOOKUP_KEY, Contacts.STARRED, Contacts.HAS_PHONE_NUMBER,
54 Contacts.CONTACT_LAST_UPDATED_TIMESTAMP };
56 Contacts._ID, Contacts.LOOKUP_KEY, Contacts.STARRED, Contacts.HAS_PHONE_NUMBER };
79 contentProvider.registerCursor(Contacts.CONTENT_URI, mContactsCursor); in setUp()
97 Uri contactUri = Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI, CONTACT_LOOKUP_KEY); in testQuerySQLiteException_returnsFalse()
105 Uri contactUri = Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI, CONTACT_LOOKUP_KEY); in testQueryIllegalArgumentException_returnsFalse()
115 Uri contactUri = Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI, CONTACT_LOOKUP_KEY); in testQueryWithUri()
128 Uri contactUri = Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI, CONTACT_LOOKUP_KEY); in testQueryWithUriNotStarredNoPhoneNumber()
138 Uri contactUri = Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI, CONTACT_LOOKUP_KEY); in testQueryWithUriNotFound()
H A DDataManagerTest.java449 contentObserver.onChange(false, ContactsContract.Contacts.CONTENT_URI, USER_ID_PRIMARY); in testContactsChanged()
/aosp14/frameworks/base/core/java/android/provider/
H A DContactsInternal.java98 ? ContactsContract.Contacts.ENTERPRISE_CONTACT_ID_BASE //contact id will be ignored in maybeStartManagedQuickContact()
109 ContactsContract.Contacts.ENTERPRISE_CONTACT_LOOKUP_PREFIX)) { in maybeStartManagedQuickContact()
113 if (!ContactsContract.Contacts.isEnterpriseContactId(contactId)) { in maybeStartManagedQuickContact()
123 ContactsContract.Contacts.ENTERPRISE_CONTACT_LOOKUP_PREFIX.length()); in maybeStartManagedQuickContact()
125 (contactId - ContactsContract.Contacts.ENTERPRISE_CONTACT_ID_BASE); in maybeStartManagedQuickContact()
H A DContacts.java47 public class Contacts { class
97 private Contacts() {} in Contacts() method in Contacts
585 Uri photoUri = Uri.withAppendedPath(person, Contacts.Photos.CONTENT_DIRECTORY); in setPhotoData()
599 Uri photoUri = Uri.withAppendedPath(person, Contacts.Photos.CONTENT_DIRECTORY); in openContactPhotoInputStream()
1637 case Contacts.People.AVAILABLE: in getPresenceIconResourceId()
1640 case Contacts.People.IDLE: in getPresenceIconResourceId()
1641 case Contacts.People.AWAY: in getPresenceIconResourceId()
1644 case Contacts.People.DO_NOT_DISTURB: in getPresenceIconResourceId()
1647 case Contacts.People.INVISIBLE: in getPresenceIconResourceId()
1650 case Contacts.People.OFFLINE: in getPresenceIconResourceId()
H A DContactsContract.java1529 public static class Contacts implements BaseColumns, ContactsColumns, class in ContactsContract
1534 private Contacts() {} in Contacts() method in ContactsContract.Contacts
1678 Contacts.LOOKUP_KEY, Contacts._ID in getLookupUri()
2212 Contacts.Photo.DISPLAY_PHOTO); in openContactPhotoInputStream()
2963 RawContacts.CONTACT_ID, Contacts.LOOKUP_KEY in getContactLookupUri()
2971 return Contacts.getLookupUri(contactId, lookupKey); in getContactLookupUri()
5033 RawContacts.CONTACT_ID, Contacts.LOOKUP_KEY in getContactLookupUri()
5041 return Contacts.getLookupUri(contactId, lookupKey); in getContactLookupUri()
5261 if (Contacts.isEnterpriseContactId(contactId)) { in queryRawContactEntity()
9107 values.put(Contacts.PINNED, pinnedPosition); in pin()
[all …]
H A DOWNERS6 per-file *Contacts* = file:platform/packages/providers/ContactsProvider:/OWNERS
/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DValidateNotificationPeopleTest.java220 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()
289 contains(ContactsContract.Contacts.LOOKUP_KEY), in testMergePhoneNumbers_noPhoneNumber()
305 ContactsContract.Contacts.CONTENT_LOOKUP_URI, String.valueOf(contactId)); in testMergePhoneNumbers_hasNumber()
323 contains(ContactsContract.Contacts.LOOKUP_KEY), in testMergePhoneNumbers_hasNumber()
332 contains(ContactsContract.Contacts.LOOKUP_KEY), in testMergePhoneNumbers_hasNumber()
435 when(mockCursor.getColumnIndex(ContactsContract.Contacts._ID)).thenReturn(0); in makeMockCursor()
439 when(mockCursor.getColumnIndex(ContactsContract.Contacts.LOOKUP_KEY)).thenReturn(1); in makeMockCursor()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/notification/
H A DValidateNotificationPeople.java34 import android.provider.ContactsContract.Contacts;
71 private static final String[] LOOKUP_PROJECTION = { Contacts._ID, Contacts.LOOKUP_KEY,
72 Contacts.STARRED, Contacts.HAS_PHONE_NUMBER };
130 mBaseContext.getContentResolver().registerContentObserver(Contacts.CONTENT_URI, true, in initialize()
440 final int idIdx = cursor.getColumnIndex(Contacts._ID); in mergeContact()
450 final int lookupKeyIdx = cursor.getColumnIndex(Contacts.LOOKUP_KEY); in mergeContact()
459 final int starIdx = cursor.getColumnIndex(Contacts.STARRED); in mergeContact()
471 final int hasPhoneIdx = cursor.getColumnIndex(Contacts.HAS_PHONE_NUMBER); in mergeContact()
567 } else if (handle.startsWith(Contacts.CONTENT_LOOKUP_URI.toString())) { in work()
628 ContactsContract.Contacts.createCorpLookupUriFromEnterpriseLookupUri(lookupUri); in searchContacts()
[all …]
/aosp14/frameworks/base/core/java/android/widget/
H A DQuickContactBadge.java31 import android.provider.ContactsContract.Contacts;
68 Contacts.LOOKUP_KEY,
362 lookupUri = Contacts.getLookupUri(contactId, lookupKey); in onQueryComplete()
377 lookupUri = Contacts.getLookupUri(contactId, lookupKey); in onQueryComplete()
/aosp14/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DListManagedCursor.java23 import android.provider.Contacts.People;
H A DListWithDisappearingItemBug.java22 import android.provider.Contacts.People;
/aosp14/frameworks/base/telecomm/java/android/telecom/
H A DCallerInfo.java32 import android.provider.ContactsContract.Contacts;
264 if (contactId != 0 && !Contacts.isEnterpriseContactId(contactId)) { in getCallerInfo()
270 if (Contacts.isEnterpriseContactId(contactId)) { in getCallerInfo()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/
H A DPeopleSpaceUtilsTest.java465 when(mMockCursor.getColumnIndex(eq(ContactsContract.Contacts.STARRED))).thenReturn( in testUpdateSingleConversationAppWidgetWhenBirthday()
546 Cursor cursor = mContext.getContentResolver().query(ContactsContract.Contacts.CONTENT_URI, in cleanupTestContactFromContactProvider()
548 ContactsContract.Contacts.DISPLAY_NAME_PRIMARY + "=?", in cleanupTestContactFromContactProvider()
553 ContactsContract.Contacts.NAME_RAW_CONTACT_ID)); in cleanupTestContactFromContactProvider()
/aosp14/frameworks/base/telephony/java/android/telephony/
H A DPhoneNumberUtils.java31 import android.provider.Contacts;
238 if (Contacts.AUTHORITY.equals(authority)) { in getNumberFromIntent()
239 phoneColumn = Contacts.People.Phones.NUMBER; in getNumberFromIntent()
/aosp14/frameworks/base/services/core/java/com/android/server/content/
H A DSyncManager.md21 For example, when the user hits the refresh button on the Contacts app, it'll
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/people/
H A DPeopleSpaceUtils.java480 int starIdx = cursor.getColumnIndex(ContactsContract.Contacts.STARRED); in getContactAffinity()
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/aosp14/frameworks/base/core/api/
H A Dremoved.txt376 …@Deprecated public static final class ContactsContract.Contacts.StreamItems implements android.pro…
H A Dcurrent.txt35678 @Deprecated public class Contacts {
35688 …l class Contacts.ContactMethods implements android.provider.BaseColumns android.provider.Contacts.…
35756 …eprecated public static final class Contacts.Groups implements android.provider.BaseColumns androi…
35774 ctor @Deprecated public Contacts.Intents();
35785 ctor @Deprecated public Contacts.Intents.Insert();
35816 ctor @Deprecated public Contacts.Intents.UI();
35849Contacts.People implements android.provider.BaseColumns android.provider.Contacts.PeopleColumns an…
35870 …ass Contacts.People.ContactMethods implements android.provider.BaseColumns android.provider.Contac…
35881 …final class Contacts.People.Phones implements android.provider.BaseColumns android.provider.Contac…
35899 …tic final class Contacts.Phones implements android.provider.BaseColumns android.provider.Contacts.…
[all …]
/aosp14/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt41699 Landroid/provider/Contacts$Extensions;-><init>()V
41701 Landroid/provider/Contacts$Groups;-><init>()V
41703 Landroid/provider/Contacts$Organizations;-><init>()V
41706 Landroid/provider/Contacts$People$Phones;-><init>()V
41707 Landroid/provider/Contacts$People;-><init>()V
41713 Landroid/provider/Contacts$Phones;-><init>()V
41714 Landroid/provider/Contacts$Photos;-><init>()V
41715 Landroid/provider/Contacts$Presence;-><init>()V
41720 Landroid/provider/Contacts$Settings;-><init>()V
41721 Landroid/provider/Contacts;-><init>()V
[all …]
/aosp14/frameworks/base/boot/
H A Dpreloaded-classes6487 android.provider.ContactsContract$Contacts
H A Dboot-image-profile.txt13386 HSPLandroid/provider/ContactsContract$Contacts;->getLookupUri(JLjava/lang/String;)Landroid/net/Uri;
29277 Landroid/provider/ContactsContract$Contacts;
/aosp14/frameworks/base/config/
H A Dpreloaded-classes6491 android.provider.ContactsContract$Contacts

12