Searched refs:normalizedName (Results 1 – 8 of 8) sorted by relevance
78 String normalizedName = cursor.getString(NicknameLookupPreloadQuery.NAME); in preloadNicknameBloomFilter() local79 int hashCode = normalizedName.hashCode(); in preloadNicknameBloomFilter()90 public String[] getCommonNicknameClusters(String normalizedName) { in getCommonNicknameClusters() argument95 int hashCode = normalizedName.hashCode(); in getCommonNicknameClusters()103 if (mNicknameClusterCache.containsKey(normalizedName)) { in getCommonNicknameClusters()104 ref = mNicknameClusterCache.get(normalizedName); in getCommonNicknameClusters()113 clusters = loadNicknameClusters(normalizedName); in getCommonNicknameClusters()116 mNicknameClusterCache.put(normalizedName, ref); in getCommonNicknameClusters()132 protected String[] loadNicknameClusters(String normalizedName) { in loadNicknameClusters() argument135 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()
1318 String normalizedName = c.getString(NameLookupQuery.NORMALIZED_NAME); in loadNameMatchCandidates() local1320 candidates.add(normalizedName, type); in loadNameMatchCandidates()1475 protected String[] getCommonNicknameClusters(String normalizedName) { in getCommonNicknameClusters() argument1476 return mCommonNicknameCache.getCommonNicknameClusters(normalizedName); in getCommonNicknameClusters()
2007 String normalizedName = NameNormalizer.normalize(filterParam); in getRawContactsByFilterAsNestedQuery() local2008 if (TextUtils.isEmpty(normalizedName)) { in getRawContactsByFilterAsNestedQuery()2019 sb.append(normalizedName); in getRawContactsByFilterAsNestedQuery()
94 protected abstract String[] getCommonNicknameClusters(String normalizedName); in getCommonNicknameClusters() argument
3234 protected String[] getCommonNicknameClusters(String normalizedName) { in getCommonNicknameClusters() argument3235 return mCommonNicknameCache.getCommonNicknameClusters(normalizedName); in getCommonNicknameClusters()3378 int lookupType, String normalizedName) { in insertNormalizedNameLookup() argument3382 stmt.bindString(4, normalizedName); in insertNormalizedNameLookup()
8113 protected String[] getCommonNicknameClusters(String normalizedName) { in getCommonNicknameClusters() argument8114 return mCommonNicknameCache.getCommonNicknameClusters(normalizedName); in getCommonNicknameClusters()