Home
last modified time | relevance | path

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

/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/
DCommonNicknameCache.java79 String normalizedName = cursor.getString(NicknameLookupPreloadQuery.NAME); in preloadNicknameBloomFilter() local
80 int hashCode = normalizedName.hashCode(); in preloadNicknameBloomFilter()
91 public String[] getCommonNicknameClusters(String normalizedName) { in getCommonNicknameClusters() argument
99 int hashCode = normalizedName.hashCode(); in getCommonNicknameClusters()
107 if (mNicknameClusterCache.containsKey(normalizedName)) { in getCommonNicknameClusters()
108 ref = mNicknameClusterCache.get(normalizedName); in getCommonNicknameClusters()
117 clusters = loadNicknameClusters(normalizedName); in getCommonNicknameClusters()
120 mNicknameClusterCache.put(normalizedName, ref); in getCommonNicknameClusters()
136 protected String[] loadNicknameClusters(String normalizedName) { in loadNicknameClusters() argument
139 NicknameLookupColumns.NAME + "=?", new String[] { normalizedName }, in loadNicknameClusters()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DNameLookupBuilderTest.java56 protected String[] getCommonNicknameClusters(String normalizedName) { in getCommonNicknameClusters() argument
57 if (normalizedName.equals("Bill")) { in getCommonNicknameClusters()
59 } else if (normalizedName.equals("Al")) { in getCommonNicknameClusters()
DContactLookupKeyTest.java50 String normalizedName = NameNormalizer.normalize("johndoe"); in testLookupKeyUsingDisplayNameAndNoAccount() local
51 String expectedLookupKey = "0r" + rawContactId1 + "-" + normalizedName + ".0r" in testLookupKeyUsingDisplayNameAndNoAccount()
52 + rawContactId2 + "-" + normalizedName; in testLookupKeyUsingDisplayNameAndNoAccount()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
DAbstractContactAggregator.java1014 String normalizedName = c.getString(NameLookupQuery.NORMALIZED_NAME); in loadNameMatchCandidates() local
1016 candidates.add(normalizedName, type); in loadNameMatchCandidates()
1088 protected String[] getCommonNicknameClusters(String normalizedName) { in getCommonNicknameClusters() argument
1089 return mCommonNicknameCache.getCommonNicknameClusters(normalizedName); in getCommonNicknameClusters()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DNameLookupBuilder.java94 protected abstract String[] getCommonNicknameClusters(String normalizedName); in getCommonNicknameClusters() argument
DContactsDatabaseHelper.java921 protected String[] getCommonNicknameClusters(String normalizedName) { in getCommonNicknameClusters() argument
922 return mCommonNicknameCache.getCommonNicknameClusters(normalizedName); in getCommonNicknameClusters()
2921 int lookupType, String normalizedName) { in insertNormalizedNameLookup() argument
2925 stmt.bindString(4, normalizedName); in insertNormalizedNameLookup()
4359 String normalizedName = NameNormalizer.normalize(name); in loadNicknameLookupTable() local
4361 nicknameLookupInsert.bindString(1, normalizedName); in loadNicknameLookupTable()
DLegacyApiSupport.java1926 String normalizedName = NameNormalizer.normalize(filterParam); in getRawContactsByFilterAsNestedQuery() local
1927 if (TextUtils.isEmpty(normalizedName)) { in getRawContactsByFilterAsNestedQuery()
1938 sb.append(normalizedName); in getRawContactsByFilterAsNestedQuery()
DContactsProvider2.java9331 protected String[] getCommonNicknameClusters(String normalizedName) { in getCommonNicknameClusters() argument
9332 return mCommonNicknameCache.getCommonNicknameClusters(normalizedName); in getCommonNicknameClusters()