Searched refs:normalizedName (Results 1 – 8 of 8) sorted by relevance
79 String normalizedName = cursor.getString(NicknameLookupPreloadQuery.NAME); in preloadNicknameBloomFilter() local80 int hashCode = normalizedName.hashCode(); in preloadNicknameBloomFilter()91 public String[] getCommonNicknameClusters(String normalizedName) { in getCommonNicknameClusters() argument99 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() argument139 NicknameLookupColumns.NAME + "=?", new String[] { normalizedName }, in loadNicknameClusters()
56 protected String[] getCommonNicknameClusters(String normalizedName) { in getCommonNicknameClusters() argument57 if (normalizedName.equals("Bill")) { in getCommonNicknameClusters()59 } else if (normalizedName.equals("Al")) { in getCommonNicknameClusters()
50 String normalizedName = NameNormalizer.normalize("johndoe"); in testLookupKeyUsingDisplayNameAndNoAccount() local51 String expectedLookupKey = "0r" + rawContactId1 + "-" + normalizedName + ".0r" in testLookupKeyUsingDisplayNameAndNoAccount()52 + rawContactId2 + "-" + normalizedName; in testLookupKeyUsingDisplayNameAndNoAccount()
1014 String normalizedName = c.getString(NameLookupQuery.NORMALIZED_NAME); in loadNameMatchCandidates() local1016 candidates.add(normalizedName, type); in loadNameMatchCandidates()1088 protected String[] getCommonNicknameClusters(String normalizedName) { in getCommonNicknameClusters() argument1089 return mCommonNicknameCache.getCommonNicknameClusters(normalizedName); in getCommonNicknameClusters()
94 protected abstract String[] getCommonNicknameClusters(String normalizedName); in getCommonNicknameClusters() argument
921 protected String[] getCommonNicknameClusters(String normalizedName) { in getCommonNicknameClusters() argument922 return mCommonNicknameCache.getCommonNicknameClusters(normalizedName); in getCommonNicknameClusters()2921 int lookupType, String normalizedName) { in insertNormalizedNameLookup() argument2925 stmt.bindString(4, normalizedName); in insertNormalizedNameLookup()4359 String normalizedName = NameNormalizer.normalize(name); in loadNicknameLookupTable() local4361 nicknameLookupInsert.bindString(1, normalizedName); in loadNicknameLookupTable()
1926 String normalizedName = NameNormalizer.normalize(filterParam); in getRawContactsByFilterAsNestedQuery() local1927 if (TextUtils.isEmpty(normalizedName)) { in getRawContactsByFilterAsNestedQuery()1938 sb.append(normalizedName); in getRawContactsByFilterAsNestedQuery()
9331 protected String[] getCommonNicknameClusters(String normalizedName) { in getCommonNicknameClusters() argument9332 return mCommonNicknameCache.getCommonNicknameClusters(normalizedName); in getCommonNicknameClusters()