/packages/apps/Settings/src/com/android/settings/network/ |
D | SimOnboardingService.kt | 104 var getActiveModemCount = 0 in <lambda>() variable 106 return (telephonyManager?.getActiveModemCount() ?: 0) in <lambda>() 114 val activeModem = getActiveModemCount in <lambda>() 120 val activeModem = getActiveModemCount in <lambda>() 125 return getActiveModemCount != 0 && activeSubInfoList.size == activeModem in <lambda>() 129 return getActiveModemCount > 1 in <lambda>() 255 if (userSelectedSubInfoList.size < getActiveModemCount) { in <lambda>()
|
D | MobileDataContentObserver.java | 42 if (telephonyManager.getActiveModemCount() != 1) { in getObservableUri()
|
D | EnableMultiSimSidecar.java | 151 int activeSlotCount = mTelephonyManager.getActiveModemCount(); in getReadySimsCount()
|
D | ResetNetworkOperationBuilder.java | 243 for (int slotIndex = 0; slotIndex < tm.getActiveModemCount(); slotIndex++) { in resetIms()
|
/packages/services/AlternativeNetworkAccess/tests/src/com/android/ons/ |
D | ONSProfileActivatorTest.java | 201 doReturn(2).when(mMockTeleManager).getActiveModemCount(); in testMultiSIMNotSupported() 218 doReturn(1).when(mMockTeleManager).getActiveModemCount(); in testDeviceSwitchToDualSIMModeFailed() 241 doReturn(1).when(mMockTeleManager).getActiveModemCount(); in testDeviceSwitchToDualSIMModeSuccess() 265 doReturn(2).when(mMockTeleManager).getActiveModemCount(); in testNoActiveSubscriptions() 283 doReturn(2).when(mMockTeleManager).getActiveModemCount(); in testNullActiveSubscriptionList() 302 doReturn(2).when(mMockTeleManager).getActiveModemCount(); in testNonCBRSCarrierPSIMInserted() 331 doReturn(2).when(mMockTeleManager).getActiveModemCount(); in testTwoActivePSIMSubscriptions() 354 doReturn(2).when(mMockTeleManager).getActiveModemCount(); in testOneCBRSPSIMAndOneNonCBRSESIM() 384 doReturn(2).when(mMockTeleManager).getActiveModemCount(); in testOneCBRSPSIMAndOneOpportunisticESIM() 433 doReturn(2).when(mMockTeleManager).getActiveModemCount(); in testOnlyOpportunisticESIMActive() [all …]
|
/packages/apps/Settings/tests/unit/src/com/android/settings/network/telephony/ |
D | MobileDataPreferenceControllerTest.java | 150 doReturn(1).when(mTelephonyManager).getActiveModemCount(); in isDialogNeeded_disableSingleSim_returnFalse() 159 doReturn(1).when(mTelephonyManager).getActiveModemCount(); in isDialogNeeded_enableNonDefaultSimInMultiSimMode_returnTrue() 164 doReturn(2).when(mTelephonyManager).getActiveModemCount(); in isDialogNeeded_enableNonDefaultSimInMultiSimMode_returnTrue() 188 doReturn(1).when(mTelephonyManager).getActiveModemCount(); in onPreferenceChange_singleSim_On_shouldEnableData() 202 doReturn(2).when(mTelephonyManager).getActiveModemCount(); in onPreferenceChange_multiSim_On_shouldEnableData()
|
/packages/apps/Settings/src/com/android/settings/sim/smartForwarding/ |
D | SmartForwardingUtils.java | 84 int phoneCount = tm.getActiveModemCount(); in getAllSlotCallWaitingStatus() 97 int phoneCount = tm.getActiveModemCount(); in getAllSlotCallForwardingStatus() 110 int phoneCount = tm.getActiveModemCount(); in clearAllBackupData()
|
D | DisableSmartForwardingTask.java | 40 for (int i = 0; i < tm.getActiveModemCount(); i++) { in run()
|
D | EnableSmartForwardingTask.java | 88 if (phoneNum.length != tm.getActiveModemCount()) { in initObject() 93 mSlotUTData = new SlotUTData[tm.getActiveModemCount()]; in initObject()
|
/packages/apps/Settings/src/com/android/settings/sim/receivers/ |
D | SimSlotChangeHandler.java | 110 if (mTelMgr.getActiveModemCount() > 1) { in onSlotsStatusChange() 149 if (mTelMgr.getActiveModemCount() > 1) { in onSuwFinish()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/ |
D | CarrierPrivilegeAuthenticatorTest.java | 147 doReturn(SUBSCRIPTION_COUNT).when(mTelephonyManager).getActiveModemCount(); in CarrierPrivilegeAuthenticatorTest() 220 doReturn(1).when(mTelephonyManager).getActiveModemCount(); in testMultiSimConfigChanged()
|
/packages/services/Telephony/tests/src/com/android/phone/ |
D | CarrierConfigLoaderTest.java | 142 doReturn(1).when(mTelephonyManager).getActiveModemCount(); in setUp() 483 doReturn(2).when(mTelephonyManager).getActiveModemCount(); in testMultiSimConfigChanged()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/network/ |
D | ResetNetworkOperationBuilderTest.java | 174 doReturn(2).when(mTelephonyManager).getActiveModemCount(); in resetIms_performReset_whenBuildAndRun_withAllValidSubId()
|
/packages/apps/Settings/src/com/android/settings/network/telephony/ |
D | MobileDataPreferenceController.java | 213 final boolean isMultiSim = (mTelephonyManager.getActiveModemCount() > 1); in isDialogNeeded()
|
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/ |
D | GsmCellBroadcastHandler.java | 191 for (int slotId = 0; slotId < tm.getActiveModemCount(); slotId++) { in registerServiceStateListeners() 753 for(int i = 0; i < tm.getActiveModemCount(); i++) {
|
/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/ |
D | QualifiedNetworksServiceImplTest.java | 110 when(mMockTelephonyManager.getActiveModemCount()).thenReturn(2); in setUp()
|
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/provision/worker/ |
D | DeviceCheckInHelper.java | 125 final int totalSlotCount = mTelephonyManager.getActiveModemCount(); in getDeviceAvailableUniqueIds()
|
/packages/services/Telephony/tests/src/com/android/services/telephony/domainselection/ |
D | EmergencyCallDomainSelectorTest.java | 248 when(mTelephonyManager.getActiveModemCount()).thenReturn(1); in setUp() 375 doReturn(2).when(mTelephonyManager).getActiveModemCount(); in testNullEmergencyRegistrationResult() 470 doReturn(2).when(mTelephonyManager).getActiveModemCount(); in testNoRedundantTerminationFromInitialState() 1787 doReturn(2).when(mTelephonyManager).getActiveModemCount(); in testDualSimInvalidSubscription() 1811 doReturn(2).when(mTelephonyManager).getActiveModemCount(); in testDualSimInvalidSubscriptionAfterScan() 1842 doReturn(2).when(mTelephonyManager).getActiveModemCount(); in testDualSimInvalidSubscriptionButNoOtherSlot() 1866 doReturn(2).when(mTelephonyManager).getActiveModemCount(); in testDualSimNormalServiceOnTheOtherSubscription() 1890 doReturn(2).when(mTelephonyManager).getActiveModemCount(); in testDualSimNormalServiceOnTheOtherSubscriptionAfterScan() 2381 doReturn(2).when(mTelephonyManager).getActiveModemCount();
|
D | CrossSimRedialingControllerTest.java | 124 doReturn(2).when(mTelephonyManager).getActiveModemCount(); in setUp()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/simstatus/ |
D | SimStatusDialogControllerTest.java | 137 when(mTelephonyManager.getActiveModemCount()).thenReturn(MAX_PHONE_COUNT_SINGLE_SIM); in setup()
|
/packages/services/AlternativeNetworkAccess/src/com/android/ons/ |
D | ONSProfileActivator.java | 528 return (mTelephonyManager.getActiveModemCount() <= 1); in isDeviceInSingleSIMMode()
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | CarrierPrivilegeAuthenticator.java | 175 mModemCount = mTelephonyManager.getActiveModemCount(); in simConfigChanged()
|
/packages/services/Telephony/tests/src/com/android/services/telephony/rcs/ |
D | TelephonyRcsServiceTest.java | 107 doReturn(2).when(mTelephonyManager).getActiveModemCount(); in setUp()
|
/packages/services/Telephony/src/com/android/services/telephony/domainselection/ |
D | TelephonyDomainSelectionService.java | 228 int activeModemCount = (tm != null) ? tm.getActiveModemCount() : 1; in onCreate()
|
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/ |
D | QnsUtils.java | 127 return slotIndex >= 0 && tm != null && slotIndex < tm.getActiveModemCount(); in isValidSlotIndex()
|