Searched refs:isValidCountryCode (Results 1 – 2 of 2) sorted by relevance
102 assertTrue(TelephonyUtils.isValidCountryCode("US")); in testIsValidCountryCode()103 assertTrue(TelephonyUtils.isValidCountryCode("cn")); in testIsValidCountryCode()104 assertFalse(TelephonyUtils.isValidCountryCode("11")); in testIsValidCountryCode()105 assertFalse(TelephonyUtils.isValidCountryCode("USA")); in testIsValidCountryCode()106 assertFalse(TelephonyUtils.isValidCountryCode("chn")); in testIsValidCountryCode()107 assertFalse(TelephonyUtils.isValidCountryCode("U")); in testIsValidCountryCode()108 assertFalse(TelephonyUtils.isValidCountryCode("G7")); in testIsValidCountryCode()109 assertFalse(TelephonyUtils.isValidCountryCode("")); in testIsValidCountryCode()110 assertFalse(TelephonyUtils.isValidCountryCode(null)); in testIsValidCountryCode()
372 public static boolean isValidCountryCode(@Nullable String countryCode) { in isValidCountryCode() method