Home
last modified time | relevance | path

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

/cts/tests/location/location_none/src/android/location/cts/none/
DAddressTest.java67 String countryCode = "US"; in testAccessCountryCode() local
68 address.setCountryCode(countryCode); in testAccessCountryCode()
69 assertEquals(countryCode, address.getCountryCode()); in testAccessCountryCode()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DTelephonyManagerTest.java1244 String countryCode = mTelephonyManager.getNetworkCountryIso(); in testGetNetworkCountryIso() local
1245 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() local
1310 assertTrue("Country code '" + countryCode + "' did not match " in testGetSimCountryIso()
1312 Pattern.matches(ISO_COUNTRY_CODE_PATTERN, countryCode)); in testGetSimCountryIso()