Searched refs:countryCode (Results 1 – 3 of 3) sorted by relevance
67 String countryCode = "US"; in testAccessCountryCode() local68 address.setCountryCode(countryCode); in testAccessCountryCode()69 assertEquals(countryCode, address.getCountryCode()); in testAccessCountryCode()
1712 String countryCode = mTelephonyManager.getNetworkCountryIso(); in testGetNetworkCountryIso() local1717 assertTrue("Country code '" + countryCode + "' did not match " in testGetNetworkCountryIso()1719 Pattern.matches(ISO_COUNTRY_CODE_PATTERN, countryCode)); in testGetNetworkCountryIso()1722 Pattern.matches(ISO_COUNTRY_CODE_PATTERN, countryCode) in testGetNetworkCountryIso()1723 || TextUtils.isEmpty(countryCode)); in testGetNetworkCountryIso()1729 countryCode = mTelephonyManager.getNetworkCountryIso( in testGetNetworkCountryIso()1736 assertTrue("Country code '" + countryCode + "' did not match " in testGetNetworkCountryIso()1738 Pattern.matches(ISO_COUNTRY_CODE_PATTERN, countryCode)); in testGetNetworkCountryIso()1741 Pattern.matches(ISO_COUNTRY_CODE_PATTERN, countryCode) in testGetNetworkCountryIso()1742 || TextUtils.isEmpty(countryCode)); in testGetNetworkCountryIso()[all …]
2949 String countryCode = SystemProperties.get(BOOT_DEFAULT_WIFI_COUNTRY_CODE); in shouldSkipCountryCodeDependentTest() local2950 return TextUtils.isEmpty(countryCode) && !WifiFeature.isTelephonySupported(sContext); in shouldSkipCountryCodeDependentTest()