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()
1245 String countryCode = mTelephonyManager.getNetworkCountryIso(); in testGetNetworkCountryIso() local1246 assertTrue("Country code '" + countryCode + "' did not match " in testGetNetworkCountryIso()1248 Pattern.matches(ISO_COUNTRY_CODE_PATTERN, countryCode)); in testGetNetworkCountryIso()1251 countryCode = mTelephonyManager.getNetworkCountryIso(i); in testGetNetworkCountryIso()1253 assertTrue("Country code '" + countryCode + "' did not match " in testGetNetworkCountryIso()1255 Pattern.matches(ISO_COUNTRY_CODE_PATTERN, countryCode)); in testGetNetworkCountryIso()1309 String countryCode = mTelephonyManager.getSimCountryIso(); in testGetSimCountryIso() local1311 assertTrue("Country code '" + countryCode + "' did not match " in testGetSimCountryIso()1313 Pattern.matches(ISO_COUNTRY_CODE_PATTERN, countryCode)); in testGetSimCountryIso()