/packages/modules/Uwb/service/tests/src/com/android/server/uwb/ |
D | UwbCountryCodeTest.java | 170 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/ |
D | LocationDetector.java | 74 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/ |
D | DynamicRoutingController.java | 263 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()
|
D | EmergencyCallDomainSelector.java | 1526 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/ |
D | DisconnectedCallNotifierTest.java | 65 when(fakeTelephonyManager.getNetworkCountryIso()).thenReturn("US"); in setUp() 157 when(mComponentContextFixture.getTelephonyManager().getNetworkCountryIso()) in testGetCountryIsoWithNoTelephony()
|
D | CallRedirectionProcessorTest.java | 138 when(mTelephonyManager.getNetworkCountryIso()).thenReturn(""); in setUp() 393 when(mComponentContextFixture.getTelephonyManager().getNetworkCountryIso()) in testFormatNumberToE164WhenNoTelephony()
|
D | MissedCallNotifierImplTest.java | 187 when(fakeTelephonyManager.getNetworkCountryIso()).thenReturn("US"); in setUp() 709 when(mComponentContextFixture.getTelephonyManager().getNetworkCountryIso()) in testGetCountryIsoWithNoTelephony()
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | TelephonyManagerUtils.java | 53 String countryIso = telephonyManager.getNetworkCountryIso().toUpperCase(); in getCurrentCountryIso()
|
/packages/apps/Contacts/src/com/android/contacts/location/ |
D | CountryDetector.java | 101 return mTelephonyManager.getNetworkCountryIso(); in getNetworkBasedCountryIso()
|
/packages/modules/Uwb/flags/ |
D | uwb_flags.aconfig | 45 …description: "Configure country code from getNetworkCountryIso() when telephony list is empty or n…
|
/packages/apps/Dialer/java/com/android/dialer/compat/telephony/ |
D | TelephonyManagerCompat.java | 216 .getNetworkCountryIso(); in getNetworkCountryIsoForPhoneAccountHandle()
|
/packages/modules/Uwb/service/java/com/android/server/uwb/ |
D | UwbCountryCode.java | 253 countryCode = mTelephonyManager.getNetworkCountryIso(slotIdx); in initialize() 263 String countryCode = mTelephonyManager.getNetworkCountryIso(); in initialize()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiCountryCodeTest.java | 238 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/ |
D | WifiCountryCode.java | 314 setTelephonyCountryCode(mTelephonyManager.getNetworkCountryIso()); in initializeTelephonyCountryCodeIfNeeded() 405 && !TextUtils.isEmpty(mTelephonyManager.getNetworkCountryIso())) { in setTelephonyCountryCodeAndUpdate()
|
/packages/services/Telecomm/src/com/android/server/telecom/callredirection/ |
D | CallRedirectionProcessorHelper.java | 156 number = PhoneNumberUtils.formatNumberToE164(number, tm.getNetworkCountryIso()); in formatNumberToE164()
|
/packages/apps/Dialer/java/com/android/dialer/location/ |
D | CountryDetector.java | 161 return telephonyManager.getNetworkCountryIso(); in getNetworkBasedCountryIso()
|
/packages/services/Telephony/src/com/android/phone/ |
D | ShortcutViewUtils.java | 297 countryIso = subTelephonyManager.getNetworkCountryIso(); in loadPhoneInfo()
|
D | CallForwardEditPreference.java | 303 return telephonyManager.getNetworkCountryIso().toUpperCase(Locale.ROOT); in getCurrentCountryIso()
|
/packages/services/Telecomm/src/com/android/server/telecom/ui/ |
D | DisconnectedCallNotifier.java | 297 countryIso = telephonyManager.getNetworkCountryIso().toUpperCase(); in getCurrentCountryIso()
|
D | MissedCallNotifierImpl.java | 518 countryIso = telephonyManager.getNetworkCountryIso().toUpperCase(); in getCurrentCountryIso()
|
/packages/modules/Connectivity/thread/service/java/com/android/server/thread/ |
D | ThreadNetworkCountryCode.java | 400 countryCode = mTelephonyManager.getNetworkCountryIso(slotIndex); in updateTelephonyCountryCodeFromSimCard()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/ |
D | MobileNetworkSummaryControllerTest.java | 102 when(mTelephonyManager.getNetworkCountryIso()).thenReturn(""); in setUp()
|
/packages/services/Telephony/tests/src/com/android/services/telephony/domainselection/ |
D | CrossSimRedialingControllerTest.java | 123 when(mTelephonyManager.getNetworkCountryIso()).thenReturn(""); in setUp()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastReceiver.java | 259 String countryCode = tm.getNetworkCountryIso(); in onServiceStateChanged()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mapclient/ |
D | MapClientContent.java | 517 mTelephonyManager.getNetworkCountryIso()))); in getThreadId()
|