Home
last modified time | relevance | path

Searched refs:lookupType (Results 1 – 8 of 8) sorted by relevance

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactLookupKey.java37 public int lookupType; field in ContactLookupKey.LookupKeySegment
115 profileSegment.lookupType = LOOKUP_TYPE_PROFILE; in parse()
124 int lookupType = -1; in parse() local
144 lookupType = LOOKUP_TYPE_SOURCE_ID; in parse()
147 lookupType = LOOKUP_TYPE_SOURCE_ID; in parse()
150 lookupType = LOOKUP_TYPE_DISPLAY_NAME; in parse()
152 lookupType = LOOKUP_TYPE_RAW_CONTACT_ID; in parse()
161 switch (lookupType) { in parse()
248 segment.lookupType = lookupType; in parse()
DNameLookupBuilder.java82 protected abstract void insertNameLookup(long rawContactId, long dataId, int lookupType, in insertNameLookup() argument
267 int lookupType, boolean buildCollationKey) { in insertNameVariant() argument
277 insertNameLookup(rawContactId, dataId, lookupType, mStringBuilder.toString()); in insertNameVariant()
DContactsDatabaseHelper.java912 long rawContactId, long dataId, int lookupType, String name) { in insertNameLookup() argument
916 mNameLookupInsert, rawContactId, dataId, lookupType, name); in insertNameLookup()
2911 int lookupType, String name) { in insertNameLookup() argument
2921 insertNormalizedNameLookup(stmt, rawContactId, dataId, lookupType, normalized); in insertNameLookup()
2925 int lookupType, String normalizedName) { in insertNormalizedNameLookup() argument
2928 stmt.bindLong(3, lookupType); in insertNormalizedNameLookup()
4873 public void insertNameLookup(long rawContactId, long dataId, int lookupType, String name) { in insertNameLookup() argument
4887 nameLookupInsert.bindLong(3, lookupType); in insertNameLookup()
DContactsProvider2.java7643 if (segment.lookupType == ContactLookupKey.LOOKUP_TYPE_SOURCE_ID) { in lookupContactIdBySourceIds()
7663 if (segment.lookupType == ContactLookupKey.LOOKUP_TYPE_SOURCE_ID in lookupContactIdBySourceIds()
7699 if (segment.lookupType == ContactLookupKey.LOOKUP_TYPE_RAW_CONTACT_ID) { in lookupContactIdByRawContactIds()
7718 if (segment.lookupType == ContactLookupKey.LOOKUP_TYPE_RAW_CONTACT_ID in lookupContactIdByRawContactIds()
7754 if (segment.lookupType == ContactLookupKey.LOOKUP_TYPE_DISPLAY_NAME in lookupContactIdByDisplayNames()
7755 || segment.lookupType == ContactLookupKey.LOOKUP_TYPE_RAW_CONTACT_ID) { in lookupContactIdByDisplayNames()
7775 if ((segment.lookupType == ContactLookupKey.LOOKUP_TYPE_DISPLAY_NAME in lookupContactIdByDisplayNames()
7776 || segment.lookupType == ContactLookupKey.LOOKUP_TYPE_RAW_CONTACT_ID) in lookupContactIdByDisplayNames()
7791 private boolean lookupKeyContainsType(ArrayList<LookupKeySegment> segments, int lookupType) { in lookupKeyContainsType() argument
7793 if (segment.lookupType == lookupType) { in lookupKeyContainsType()
[all …]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DNameLookupBuilderTest.java70 protected void insertNameLookup(long rawContactId, long dataId, int lookupType, in insertNameLookup() argument
72 sb.append("(").append(lookupType).append(":").append(string).append(")"); in insertNameLookup()
DContactLookupKeyTest.java233 assertEquals(types[i], segment.lookupType); in assertLookupKey()
/packages/apps/Dialer/java/com/android/incallui/call/
DDialerCall.java1833 private static String lookupToString(ContactLookupResult.Type lookupType) { in lookupToString() argument
1834 switch (lookupType) { in lookupToString()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
DAbstractContactAggregator.java1095 long rawContactId, long dataId, int lookupType, String string) { in insertNameLookup() argument
1096 mNameLookupCandidates.add(string, lookupType); in insertNameLookup()