Home
last modified time | relevance | path

Searched refs:countryIso (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/java/com/android/server/location/
DComprehensiveCountryDetector.java148 String countryIso = null; in getNetworkBasedCountry() local
152 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() local
172 countryIso = mTelephonyManager.getSimCountryIso(); in getSimBasedCountry()
173 if (!TextUtils.isEmpty(countryIso)) { in getSimBasedCountry()
174 return new Country(countryIso, Country.COUNTRY_SOURCE_SIM); in getSimBasedCountry()
DLocationBasedCountryDetector.java228 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()
/frameworks/base/location/java/android/location/
DCountry.java74 public Country(final String countryIso, final int source) { in Country() argument
75 if (countryIso == null || source < COUNTRY_SOURCE_NETWORK in Country()
79 mCountryIso = countryIso.toUpperCase(Locale.US); in Country()
/frameworks/base/telephony/java/com/android/internal/telephony/
DCallerInfo.java518 String countryIso = getCurrentCountryIso(context, locale); in getGeoDescription() local
522 + "' for countryIso '" + countryIso + "'..."); in getGeoDescription()
523 pn = util.parse(number, countryIso); in getGeoDescription()
543 String countryIso; in getCurrentCountryIso() local
547 countryIso = detector.detectCountry().getCountryIso(); in getCurrentCountryIso()
549 countryIso = locale.getCountry(); in getCurrentCountryIso()
551 + countryIso); in getCurrentCountryIso()
553 return countryIso; in getCurrentCountryIso()
/frameworks/base/telephony/java/android/telephony/
DPhoneNumberUtils.java1601 String countryIso; in isLocalEmergencyNumber() local
1605 countryIso = detector.detectCountry().getCountryIso(); in isLocalEmergencyNumber()
1608 countryIso = locale.getCountry(); in isLocalEmergencyNumber()
1610 + countryIso); in isLocalEmergencyNumber()
1612 return isEmergencyNumber(number, countryIso); in isLocalEmergencyNumber()