Home
last modified time | relevance | path

Searched refs:getActiveModemCount (Results 1 – 25 of 46) sorted by relevance

12

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierServiceBindHelperTest.java64 doReturn(1).when(mTelephonyManager).getActiveModemCount(); in setUp()
84 doReturn(2).when(mTelephonyManager).getActiveModemCount(); in testMultiSimConfigChanged()
96 doReturn(1).when(mTelephonyManager).getActiveModemCount(); in testMultiSimConfigChanged()
130 doReturn(2).when(mTelephonyManager).getActiveModemCount(); in testCarrierPrivilegesCallbackRegistration()
144 doReturn(1).when(mTelephonyManager).getActiveModemCount(); in testCarrierPrivilegesCallbackRegistration()
176 doReturn(1).when(mTelephonyManager).getActiveModemCount(); in testCarrierAppConnectionLost_resetsCarrierNetworkChange()
231 doReturn(1).when(mTelephonyManager).getActiveModemCount(); in testCarrierAppBindingLost_resetsCarrierNetworkChange()
DPhoneConfigurationManagerTest.java123 doReturn(numOfSim).when(mTelephonyManager).getActiveModemCount(); in init()
137 doReturn(1).when(mTelephonyManager).getActiveModemCount(); in testGetPhoneCount()
139 doReturn(2).when(mTelephonyManager).getActiveModemCount(); in testGetPhoneCount()
DSimultaneousCallingTrackerTest.java153 doReturn(numOfSim).when(mTelephonyManager).getActiveModemCount(); in init()
DTelephonyRegistryTest.java648 doReturn(2).when(mTelephonyManager).getActiveModemCount(); in testMultiSimConfigChange()
655 doReturn(2).when(mTelephonyManager).getActiveModemCount(); in testMultiSimConfigChange()
1548 doReturn(2).when(mTelephonyManager).getActiveModemCount(); in testPreciseDataConnectionStateChangedForInvalidSubId()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/emergency/
DRadioOnHelper.java60 int activeModems = TelephonyManager.from(mContext).getActiveModemCount(); in setupListeners()
93 for (int i = 0; i < TelephonyManager.from(mContext).getActiveModemCount(); i++) { in triggerRadioOnAndListen()
/frameworks/base/packages/Vcn/service-b/src/com/android/server/vcn/
DTelephonySubscriptionTracker.java173 final int modemCount = mTelephonyManager.getActiveModemCount(); in registerCarrierPrivilegesCallbacks()
307 final int modemCount = mTelephonyManager.getActiveModemCount(); in handleActionMultiSimConfigChanged()
/frameworks/libs/service_entitlement/java/com/android/libraries/entitlement/
DTs43Authentication.java181 if (slotIndex < 0 || slotIndex >= telephonyManager.getActiveModemCount()) { in getAuthToken()
/frameworks/libs/service_entitlement/tests/src/com/android/libraries/entitlement/
DTs43AuthenticationTest.java120 doReturn(2).when(mTelephonyManager).getActiveModemCount(); in setUp()
DTs43OperationTest.java317 doReturn(2).when(mTelephonyManager).getActiveModemCount(); in setUp()
/frameworks/base/services/core/java/com/android/server/emergency/
DEmergencyAffordanceService.java247 final int activeModems = mTelephonyManager.getActiveModemCount(); in updateNetworkCountry()
/frameworks/base/services/tests/servicestests/src/com/android/server/emergency/
DEmergencyAffordanceServiceTest.java417 doReturn(ACTIVE_MODEM_COUNT).when(mTelephonyManager).getActiveModemCount(); in setUpCell()
/frameworks/base/tests/vcn/java/com/android/server/vcn/
DTelephonySubscriptionTrackerTest.java190 doReturn(2).when(mTelephonyManager).getActiveModemCount(); in setUp()
351 doReturn(1).when(mTelephonyManager).getActiveModemCount(); in testMultiSimConfigChanged()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSimPinViewController.java336 count = mTelephonyManager.getActiveModemCount(); in setLockedSimMessage()
DKeyguardSimPukViewController.java215 count = mTelephonyManager.getActiveModemCount(); in showDefaultMessage()
DCarrierTextManager.java256 for (int index = 0; index < getTelephonyManager().getActiveModemCount(); index++) { in updateCarrierTextWithSimIoError()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierServiceBindHelper.java194 .getActiveModemCount(); in updateBindingsAndSimStates()
DPhoneFactory.java176 int numPhones = TelephonyManager.getDefault().getActiveModemCount(); in makeDefaultPhone()
DPhoneConfigurationManager.java523 return mTelephonyManager.getActiveModemCount(); in getPhoneCount()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DCarrierTextManagerTest.java173 when(mTelephonyManager.getActiveModemCount()).thenReturn(3); in setUp()
366 when(mTelephonyManager.getActiveModemCount()).thenReturn(1); in testCardIOError()
403 when(mTelephonyManager.getActiveModemCount()).thenReturn(1); in testCardIOError_flagEnabled()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/
DEuiccController.java1320 if (mTelephonyManager.getActiveModemCount() == 1) { in getResolvedPortIndexForSubscriptionSwitch()
1390 if (mTelephonyManager.getActiveModemCount() == 1) { in isTargetPortIndexValid()
1401 } else if (mTelephonyManager.getActiveModemCount() > 1) { in isTargetPortIndexValid()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/subscription/
DSubscriptionManagerService.java1419 for (int phoneId = 0; phoneId < mTelephonyManager.getActiveModemCount(); phoneId++) { in areAllSubscriptionsLoaded()
2183 return mTelephonyManager.getActiveModemCount(); in getActiveSubInfoCountMax()
3237 RadioAccessFamily[] rafs = new RadioAccessFamily[mTelephonyManager.getActiveModemCount()]; in remapRafIfApplicable()
5076 pw.println("Active modem count=" + mTelephonyManager.getActiveModemCount()); in dump()
5084 for (int i = 0; i < mTelephonyManager.getActiveModemCount(); i++) { in dump()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccController.java1668 return (index >= 0 && index < mTelephonyManager.getActiveModemCount()); in isValidPhoneIndex()
1676 for (int i = 0; i < mTelephonyManager.getActiveModemCount(); i++) { in isShuttingDown()
DPinStorage.java925 return TelephonyManager.getDefault().getActiveModemCount(); in getSlotCount()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/euicc/
DEuiccControllerTest.java1157 when(mTelephonyManager.getActiveModemCount()).thenReturn(2); in testGetResolvedPortIndexForSubscriptionSwitchWithMEP()
1174 when(mTelephonyManager.getActiveModemCount()).thenReturn(1); in testGetResolvedPortIndexForSubscriptionSwitchWithPsimActiveAndSS()
1185 when(mTelephonyManager.getActiveModemCount()).thenReturn(1); in testGetResolvedPortIndexForSubscriptionSwitchWithPsimInActiveAndSS()
/frameworks/base/services/core/java/com/android/server/
DTelephonyRegistry.java611 int numPhones = getTelephonyManager().getActiveModemCount();
709 mNumPhones = getTelephonyManager().getActiveModemCount(); in onMultiSimConfigChanged()
851 int numPhones = getTelephonyManager().getActiveModemCount(); in TelephonyRegistry()
4007 for (int i = 0; i < getTelephonyManager().getActiveModemCount(); i++) { in dump()
4519 boolean valid = (phoneId >= 0) && (phoneId < getTelephonyManager().getActiveModemCount()); in validatePhoneId()

12