Searched refs:SmartDialPrefix (Results 1 – 9 of 9) sorted by relevance
29 import com.android.dialer.dialpad.SmartDialPrefix;47 assertFalse(SmartDialPrefix.isCountryNanp(null)); in testIsCountryNanp_CaseInsensitive()48 assertFalse(SmartDialPrefix.isCountryNanp("CN")); in testIsCountryNanp_CaseInsensitive()49 assertFalse(SmartDialPrefix.isCountryNanp("HK")); in testIsCountryNanp_CaseInsensitive()50 assertFalse(SmartDialPrefix.isCountryNanp("uk")); in testIsCountryNanp_CaseInsensitive()51 assertFalse(SmartDialPrefix.isCountryNanp("sg")); in testIsCountryNanp_CaseInsensitive()52 assertTrue(SmartDialPrefix.isCountryNanp("US")); in testIsCountryNanp_CaseInsensitive()53 assertTrue(SmartDialPrefix.isCountryNanp("CA")); in testIsCountryNanp_CaseInsensitive()54 assertTrue(SmartDialPrefix.isCountryNanp("AS")); in testIsCountryNanp_CaseInsensitive()55 assertTrue(SmartDialPrefix.isCountryNanp("AI")); in testIsCountryNanp_CaseInsensitive()[all …]
30 import com.android.dialer.dialpad.SmartDialPrefix;151 SmartDialPrefix.getMap()); in getMatchesFromDb()
31 import com.android.dialer.dialpad.SmartDialPrefix;48 mNameMatcher = new SmartDialNameMatcher("", SmartDialPrefix.getMap()); in SmartDialNumberListAdapter()
25 import com.android.dialer.dialpad.SmartDialPrefix;201 SmartDialPrefix.setUserInNanpRegion(true); in testMatches_NumberNANP()
65 mQuery = SmartDialNameMatcher.normalizeNumber(query, SmartDialPrefix.getMap()); in configureQuery()68 mNameMatcher = new SmartDialNameMatcher(mQuery, SmartDialPrefix.getMap()); in configureQuery()
22 import com.android.dialer.dialpad.SmartDialPrefix.PhoneNumberTokens;140 SmartDialPrefix.parsePhoneNumber(phoneNumber); in matchesNumber()
40 public class SmartDialPrefix { class
45 import com.android.dialer.dialpad.SmartDialPrefix;827 SmartDialPrefix.parseToNumberTokens(contactPhoneNumber); in insertUpdatedContactsAndNumberPrefix()867 SmartDialPrefix.generateNamePrefixes(nameCursor.getString(columnIndexName)); in insertNamePrefixes()
70 import com.android.dialer.dialpad.SmartDialPrefix;494 SmartDialPrefix.initializeNanpSettings(this); in onCreate()