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.java27 import com.android.providers.contacts.ContactLookupKey.LookupKeySegment;
45 ContactLookupKey.getAccountHashCode(
122 int accountHashCode1 = ContactLookupKey.getAccountHashCode("foo", "FOO"); in testLookupKeySameSourceIdDifferentAccounts()
123 int accountHashCode2 = ContactLookupKey.getAccountHashCode("bar", "BAR"); in testLookupKeySameSourceIdDifferentAccounts()
206 new int[]{ContactLookupKey.LOOKUP_TYPE_DISPLAY_NAME}, in testParseLookupKey()
212 new int[]{ContactLookupKey.LOOKUP_TYPE_RAW_CONTACT_ID}, in testParseLookupKey()
218 new int[]{ContactLookupKey.LOOKUP_TYPE_SOURCE_ID}, in testParseLookupKey()
224 new int[]{ContactLookupKey.LOOKUP_TYPE_SOURCE_ID}, in testParseLookupKey()
231 ContactLookupKey.LOOKUP_TYPE_DISPLAY_NAME, in testParseLookupKey()
232 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;
47 return ContactLookupKey.PROFILE_LOOKUP_KEY; in computeLookupKeyForContact()
56 sb.append(ContactLookupKey.PROFILE_LOOKUP_KEY); in appendLookupKey()
DAbstractContactAggregator.java20 import com.android.providers.contacts.ContactLookupKey;
1551 ContactLookupKey.appendToLookupKey(sb, accountTypeWithDataSet, accountName, rawContactId, in appendLookupKey()
1894 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.java146 import com.android.providers.contacts.ContactLookupKey.LookupKeySegment;
8149 ContactLookupKey key = new ContactLookupKey(); in lookupContactIdByLookupKey()
8153 if (lookupKeyContainsType(segments, ContactLookupKey.LOOKUP_TYPE_PROFILE)) { in lookupContactIdByLookupKey()
8158 if (lookupKeyContainsType(segments, ContactLookupKey.LOOKUP_TYPE_SOURCE_ID)) { in lookupContactIdByLookupKey()
8166 lookupKeyContainsType(segments, ContactLookupKey.LOOKUP_TYPE_RAW_CONTACT_ID); in lookupContactIdByLookupKey()
8175 || lookupKeyContainsType(segments, ContactLookupKey.LOOKUP_TYPE_DISPLAY_NAME)) { in lookupContactIdByLookupKey()
8216 if (segment.lookupType == ContactLookupKey.LOOKUP_TYPE_SOURCE_ID) { in lookupContactIdBySourceIds()
8232 ContactLookupKey.getAccountHashCode(accountTypeAndDataSet, accountName); in lookupContactIdBySourceIds()
8236 if (segment.lookupType == ContactLookupKey.LOOKUP_TYPE_SOURCE_ID in lookupContactIdBySourceIds()
8272 if (segment.lookupType == ContactLookupKey.LOOKUP_TYPE_RAW_CONTACT_ID) { in lookupContactIdByRawContactIds()
[all …]