Home
last modified time | relevance | path

Searched refs:getCountryIso (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/base/telephony/java/android/telephony/emergency/
DEmergencyNumber.java337 public @NonNull String getCountryIso() { in getCountryIso() method in EmergencyNumber
667 } else if (this.getCountryIso().compareTo(emergencyNumber.getCountryIso()) != 0) { in compareTo()
668 return this.getCountryIso().compareTo(emergencyNumber.getCountryIso()); in compareTo()
778 if (!first.getCountryIso().equals(second.getCountryIso())) { in areSameEmergencyNumbers()
821 return new EmergencyNumber(first.getNumber(), first.getCountryIso(), first.getMnc(), in mergeSameEmergencyNumbers()
933 return new EmergencyNumber(first.getNumber(), first.getCountryIso(), first.getMnc(), in mergeSameEmergencyNumbers()
/frameworks/base/location/java/android/location/
DCountry.java139 public String getCountryIso() { in getCountryIso() method in Country
215 return mCountryIso.equals(c.getCountryIso()) && mSource == c.getSource(); in equals()
243 return country != null && mCountryIso.equals(country.getCountryIso()); in equalsIgnoreSource()
/frameworks/base/services/people/java/com/android/server/people/data/
DUtils.java38 countryIso = country.getCountryIso(); in getCurrentCountryIso()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DPerSimStatusTest.java96 doReturn("us").when(subscriptionInfo1).getCountryIso(); in onPullAtom_perSimStatus()
143 doReturn("us").when(subscriptionInfo2).getCountryIso(); in onPullAtom_perSimStatus()
247 doReturn("us").when(subscriptionInfo).getCountryIso(); in onPullAtom_perSimStatus_noImsManager()
307 doReturn("us").when(subscriptionInfo).getCountryIso(); in onPullAtom_perSimStatus_noImsMmTelManager()
369 doReturn("us").when(subscriptionInfo).getCountryIso(); in onPullAtom_perSimStatus_noUiccSlot()
/frameworks/base/services/tests/servicestests/src/com/android/server/location/countrydetector/
DComprehensiveCountryDetectorTest.java296 country1.getCountryIso().equalsIgnoreCase(country2.getCountryIso()) &&
DLocationBasedCountryDetectorTest.java161 mCountryCode = country.getCountryIso(); in onCountryDetected()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/subscription/
DSubscriptionInfoInternalTest.java206 assertThat(mSubInfo.getCountryIso()).isEqualTo( in testSubscriptionInfoInternalSetAndGet()
305 assertThat(subInfo.getCountryIso()).isEqualTo( in testConvertToSubscriptionInfo()
341 assertThat(subInfoNull.getCountryIso()).isEqualTo(""); in testNullability()
DSubscriptionDatabaseManagerTest.java1490 .getCountryIso()).isEqualTo(FAKE_COUNTRY_CODE1); in testUpdateCountryIso()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSubscriptionInfoTest.java85 assertThat(mSubscriptionInfoUT.getCountryIso()).isEqualTo("us"); in testSubProperties()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DEmergencyNumberStats.java149 emergencyNumber.countryIso = number.getCountryIso(); in convertEmergencyNumberToProto()
DPerSimStatus.java207 countryIso = subInfo.getCountryIso(); in getNumberIds()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/emergency/
DEmergencyNumberTest.java38 assertEquals(number.getCountryIso(), "us"); in testEmergencyNumberUnspecified()
90 assertEquals(number.getCountryIso(), "us"); in testEmergencyNumberSpecificService()
150 assertEquals(number.getCountryIso(), "jp"); in testEmergencyNumberMultipleServices()
/frameworks/base/telephony/java/android/telephony/
DEmergencyRegistrationResult.java237 public @NonNull String getCountryIso() { in getCountryIso() method in EmergencyRegistrationResult
DSubscriptionInfo.java655 public String getCountryIso() { in getCountryIso() method in SubscriptionInfo
/frameworks/base/services/core/java/com/android/server/emergency/
DEmergencyAffordanceService.java218 if (isoRequiresEmergencyAffordance(info.getCountryIso())) { in handleUpdateSimSubscriptionInfo()
/frameworks/base/services/core/java/com/android/server/location/countrydetector/
DComprehensiveCountryDetector.java321 + ", countryISO: " + detectedCountry.getCountryIso() + ")") in runAfterDetection()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DGsmCdmaPhone.java1579 if(!isEmergency && FdnUtils.isNumberBlockedByFDN(mPhoneId, dialString, getCountryIso())) { in dial()
1698 && PhoneNumberUtils.isInternationalNumber(dialString, getCountryIso()); in isNotificationOfWfcCallRequired()
1785 if(FdnUtils.isNumberBlockedByFDN(mPhoneId, ussdRequest, getCountryIso())) { in handleUssdRequest()
2727 if(FdnUtils.isSuppServiceRequestBlockedByFdn(mPhoneId, controlStrings, getCountryIso())) { in changeCallBarringPassword()
4887 public String getCountryIso() { in getCountryIso() method in GsmCdmaPhone
4891 if (subInfo == null || TextUtils.isEmpty(subInfo.getCountryIso())) { in getCountryIso()
4894 return subInfo.getCountryIso().toUpperCase(Locale.ROOT); in getCountryIso()
5390 return FdnUtils.isSuppServiceRequestBlockedByFdn(mPhoneId, controlStrings, getCountryIso()); in isRequestBlockedByFDN()
DConnection.java705 mEmergencyNumberInfo.getCountryIso(), in setEmergencyCallInfo()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/emergency/
DEmergencyNumberTracker.java873 num.getCountryIso(), mnc, in adjustRoutingForEmergencyNumbers()
1073 numberWithPrefix, num.getCountryIso(), in getEmergencyNumberListWithPrefix()
/frameworks/base/telecomm/java/android/telecom/
DCallerInfo.java720 countryIso = country.getCountryIso(); in getCurrentCountryIso()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneTest.java1015 doReturn("gb").when(subInfo).getCountryIso(); in testSetPhoneNumberForSourceIms()
1060 doReturn("gb").when(subInfo).getCountryIso(); in testSetPhoneNumberForSourceImsNegativeCases()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCallTracker.java2485 getCountryIso()).getSchemeSpecificPart(); in findConnectionTimeUsePhoneNumber()
2497 String countryIso = getCountryIso(); in getFormattedPhoneNumber()
2505 private String getCountryIso() { in getCountryIso() method in ImsPhoneCallTracker
2509 return info == null ? null : info.getCountryIso(); in getCountryIso()
3145 getCountryIso()).getSchemeSpecificPart(); in processCallStateChange()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/subscription/
DSubscriptionInfoInternal.java949 public String getCountryIso() { in getCountryIso() method in SubscriptionInfoInternal
DSubscriptionDatabaseManager.java212 SubscriptionInfoInternal::getCountryIso),
/frameworks/base/core/java/android/provider/
DCallLog.java2230 countryIso = country.getCountryIso(); in getCurrentCountryIso()

12