Home
last modified time | relevance | path

Searched refs:isCountryNanp (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Dialer/tests/src/com/android/dialer/database/
DSmartDialPrefixTest.java47 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()
56 assertTrue(SmartDialPrefix.isCountryNanp("AG")); in testIsCountryNanp_CaseInsensitive()
[all …]
/packages/apps/Dialer/src/com/android/dialer/dialpad/
DSmartDialPrefix.java91 sUserInNanpRegion = isCountryNanp(sUserSimCountryCode); in initializeNanpSettings()
561 public static boolean isCountryNanp(String country) { in isCountryNanp() method in SmartDialPrefix