/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 267 int lookupType, boolean buildCollationKey) { in insertNameVariant() argument 277 insertNameLookup(rawContactId, dataId, lookupType, mStringBuilder.toString()); in insertNameVariant()
|
D | ContactsDatabaseHelper.java | 912 long rawContactId, long dataId, int lookupType, String name) { in insertNameLookup() argument 916 mNameLookupInsert, rawContactId, dataId, lookupType, name); in insertNameLookup() 2907 int lookupType, String name) { in insertNameLookup() argument 2917 insertNormalizedNameLookup(stmt, rawContactId, dataId, lookupType, normalized); in insertNameLookup() 2921 int lookupType, String normalizedName) { in insertNormalizedNameLookup() argument 2924 stmt.bindLong(3, lookupType); in insertNormalizedNameLookup() 4866 public void insertNameLookup(long rawContactId, long dataId, int lookupType, String name) { in insertNameLookup() argument 4880 nameLookupInsert.bindLong(3, lookupType); in insertNameLookup()
|
D | ContactsProvider2.java | 7704 if (segment.lookupType == ContactLookupKey.LOOKUP_TYPE_SOURCE_ID) { 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() 7779 if (segment.lookupType == ContactLookupKey.LOOKUP_TYPE_RAW_CONTACT_ID in lookupContactIdByRawContactIds() 7815 if (segment.lookupType == ContactLookupKey.LOOKUP_TYPE_DISPLAY_NAME in lookupContactIdByDisplayNames() 7816 || segment.lookupType == ContactLookupKey.LOOKUP_TYPE_RAW_CONTACT_ID) { in lookupContactIdByDisplayNames() 7836 if ((segment.lookupType == ContactLookupKey.LOOKUP_TYPE_DISPLAY_NAME in lookupContactIdByDisplayNames() 7837 || segment.lookupType == ContactLookupKey.LOOKUP_TYPE_RAW_CONTACT_ID) in lookupContactIdByDisplayNames() 7852 private boolean lookupKeyContainsType(ArrayList<LookupKeySegment> segments, int lookupType) { in lookupKeyContainsType() argument 7854 if (segment.lookupType == lookupType) { in lookupKeyContainsType() [all …]
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | NameLookupBuilderTest.java | 70 protected void insertNameLookup(long rawContactId, long dataId, int lookupType, in insertNameLookup() argument 72 sb.append("(").append(lookupType).append(":").append(string).append(")"); in insertNameLookup()
|
D | ContactLookupKeyTest.java | 233 assertEquals(types[i], segment.lookupType); in assertLookupKey()
|
/packages/apps/Dialer/java/com/android/incallui/call/ |
D | DialerCall.java | 1827 private static String lookupToString(ContactLookupResult.Type lookupType) { in lookupToString() argument 1828 switch (lookupType) { in lookupToString()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/ |
D | AbstractContactAggregator.java | 1094 long rawContactId, long dataId, int lookupType, String string) { in insertNameLookup() argument 1095 mNameLookupCandidates.add(string, lookupType); in insertNameLookup()
|