Searched refs:countryIso (Results 1 – 5 of 5) sorted by relevance
148 String countryIso = null; in getNetworkBasedCountry() local152 countryIso = mTelephonyManager.getNetworkCountryIso(); in getNetworkBasedCountry()153 if (!TextUtils.isEmpty(countryIso)) { in getNetworkBasedCountry()154 return new Country(countryIso, Country.COUNTRY_SOURCE_NETWORK); in getNetworkBasedCountry()171 String countryIso = null; in getSimBasedCountry() local172 countryIso = mTelephonyManager.getSimCountryIso(); in getSimBasedCountry()173 if (!TextUtils.isEmpty(countryIso)) { in getSimBasedCountry()174 return new Country(countryIso, Country.COUNTRY_SOURCE_SIM); in getSimBasedCountry()
228 String countryIso = null; in queryCountryCode()230 countryIso = getCountryFromLocation(location); in queryCountryCode()232 if (countryIso != null) { in queryCountryCode()233 mDetectedCountry = new Country(countryIso, Country.COUNTRY_SOURCE_LOCATION); in queryCountryCode()
74 public Country(final String countryIso, final int source) { in Country() argument75 if (countryIso == null || source < COUNTRY_SOURCE_NETWORK in Country()79 mCountryIso = countryIso.toUpperCase(Locale.US); in Country()
518 String countryIso = getCurrentCountryIso(context, locale); in getGeoDescription() local522 + "' for countryIso '" + countryIso + "'..."); in getGeoDescription()523 pn = util.parse(number, countryIso); in getGeoDescription()543 String countryIso; in getCurrentCountryIso() local547 countryIso = detector.detectCountry().getCountryIso(); in getCurrentCountryIso()549 countryIso = locale.getCountry(); in getCurrentCountryIso()551 + countryIso); in getCurrentCountryIso()553 return countryIso; in getCurrentCountryIso()
1601 String countryIso; in isLocalEmergencyNumber() local1605 countryIso = detector.detectCountry().getCountryIso(); in isLocalEmergencyNumber()1608 countryIso = locale.getCountry(); in isLocalEmergencyNumber()1610 + countryIso); in isLocalEmergencyNumber()1612 return isEmergencyNumber(number, countryIso); in isLocalEmergencyNumber()