Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/people/java/com/android/server/people/data/
H A DUtils.java32 String countryIso = null; in getCurrentCountryIso() local
38 countryIso = country.getCountryIso(); in getCurrentCountryIso()
41 if (countryIso == null) { in getCurrentCountryIso()
42 countryIso = Locale.getDefault().getCountry(); in getCurrentCountryIso()
44 return countryIso; in getCurrentCountryIso()
/aosp14/frameworks/base/location/java/android/location/
H A DCountry.java102 public Country(@NonNull final String countryIso, @CountrySource final int source) { in Country() argument
103 if (countryIso == null in Country()
108 mCountryIso = countryIso.toUpperCase(Locale.US); in Country()
113 private Country(final String countryIso, final int source, long timestamp) { in Country() argument
114 if (countryIso == null || source < COUNTRY_SOURCE_NETWORK in Country()
118 mCountryIso = countryIso.toUpperCase(Locale.US); in Country()
/aosp14/frameworks/base/services/core/java/com/android/server/emergency/
H A DEmergencyAffordanceService.java155 final String countryIso = (String) msg.obj; in handleMessage() local
157 handleNetworkCountryChanged(countryIso, slotId); in handleMessage()
228 private void handleNetworkCountryChanged(String countryIso, int slotId) { in handleNetworkCountryChanged() argument
230 Slog.d(TAG, "handleNetworkCountryChanged: countryIso=" + countryIso in handleNetworkCountryChanged()
234 if (TextUtils.isEmpty(countryIso) && mAirplaneModeEnabled) { in handleNetworkCountryChanged()
249 String countryIso = mTelephonyManager.getNetworkCountryIso(i); in updateNetworkCountry() local
250 if (DBG) Slog.d(TAG, "UpdateNetworkCountry: slotId=" + i + " countryIso=" + countryIso); in updateNetworkCountry()
251 if (isoRequiresEmergencyAffordance(countryIso)) { in updateNetworkCountry()
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/mobile/dataservice/
H A DSubscriptionInfoEntity.java37 String countryIso, boolean isEmbedded, int cardId, int portIndex, in SubscriptionInfoEntity() argument
52 this.countryIso = countryIso; in SubscriptionInfoEntity()
98 public String countryIso; field in SubscriptionInfoEntity
177 result = 31 * result + countryIso.hashCode(); in hashCode()
215 && TextUtils.equals(countryIso, info.countryIso) in equals()
253 .append(countryIso) in toString()
/aosp14/frameworks/base/services/core/java/com/android/server/location/countrydetector/
H A DComprehensiveCountryDetector.java222 String countryIso = null; in getNetworkBasedCountry() local
224 countryIso = mTelephonyManager.getNetworkCountryIso(); in getNetworkBasedCountry()
225 if (!TextUtils.isEmpty(countryIso)) { in getNetworkBasedCountry()
226 return new Country(countryIso, Country.COUNTRY_SOURCE_NETWORK); in getNetworkBasedCountry()
243 String countryIso = null; in getSimBasedCountry() local
244 countryIso = mTelephonyManager.getSimCountryIso(); in getSimBasedCountry()
245 if (!TextUtils.isEmpty(countryIso)) { in getSimBasedCountry()
246 return new Country(countryIso, Country.COUNTRY_SOURCE_SIM); in getSimBasedCountry()
H A DLocationBasedCountryDetector.java246 String countryIso = getCountryFromLocation(location); in queryCountryCode()
247 if (countryIso != null) { in queryCountryCode()
248 mDetectedCountry = new Country(countryIso, Country.COUNTRY_SOURCE_LOCATION); in queryCountryCode()
/aosp14/frameworks/base/telecomm/java/android/telecom/
H A DCallerInfo.java688 String countryIso = getCurrentCountryIso(context, locale); in getGeoDescription() local
692 + "' for countryIso '" + countryIso + "'..."); in getGeoDescription()
693 pn = util.parse(number, countryIso); in getGeoDescription()
714 String countryIso = null; in getCurrentCountryIso() local
720 countryIso = country.getCountryIso(); in getCurrentCountryIso()
725 if (countryIso == null) { in getCurrentCountryIso()
726 countryIso = locale.getCountry(); in getCurrentCountryIso()
728 + countryIso); in getCurrentCountryIso()
730 return countryIso; in getCurrentCountryIso()
/aosp14/frameworks/base/core/java/android/timezone/
H A DTimeZoneFinder.java73 public CountryTimeZones lookupCountryTimeZones(@NonNull String countryIso) { in lookupCountryTimeZones() argument
75 .lookupCountryTimeZones(countryIso); in lookupCountryTimeZones()
H A DCountryTimeZones.java160 public boolean matchesCountryCode(@NonNull String countryIso) { in matchesCountryCode() argument
161 return mDelegate.matchesCountryCode(countryIso); in matchesCountryCode()
/aosp14/frameworks/base/telephony/java/android/telephony/
H A DSubscriptionInfo.java266 Bitmap icon, String mcc, String mnc, String countryIso, boolean isEmbedded, in SubscriptionInfo() argument
269 roaming, icon, mcc, mnc, countryIso, isEmbedded, nativeAccessRules, cardString, -1, in SubscriptionInfo()
284 Bitmap icon, String mcc, String mnc, String countryIso, boolean isEmbedded, in SubscriptionInfo() argument
288 roaming, icon, mcc, mnc, countryIso, isEmbedded, nativeAccessRules, cardString, -1, in SubscriptionInfo()
302 Bitmap icon, String mcc, String mnc, String countryIso, boolean isEmbedded, in SubscriptionInfo() argument
309 roaming, icon, mcc, mnc, countryIso, isEmbedded, nativeAccessRules, cardString, in SubscriptionInfo()
330 roaming, icon, mcc, mnc, countryIso, isEmbedded, nativeAccessRules, cardString, in SubscriptionInfo()
345 Bitmap icon, String mcc, String mnc, String countryIso, boolean isEmbedded, in SubscriptionInfo() argument
365 this.mCountryIso = TextUtils.emptyIfNull(countryIso); in SubscriptionInfo()
1462 public Builder setCountryIso(@Nullable String countryIso) { in setCountryIso() argument
[all …]
H A DSmsManager.java3354 String destAddress, String countryIso) { in checkSmsShortCodeDestination() argument
3359 null, null, destAddress, countryIso); in checkSmsShortCodeDestination()
/aosp14/frameworks/base/core/java/android/util/
H A DTimeUtils.java100 int offsetMillis, boolean isDst, long whenMillis, String countryIso) { in getIcuTimeZone() argument
101 if (countryIso == null) { in getIcuTimeZone()
107 TimeZoneFinder.getInstance().lookupCountryTimeZones(countryIso); in getIcuTimeZone()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/emergency/
H A DEmergencyAffordanceServiceTest.java404 private void sendBroadcastNetworkCountryChanged(Supplier<String> countryIso) { in sendBroadcastNetworkCountryChanged() argument
406 intent.putExtra(TelephonyManager.EXTRA_NETWORK_COUNTRY, countryIso.get()); in sendBroadcastNetworkCountryChanged()
/aosp14/frameworks/base/telephony/java/com/android/internal/telephony/euicc/
H A DIEuiccController.aidl56 boolean isSupportedCountry(String countryIso); in isSupportedCountry() argument
/aosp14/frameworks/base/core/java/android/provider/
H A DCallLog.java2060 final String countryIso = getCurrentCountryIso(context); in updateNormalizedNumber() local
2061 if (TextUtils.isEmpty(countryIso)) { in updateNormalizedNumber()
2064 final String normalizedNumber = PhoneNumberUtils.formatNumberToE164(number, countryIso); in updateNormalizedNumber()
2126 String countryIso = null; in getCurrentCountryIso() local
2132 countryIso = country.getCountryIso(); in getCurrentCountryIso()
2135 return countryIso; in getCurrentCountryIso()
/aosp14/frameworks/base/telephony/java/com/android/internal/telephony/
H A DISmsImplBase.java206 String callingFeatureId, String destAddress, String countryIso) { in checkSmsShortCodeDestination() argument
H A DISms.aidl557 String destAddress, String countryIso); in checkSmsShortCodeDestination() argument
/aosp14/frameworks/base/telephony/java/android/telephony/emergency/
H A DEmergencyNumber.java265 public EmergencyNumber(@NonNull String number, @NonNull String countryIso, @NonNull String mnc, in EmergencyNumber() argument
271 this.mCountryIso = countryIso; in EmergencyNumber()
/aosp14/frameworks/base/telephony/java/android/telephony/euicc/
H A DEuiccManager.java1574 public boolean isSupportedCountry(@NonNull String countryIso) { in isSupportedCountry() argument
1579 return getIEuiccController().isSupportedCountry(countryIso.toUpperCase(Locale.ROOT)); in isSupportedCountry()
/aosp14/frameworks/base/core/api/
H A Dtest-lint-baseline.txt573 Missing nullability on parameter `countryIso` in method `checkSmsShortCodeDestination`