Home
last modified time | relevance | path

Searched refs:getSimCountryIso (Results 1 – 21 of 21) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/consent/
DDeviceRegionProviderTest.java64 doReturn("gb").when(mTelephonyManager).getSimCountryIso(); in testGbEmptyEeaCountriesList()
77 doReturn("ch").when(mTelephonyManager).getSimCountryIso(); in testChEmptyEeaCountriesList()
90 doReturn("us").when(mTelephonyManager).getSimCountryIso(); in testUsEmptyEeaCountriesList()
101 doReturn("gb").when(mTelephonyManager).getSimCountryIso(); in isGbDeviceTrue()
112 doReturn("ch").when(mTelephonyManager).getSimCountryIso(); in isChDeviceTrue()
123 doReturn("pl").when(mTelephonyManager).getSimCountryIso(); in isEuDeviceTrue()
134 doReturn("us").when(mTelephonyManager).getSimCountryIso(); in isEuDeviceFalse()
145 doReturn("").when(mTelephonyManager).getSimCountryIso(); in noSimCardInstalledTest()
175 doReturn("").when(mTelephonyManager).getSimCountryIso(); in deviceRegionFlagOnTest_isEeaDeviceNoSim()
188 doReturn("us").when(mTelephonyManager).getSimCountryIso(); in deviceRegionFlagOnTest_isEeaDeviceUsSim()
[all …]
/packages/apps/Dialer/java/com/android/dialer/assisteddialing/
DLocationDetector.java62 String simCountryIso = telephonyManager.getSimCountryIso(); in getUpperCaseUserHomeCountry()
65 return Optional.of(telephonyManager.getSimCountryIso().toUpperCase(Locale.US)); in getUpperCaseUserHomeCountry()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DAdServicesCommonServiceImplTest.java173 doReturn("pl").when(mTelephonyManager).getSimCountryIso(); in setup()
314 doReturn("us").when(mTelephonyManager).getSimCountryIso(); in isAdservicesEnabledReconsentTest_deviceNotEu()
330 doReturn("pl").when(mTelephonyManager).getSimCountryIso(); in isAdservicesEnabledReconsentTest_gaUxNotificationDisplayed()
423 doReturn("us").when(mTelephonyManager).getSimCountryIso(); in setAdservicesEnabledConsentTest_happycase()
439 doReturn("us").when(mTelephonyManager).getSimCountryIso(); in setAdservicesEnabledConsentTest_ReconsentGaUxFeatureDisabled()
477 doReturn("us").when(mTelephonyManager).getSimCountryIso(); in setAdservicesEnabledConsentTest_ReconsentGaUxNotificationDisplayed()
496 doReturn("us").when(mTelephonyManager).getSimCountryIso(); in setAdservicesEnabledConsentTest_ReconsentNotificationNotDisplayed()
515 doReturn("us").when(mTelephonyManager).getSimCountryIso(); in setAdservicesEnabledConsentTest_ReconsentUserConsentRevoked()
/packages/services/Telephony/testapps/TestRcsApp/TestApp/src/com/google/android/sample/rcsclient/util/
DNumberUtils.java38 String simCountryIso = manager.getSimCountryIso().toUpperCase(Locale.ROOT); in formatNumber()
/packages/services/Mms/src/com/android/mms/service/
DPhoneUtils.java84 final String country = telephonyManager.getSimCountryIso(); in getSimCountry()
/packages/apps/Contacts/src/com/android/contacts/location/
DCountryDetector.java108 return mTelephonyManager.getSimCountryIso(); in getSimBasedCountryIso()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/consent/
DDeviceRegionProvider.java65 String deviceCountryIso = telephonyManager.getSimCountryIso(); in isEuDevice()
/packages/apps/Contacts/src/com/android/contacts/model/
DSimCard.java246 telephony.getSimCountryIso()); in create()
/packages/apps/Dialer/java/com/android/dialer/location/
DCountryDetector.java178 return telephonyManager.getSimCountryIso(); in getSimBasedCountryIso()
/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/
DQnsTest.java160 when(mMockTelephonyManager.getSimCountryIso()).thenReturn("ca"); in stubManagers()
DIwlanNetworkStatusTrackerTest.java377 when(mMockTelephonyManager.getSimCountryIso()).thenReturn("CA"); in testIsInternationalRoaming()
/packages/apps/Messaging/src/android/support/v7/mms/
DMmsHttpClient.java423 country = mTelephonyManager.getSimCountryIso(); in getSimOrLocaleCountry()
/packages/apps/Dialer/java/com/android/dialer/smartdial/util/
DSmartDialPrefix.java72 userSimCountryCode = manager.getSimCountryIso(); in initializeNanpSettings()
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/
DIwlanNetworkStatusTracker.java606 String simCountry = mTelephonyManager.createForSubscriptionId(slotId).getSimCountryIso(); in isInternationalRoaming()
/packages/apps/Dialer/java/com/android/incallui/call/
DDialerCall.java1535 public String getSimCountryIso() { in getSimCountryIso() method in DialerCall
1538 .getSimCountryIso(); in getSimCountryIso()
/packages/apps/Messaging/src/com/android/messaging/util/
DPhoneUtils.java273 final String country = mTelephonyManager.getSimCountryIso(); in getSimCountry()
/packages/apps/Dialer/java/com/android/incallui/
DCallCardPresenter.java480 context, primary.getCallbackNumber(), primary.getSimCountryIso())) in updatePrimaryCallState()
/packages/services/Iwlan/src/com/google/android/iwlan/epdg/
DEpdgSelector.java758 String simCountry = tm.getSimCountryIso(); in inSameCountry()
/packages/services/Telephony/tests/src/com/android/services/telephony/domainselection/
DEmergencyCallDomainSelectorTest.java2020 doReturn("us").when(mTelephonyManager).getSimCountryIso(); in testFullServiceInDomesticRoaming()
2045 doReturn("us").when(mTelephonyManager).getSimCountryIso(); in testFullServiceInInterNationalRoaming()
3627 doReturn("us").when(mTelephonyManager).getSimCountryIso();
/packages/services/Telephony/src/com/android/services/telephony/domainselection/
DEmergencyCallDomainSelector.java1536 String simIso = tm.getSimCountryIso(); in isInRoaming()
/packages/services/Iwlan/test/com/google/android/iwlan/epdg/
DEpdgSelectorTest.java173 when(mMockTelephonyManager.getSimCountryIso()).thenReturn("ca"); in setUp()