/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/consent/ |
D | DeviceRegionProviderTest.java | 64 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/ |
D | LocationDetector.java | 62 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/ |
D | AdServicesCommonServiceImplTest.java | 173 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/ |
D | NumberUtils.java | 38 String simCountryIso = manager.getSimCountryIso().toUpperCase(Locale.ROOT); in formatNumber()
|
/packages/services/Mms/src/com/android/mms/service/ |
D | PhoneUtils.java | 84 final String country = telephonyManager.getSimCountryIso(); in getSimCountry()
|
/packages/apps/Contacts/src/com/android/contacts/location/ |
D | CountryDetector.java | 108 return mTelephonyManager.getSimCountryIso(); in getSimBasedCountryIso()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/consent/ |
D | DeviceRegionProvider.java | 65 String deviceCountryIso = telephonyManager.getSimCountryIso(); in isEuDevice()
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
D | SimCard.java | 246 telephony.getSimCountryIso()); in create()
|
/packages/apps/Dialer/java/com/android/dialer/location/ |
D | CountryDetector.java | 178 return telephonyManager.getSimCountryIso(); in getSimBasedCountryIso()
|
/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/ |
D | QnsTest.java | 160 when(mMockTelephonyManager.getSimCountryIso()).thenReturn("ca"); in stubManagers()
|
D | IwlanNetworkStatusTrackerTest.java | 377 when(mMockTelephonyManager.getSimCountryIso()).thenReturn("CA"); in testIsInternationalRoaming()
|
/packages/apps/Messaging/src/android/support/v7/mms/ |
D | MmsHttpClient.java | 423 country = mTelephonyManager.getSimCountryIso(); in getSimOrLocaleCountry()
|
/packages/apps/Dialer/java/com/android/dialer/smartdial/util/ |
D | SmartDialPrefix.java | 72 userSimCountryCode = manager.getSimCountryIso(); in initializeNanpSettings()
|
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/ |
D | IwlanNetworkStatusTracker.java | 606 String simCountry = mTelephonyManager.createForSubscriptionId(slotId).getSimCountryIso(); in isInternationalRoaming()
|
/packages/apps/Dialer/java/com/android/incallui/call/ |
D | DialerCall.java | 1535 public String getSimCountryIso() { in getSimCountryIso() method in DialerCall 1538 .getSimCountryIso(); in getSimCountryIso()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | PhoneUtils.java | 273 final String country = mTelephonyManager.getSimCountryIso(); in getSimCountry()
|
/packages/apps/Dialer/java/com/android/incallui/ |
D | CallCardPresenter.java | 480 context, primary.getCallbackNumber(), primary.getSimCountryIso())) in updatePrimaryCallState()
|
/packages/services/Iwlan/src/com/google/android/iwlan/epdg/ |
D | EpdgSelector.java | 758 String simCountry = tm.getSimCountryIso(); in inSameCountry()
|
/packages/services/Telephony/tests/src/com/android/services/telephony/domainselection/ |
D | EmergencyCallDomainSelectorTest.java | 2020 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/ |
D | EmergencyCallDomainSelector.java | 1536 String simIso = tm.getSimCountryIso(); in isInRoaming()
|
/packages/services/Iwlan/test/com/google/android/iwlan/epdg/ |
D | EpdgSelectorTest.java | 173 when(mMockTelephonyManager.getSimCountryIso()).thenReturn("ca"); in setUp()
|