Home
last modified time | relevance | path

Searched refs:ContactLookupKey (Results 1 – 6 of 6) sorted by relevance

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactLookupKeyTest.java26 import com.android.providers.contacts.ContactLookupKey.LookupKeySegment;
110 int accountHashCode1 = ContactLookupKey.getAccountHashCode("foo", "FOO"); in testLookupKeySameSourceIdDifferentAccounts()
111 int accountHashCode2 = ContactLookupKey.getAccountHashCode("bar", "BAR"); in testLookupKeySameSourceIdDifferentAccounts()
190 new int[]{ContactLookupKey.LOOKUP_TYPE_DISPLAY_NAME}, in testParseLookupKey()
196 new int[]{ContactLookupKey.LOOKUP_TYPE_RAW_CONTACT_ID}, in testParseLookupKey()
202 new int[]{ContactLookupKey.LOOKUP_TYPE_SOURCE_ID}, in testParseLookupKey()
208 new int[]{ContactLookupKey.LOOKUP_TYPE_SOURCE_ID}, in testParseLookupKey()
215 ContactLookupKey.LOOKUP_TYPE_DISPLAY_NAME, in testParseLookupKey()
216 ContactLookupKey.LOOKUP_TYPE_SOURCE_ID, in testParseLookupKey()
217 ContactLookupKey.LOOKUP_TYPE_SOURCE_ID, in testParseLookupKey()
[all …]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
DProfileAggregator.java23 import com.android.providers.contacts.ContactLookupKey;
49 return ContactLookupKey.PROFILE_LOOKUP_KEY; in computeLookupKeyForContact()
58 sb.append(ContactLookupKey.PROFILE_LOOKUP_KEY); in appendLookupKey()
DAbstractContactAggregator.java20 import com.android.providers.contacts.ContactLookupKey;
1560 ContactLookupKey.appendToLookupKey(sb, accountTypeWithDataSet, accountName, rawContactId, in appendLookupKey()
1903 ContactLookupKey.appendToLookupKey(sb, in computeLookupKeyForContact()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DProfileAwareUriMatcher.java130 if (ContactLookupKey.PROFILE_LOOKUP_KEY.equals(lookupKey)) { in mapsToProfile()
DContactLookupKey.java25 public class ContactLookupKey { class
DContactsProvider2.java121 import com.android.providers.contacts.ContactLookupKey.LookupKeySegment;
7637 ContactLookupKey key = new ContactLookupKey(); in lookupContactIdByLookupKey()
7641 if (lookupKeyContainsType(segments, ContactLookupKey.LOOKUP_TYPE_PROFILE)) { in lookupContactIdByLookupKey()
7646 if (lookupKeyContainsType(segments, ContactLookupKey.LOOKUP_TYPE_SOURCE_ID)) { in lookupContactIdByLookupKey()
7654 lookupKeyContainsType(segments, ContactLookupKey.LOOKUP_TYPE_RAW_CONTACT_ID); in lookupContactIdByLookupKey()
7663 || lookupKeyContainsType(segments, ContactLookupKey.LOOKUP_TYPE_DISPLAY_NAME)) { in lookupContactIdByLookupKey()
7704 if (segment.lookupType == ContactLookupKey.LOOKUP_TYPE_SOURCE_ID) { in lookupContactIdBySourceIds()
7720 ContactLookupKey.getAccountHashCode(accountTypeAndDataSet, accountName); in lookupContactIdBySourceIds()
7724 if (segment.lookupType == ContactLookupKey.LOOKUP_TYPE_SOURCE_ID in lookupContactIdBySourceIds()
7760 if (segment.lookupType == ContactLookupKey.LOOKUP_TYPE_RAW_CONTACT_ID) { in lookupContactIdByRawContactIds()
[all …]