/frameworks/opt/telephony/src/java/com/android/internal/telephony/emergency/ |
D | EmergencyNumberTracker.java | 151 String countryIso = intent.getStringExtra( 154 + countryIso); 157 updateEmergencyCountryIsoAllPhones(countryIso == null ? "" : countryIso); 302 public void updateEmergencyCountryIsoAllPhones(String countryIso) { in updateEmergencyCountryIsoAllPhones() argument 305 updateEmergencyNumberDatabaseCountryChange(countryIso); in updateEmergencyCountryIsoAllPhones() 318 if (!TextUtils.isEmpty(countryIso)) { in updateEmergencyCountryIsoAllPhones() 323 countryIso); in updateEmergencyCountryIsoAllPhones() 373 public void updateEmergencyNumberDatabaseCountryChange(String countryIso) { in updateEmergencyNumberDatabaseCountryChange() argument 374 this.obtainMessage(EVENT_UPDATE_DB_COUNTRY_ISO_CHANGED, countryIso).sendToTarget(); in updateEmergencyNumberDatabaseCountryChange() 407 private EmergencyNumber convertEmergencyNumberFromEccInfo(EccInfo eccInfo, String countryIso) { in convertEmergencyNumberFromEccInfo() argument [all …]
|
/frameworks/base/services/people/java/com/android/server/people/data/ |
D | Utils.java | 32 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()
|
/frameworks/base/location/java/android/location/ |
D | Country.java | 83 public Country(final String countryIso, final int source) { in Country() argument 84 if (countryIso == null || source < COUNTRY_SOURCE_NETWORK in Country() 88 mCountryIso = countryIso.toUpperCase(Locale.US); in Country() 93 private Country(final String countryIso, final int source, long timestamp) { in Country() argument 94 if (countryIso == null || source < COUNTRY_SOURCE_NETWORK in Country() 98 mCountryIso = countryIso.toUpperCase(Locale.US); in Country()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | LocaleTracker.java | 486 String countryIso = ""; in updateLocale() local 492 countryIso = MccTable.geoCountryCodeForMccMnc(mccMnc); in updateLocale() 503 if (TextUtils.isEmpty(countryIso)) { in updateLocale() 507 countryIso = MccTable.countryCodeForMcc(mcc); in updateLocale() 515 countryIso = MccTable.geoCountryCodeForMccMnc(mccMnc); in updateLocale() 523 countryIso = mCountryOverride; in updateLocale() 528 countryIso = ""; in updateLocale() 532 log("updateLocale: countryIso = " + countryIso in updateLocale() 534 if (!Objects.equals(countryIso, mCurrentCountryIso)) { in updateLocale() 535 String msg = "updateLocale: Change the current country to \"" + countryIso + "\"" in updateLocale() [all …]
|
D | SmsUsageMonitor.java | 398 public int checkDestination(String destAddress, String countryIso) { in checkDestination() argument 412 if (countryIso != null) { in checkDestination() 413 if (mCurrentCountry == null || !countryIso.equals(mCurrentCountry) || in checkDestination() 417 mCurrentPatternMatcher = getPatternMatcherFromFile(countryIso); in checkDestination() 420 mCurrentPatternMatcher = getPatternMatcherFromResource(countryIso); in checkDestination() 422 mCurrentCountry = countryIso; in checkDestination() 430 … Rlog.e(TAG, "No patterns for \"" + countryIso + "\": using generic short code rule"); in checkDestination()
|
/frameworks/base/services/core/java/com/android/server/emergency/ |
D | EmergencyAffordanceService.java | 155 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()
|
/frameworks/base/services/core/java/com/android/server/location/countrydetector/ |
D | ComprehensiveCountryDetector.java | 222 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()
|
D | LocationBasedCountryDetector.java | 246 String countryIso = getCountryFromLocation(location); in queryCountryCode() 247 if (countryIso != null) { in queryCountryCode() 248 mDetectedCountry = new Country(countryIso, Country.COUNTRY_SOURCE_LOCATION); in queryCountryCode()
|
/frameworks/base/telecomm/java/android/telecom/ |
D | CallerInfo.java | 688 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()
|
/frameworks/base/core/java/android/timezone/ |
D | TimeZoneFinder.java | 73 public CountryTimeZones lookupCountryTimeZones(@NonNull String countryIso) { in lookupCountryTimeZones() argument 75 .lookupCountryTimeZones(countryIso); in lookupCountryTimeZones()
|
D | CountryTimeZones.java | 160 public boolean matchesCountryCode(@NonNull String countryIso) { in matchesCountryCode() argument 161 return mDelegate.matchesCountryCode(countryIso); in matchesCountryCode()
|
/frameworks/base/telephony/java/android/telephony/ |
D | SubscriptionInfo.java | 254 Bitmap icon, String mcc, String mnc, String countryIso, boolean isEmbedded, in SubscriptionInfo() argument 257 roaming, icon, mcc, mnc, countryIso, isEmbedded, nativeAccessRules, cardString, -1, in SubscriptionInfo() 268 Bitmap icon, String mcc, String mnc, String countryIso, boolean isEmbedded, in SubscriptionInfo() argument 272 roaming, icon, mcc, mnc, countryIso, isEmbedded, nativeAccessRules, cardString, -1, in SubscriptionInfo() 282 Bitmap icon, String mcc, String mnc, String countryIso, boolean isEmbedded, in SubscriptionInfo() argument 289 roaming, icon, mcc, mnc, countryIso, isEmbedded, nativeAccessRules, cardString, in SubscriptionInfo() 299 Bitmap icon, String mcc, String mnc, String countryIso, boolean isEmbedded, in SubscriptionInfo() argument 306 roaming, icon, mcc, mnc, countryIso, isEmbedded, nativeAccessRules, cardString, in SubscriptionInfo() 317 Bitmap icon, String mcc, String mnc, String countryIso, boolean isEmbedded, in SubscriptionInfo() argument 335 this.mCountryIso = countryIso; in SubscriptionInfo() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | SmsUsageMonitorShortCodeTest.java | 37 final String countryIso; field in SmsUsageMonitorShortCodeTest.ShortCodeTest 41 ShortCodeTest(String countryIso, String destAddress, int category) { in ShortCodeTest() argument 42 this.countryIso = countryIso; in ShortCodeTest() 470 assertEquals("country: " + test.countryIso + " number: " + test.address, in testSmsUsageMonitor() 471 test.category, monitor.checkDestination(test.address, test.countryIso)); in testSmsUsageMonitor()
|
/frameworks/opt/net/ims/src/java/com/android/ims/internal/ |
D | ConferenceParticipant.java | 313 public static Uri getParticipantAddress(Uri address, String countryIso) { in getParticipantAddress() argument 350 if (!TextUtils.isEmpty(countryIso)) { in getParticipantAddress() 351 formattedNumber = PhoneNumberUtils.formatNumberToE164(number, countryIso); in getParticipantAddress()
|
/frameworks/base/core/java/android/util/ |
D | TimeUtils.java | 100 int offsetMillis, boolean isDst, long whenMillis, String countryIso) { in getIcuTimeZone() argument 101 if (countryIso == null) { in getIcuTimeZone() 107 TimeZoneFinder.getInstance().lookupCountryTimeZones(countryIso); in getIcuTimeZone()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | PerSimStatus.java | 180 String countryIso = in getNumberIds() local 205 numbersFromAllSources[i], numbersFromAllSources[j], countryIso)) { in getNumberIds()
|
D | TelephonyMetrics.java | 1565 String countryIso) { in writeRilCallList() argument 1571 RilCall[] calls = convertConnectionsToRilCalls(connections, countryIso); in writeRilCallList() 1592 String countryIso) { in convertConnectionsToRilCalls() argument 1597 convertConnectionToRilCall(mConnections.get(i), calls[i], countryIso); in convertConnectionsToRilCalls() local 1605 emergencyNumberInfo.countryIso = num.getCountryIso(); in convertEmergencyNumberToEmergencyNumberInfo() 1615 String countryIso) { in convertConnectionToRilCall() argument 1662 < getSamplePercentageForEmergencyCall(countryIso)) { in convertConnectionToRilCall() 1722 String countryIso) { in writeRilHangup() argument 1730 convertConnectionToRilCall(conn, calls[0], countryIso); in writeRilHangup() 2242 EmergencyNumber emergencyNumber, String countryIso, in writeOnImsCallTerminated() argument [all …]
|
/frameworks/base/telephony/java/com/android/internal/telephony/euicc/ |
D | IEuiccController.aidl | 56 boolean isSupportedCountry(String countryIso); in isSupportedCountry() argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/ |
D | EuiccController.java | 358 public boolean isSupportedCountry(@NonNull String countryIso) { in isSupportedCountry() argument 365 return !isEsimUnsupportedCountry(countryIso); in isSupportedCountry() 368 return isEsimSupportedCountry(countryIso); in isSupportedCountry() 372 private boolean isEsimSupportedCountry(String countryIso) { in isEsimSupportedCountry() argument 373 if (mSupportedCountries == null || TextUtils.isEmpty(countryIso)) { in isEsimSupportedCountry() 376 return mSupportedCountries.contains(countryIso); in isEsimSupportedCountry() 379 private boolean isEsimUnsupportedCountry(String countryIso) { in isEsimUnsupportedCountry() argument 380 if (mUnsupportedCountries == null || TextUtils.isEmpty(countryIso)) { in isEsimUnsupportedCountry() 383 return mUnsupportedCountries.contains(countryIso); in isEsimUnsupportedCountry()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/emergency/ |
D | EmergencyAffordanceServiceTest.java | 404 private void sendBroadcastNetworkCountryChanged(Supplier<String> countryIso) { in sendBroadcastNetworkCountryChanged() argument 406 intent.putExtra(TelephonyManager.EXTRA_NETWORK_COUNTRY, countryIso.get()); in sendBroadcastNetworkCountryChanged()
|
/frameworks/base/core/java/android/provider/ |
D | CallLog.java | 2050 final String countryIso = getCurrentCountryIso(context); in updateNormalizedNumber() local 2051 if (TextUtils.isEmpty(countryIso)) { in updateNormalizedNumber() 2054 final String normalizedNumber = PhoneNumberUtils.formatNumberToE164(number, countryIso); in updateNormalizedNumber() 2116 String countryIso = null; in getCurrentCountryIso() local 2122 countryIso = country.getCountryIso(); in getCurrentCountryIso() 2125 return countryIso; in getCurrentCountryIso()
|
/frameworks/base/telephony/java/android/telephony/emergency/ |
D | EmergencyNumber.java | 252 public EmergencyNumber(@NonNull String number, @NonNull String countryIso, @NonNull String mnc, in EmergencyNumber() argument 258 this.mCountryIso = countryIso; in EmergencyNumber()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | ISms.aidl | 538 String destAddress, String countryIso); in checkSmsShortCodeDestination() argument
|
D | ISmsImplBase.java | 196 String callingFeatureId, String destAddress, String countryIso) { in checkSmsShortCodeDestination() argument
|
/frameworks/base/telephony/java/android/telephony/euicc/ |
D | EuiccManager.java | 1522 public boolean isSupportedCountry(@NonNull String countryIso) { in isSupportedCountry() argument 1527 return getIEuiccController().isSupportedCountry(countryIso.toUpperCase()); in isSupportedCountry()
|