Home
last modified time | relevance | path

Searched refs:getNetworkCountryIso (Results 1 – 25 of 30) sorted by relevance

12

/packages/modules/Uwb/service/tests/src/com/android/server/uwb/
DUwbCountryCodeTest.java170 when(mTelephonyManager.getNetworkCountryIso(anyInt())).thenReturn(TEST_COUNTRY_CODE); in testInitializeCountryCodeFromTelephony()
182 when(mTelephonyManager.getNetworkCountryIso()).thenReturn(ISO_COUNTRY_CODE); in testInitializeCountryCodeFromTelephonyWhenSubscriptionListEmptyAndFlagEnabled()
186 verify(mTelephonyManager).getNetworkCountryIso(); in testInitializeCountryCodeFromTelephonyWhenSubscriptionListEmptyAndFlagEnabled()
187 verify(mTelephonyManager, never()).getNetworkCountryIso(anyInt()); in testInitializeCountryCodeFromTelephonyWhenSubscriptionListEmptyAndFlagEnabled()
198 when(mTelephonyManager.getNetworkCountryIso()).thenReturn(ISO_COUNTRY_CODE); in testInitializeCountryCodeFromTelephonyWhenSubscriptionListNullAndFlagEnabled()
202 verify(mTelephonyManager).getNetworkCountryIso(); in testInitializeCountryCodeFromTelephonyWhenSubscriptionListNullAndFlagEnabled()
203 verify(mTelephonyManager, never()).getNetworkCountryIso(anyInt()); in testInitializeCountryCodeFromTelephonyWhenSubscriptionListNullAndFlagEnabled()
214 when(mTelephonyManager.getNetworkCountryIso()).thenReturn(""); in testInitializeCountryCodeFromTelephonyWhenSubscriptionListAndNetworkCountryEmpty()
218 verify(mTelephonyManager).getNetworkCountryIso(); in testInitializeCountryCodeFromTelephonyWhenSubscriptionListAndNetworkCountryEmpty()
219 verify(mTelephonyManager, never()).getNetworkCountryIso(anyInt()); in testInitializeCountryCodeFromTelephonyWhenSubscriptionListAndNetworkCountryEmpty()
[all …]
/packages/apps/Dialer/java/com/android/dialer/assisteddialing/
DLocationDetector.java74 String networkCountryIso = telephonyManager.getNetworkCountryIso(); in getUpperCaseUserRoamingCountry()
76 return Optional.of(telephonyManager.getNetworkCountryIso().toUpperCase(Locale.US)); in getUpperCaseUserRoamingCountry()
/packages/services/Telephony/src/com/android/services/telephony/domainselection/
DDynamicRoutingController.java263 private String getNetworkCountryIso(int phoneId) { in getNetworkCountryIso() method in DynamicRoutingController
286 String iso = getNetworkCountryIso(phone.getPhoneId()); in isDynamicNumber()
346 String iso = getNetworkCountryIso(phoneId); in updateDynamicEmergencyNumbers()
DEmergencyCallDomainSelector.java1526 String netIso = tm.getNetworkCountryIso(); in isInRoaming()
1716 iso = tm.getNetworkCountryIso(getSlotId()); in getCountryIso()
1719 iso = tm.getNetworkCountryIso(i); in getCountryIso()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DDisconnectedCallNotifierTest.java65 when(fakeTelephonyManager.getNetworkCountryIso()).thenReturn("US"); in setUp()
157 when(mComponentContextFixture.getTelephonyManager().getNetworkCountryIso()) in testGetCountryIsoWithNoTelephony()
DCallRedirectionProcessorTest.java138 when(mTelephonyManager.getNetworkCountryIso()).thenReturn(""); in setUp()
393 when(mComponentContextFixture.getTelephonyManager().getNetworkCountryIso()) in testFormatNumberToE164WhenNoTelephony()
DMissedCallNotifierImplTest.java187 when(fakeTelephonyManager.getNetworkCountryIso()).thenReturn("US"); in setUp()
709 when(mComponentContextFixture.getTelephonyManager().getNetworkCountryIso()) in testGetCountryIsoWithNoTelephony()
/packages/apps/Contacts/src/com/android/contacts/util/
DTelephonyManagerUtils.java53 String countryIso = telephonyManager.getNetworkCountryIso().toUpperCase(); in getCurrentCountryIso()
/packages/apps/Contacts/src/com/android/contacts/location/
DCountryDetector.java101 return mTelephonyManager.getNetworkCountryIso(); in getNetworkBasedCountryIso()
/packages/modules/Uwb/flags/
Duwb_flags.aconfig45 …description: "Configure country code from getNetworkCountryIso() when telephony list is empty or n…
/packages/apps/Dialer/java/com/android/dialer/compat/telephony/
DTelephonyManagerCompat.java216 .getNetworkCountryIso(); in getNetworkCountryIsoForPhoneAccountHandle()
/packages/modules/Uwb/service/java/com/android/server/uwb/
DUwbCountryCode.java253 countryCode = mTelephonyManager.getNetworkCountryIso(slotIdx); in initialize()
263 String countryCode = mTelephonyManager.getNetworkCountryIso(); in initialize()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiCountryCodeTest.java238 when(mTelephonyManager.getNetworkCountryIso()).thenReturn(mTelephonyCountryCode); in useTelephonyCountryCodeOnBootup()
602 when(mTelephonyManager.getNetworkCountryIso()).thenReturn(mTelephonyCountryCode); in testSetTelephonyCountryCodeAndUpdateWithEmptyCCReturnFalseWhenDefaultSIMCCExist()
743 when(mTelephonyManager.getNetworkCountryIso()).thenReturn(TEST_COUNTRY_CODE_2); in testUpdateCountryCodeGenericWithTelephonyCountryCode()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiCountryCode.java314 setTelephonyCountryCode(mTelephonyManager.getNetworkCountryIso()); in initializeTelephonyCountryCodeIfNeeded()
405 && !TextUtils.isEmpty(mTelephonyManager.getNetworkCountryIso())) { in setTelephonyCountryCodeAndUpdate()
/packages/services/Telecomm/src/com/android/server/telecom/callredirection/
DCallRedirectionProcessorHelper.java156 number = PhoneNumberUtils.formatNumberToE164(number, tm.getNetworkCountryIso()); in formatNumberToE164()
/packages/apps/Dialer/java/com/android/dialer/location/
DCountryDetector.java161 return telephonyManager.getNetworkCountryIso(); in getNetworkBasedCountryIso()
/packages/services/Telephony/src/com/android/phone/
DShortcutViewUtils.java297 countryIso = subTelephonyManager.getNetworkCountryIso(); in loadPhoneInfo()
DCallForwardEditPreference.java303 return telephonyManager.getNetworkCountryIso().toUpperCase(Locale.ROOT); in getCurrentCountryIso()
/packages/services/Telecomm/src/com/android/server/telecom/ui/
DDisconnectedCallNotifier.java297 countryIso = telephonyManager.getNetworkCountryIso().toUpperCase(); in getCurrentCountryIso()
DMissedCallNotifierImpl.java518 countryIso = telephonyManager.getNetworkCountryIso().toUpperCase(); in getCurrentCountryIso()
/packages/modules/Connectivity/thread/service/java/com/android/server/thread/
DThreadNetworkCountryCode.java400 countryCode = mTelephonyManager.getNetworkCountryIso(slotIndex); in updateTelephonyCountryCodeFromSimCard()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DMobileNetworkSummaryControllerTest.java102 when(mTelephonyManager.getNetworkCountryIso()).thenReturn(""); in setUp()
/packages/services/Telephony/tests/src/com/android/services/telephony/domainselection/
DCrossSimRedialingControllerTest.java123 when(mTelephonyManager.getNetworkCountryIso()).thenReturn(""); in setUp()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastReceiver.java259 String countryCode = tm.getNetworkCountryIso(); in onServiceStateChanged()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mapclient/
DMapClientContent.java517 mTelephonyManager.getNetworkCountryIso()))); in getThreadId()

12