Searched refs:countryCode (Results 1 – 2 of 2) sorted by relevance
67 String countryCode = "US"; in testAccessCountryCode() local68 address.setCountryCode(countryCode); in testAccessCountryCode()69 assertEquals(countryCode, address.getCountryCode()); in testAccessCountryCode()
1244 String countryCode = mTelephonyManager.getNetworkCountryIso(); in testGetNetworkCountryIso() local1245 assertTrue("Country code '" + countryCode + "' did not match " in testGetNetworkCountryIso()1247 Pattern.matches(ISO_COUNTRY_CODE_PATTERN, countryCode)); in testGetNetworkCountryIso()1250 countryCode = mTelephonyManager.getNetworkCountryIso(i); in testGetNetworkCountryIso()1252 assertTrue("Country code '" + countryCode + "' did not match " in testGetNetworkCountryIso()1254 Pattern.matches(ISO_COUNTRY_CODE_PATTERN, countryCode)); in testGetNetworkCountryIso()1308 String countryCode = mTelephonyManager.getSimCountryIso(); in testGetSimCountryIso() local1310 assertTrue("Country code '" + countryCode + "' did not match " in testGetSimCountryIso()1312 Pattern.matches(ISO_COUNTRY_CODE_PATTERN, countryCode)); in testGetSimCountryIso()