/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | ContactLookupKey.java | 37 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()
|
D | NameLookupBuilder.java | 82 protected abstract void insertNameLookup(long rawContactId, long dataId, int lookupType, in insertNameLookup() argument 250 int lookupType, boolean buildCollationKey) { in insertNameVariant() argument 260 insertNameLookup(rawContactId, dataId, lookupType, mStringBuilder.toString()); in insertNameVariant()
|
D | ContactsDatabaseHelper.java | 903 long rawContactId, long dataId, int lookupType, String name) { in insertNameLookup() argument 907 mNameLookupInsert, rawContactId, dataId, lookupType, name); in insertNameLookup() 2931 int lookupType, String name) { in insertNameLookup() argument 2941 insertNormalizedNameLookup(stmt, rawContactId, dataId, lookupType, normalized); in insertNameLookup() 2945 int lookupType, String normalizedName) { in insertNormalizedNameLookup() argument 2948 stmt.bindLong(3, lookupType); in insertNormalizedNameLookup() 5095 public void insertNameLookup(long rawContactId, long dataId, int lookupType, String name) { in insertNameLookup() argument 5109 nameLookupInsert.bindLong(3, lookupType); in insertNameLookup()
|
D | ContactsProvider2.java | 8216 if (segment.lookupType == ContactLookupKey.LOOKUP_TYPE_SOURCE_ID) { 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() 8291 if (segment.lookupType == ContactLookupKey.LOOKUP_TYPE_RAW_CONTACT_ID in lookupContactIdByRawContactIds() 8327 if (segment.lookupType == ContactLookupKey.LOOKUP_TYPE_DISPLAY_NAME in lookupContactIdByDisplayNames() 8328 || segment.lookupType == ContactLookupKey.LOOKUP_TYPE_RAW_CONTACT_ID) { in lookupContactIdByDisplayNames() 8348 if ((segment.lookupType == ContactLookupKey.LOOKUP_TYPE_DISPLAY_NAME in lookupContactIdByDisplayNames() 8349 || segment.lookupType == ContactLookupKey.LOOKUP_TYPE_RAW_CONTACT_ID) in lookupContactIdByDisplayNames() 8364 private boolean lookupKeyContainsType(ArrayList<LookupKeySegment> segments, int lookupType) { in lookupKeyContainsType() argument 8366 if (segment.lookupType == lookupType) { in lookupKeyContainsType() [all …]
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | NameLookupBuilderTest.java | 61 protected void insertNameLookup(long rawContactId, long dataId, int lookupType, in insertNameLookup() argument 63 sb.append("(").append(lookupType).append(":").append(string).append(")"); in insertNameLookup()
|
D | ContactLookupKeyTest.java | 249 assertEquals(types[i], segment.lookupType); in assertLookupKey()
|
/packages/apps/Dialer/java/com/android/incallui/call/ |
D | DialerCall.java | 1834 private static String lookupToString(ContactLookupResult.Type lookupType) { in lookupToString() argument 1835 switch (lookupType) { in lookupToString()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/ |
D | AbstractContactAggregator.java | 1086 long rawContactId, long dataId, int lookupType, String string) { in insertNameLookup() argument 1087 mNameLookupCandidates.add(string, lookupType); in insertNameLookup()
|