/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | CarrierServiceBindHelperTest.java | 64 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()
|
D | PhoneConfigurationManagerTest.java | 123 doReturn(numOfSim).when(mTelephonyManager).getActiveModemCount(); in init() 137 doReturn(1).when(mTelephonyManager).getActiveModemCount(); in testGetPhoneCount() 139 doReturn(2).when(mTelephonyManager).getActiveModemCount(); in testGetPhoneCount()
|
D | SimultaneousCallingTrackerTest.java | 153 doReturn(numOfSim).when(mTelephonyManager).getActiveModemCount(); in init()
|
D | TelephonyRegistryTest.java | 648 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/ |
D | RadioOnHelper.java | 60 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/ |
D | TelephonySubscriptionTracker.java | 173 final int modemCount = mTelephonyManager.getActiveModemCount(); in registerCarrierPrivilegesCallbacks() 307 final int modemCount = mTelephonyManager.getActiveModemCount(); in handleActionMultiSimConfigChanged()
|
/frameworks/libs/service_entitlement/java/com/android/libraries/entitlement/ |
D | Ts43Authentication.java | 181 if (slotIndex < 0 || slotIndex >= telephonyManager.getActiveModemCount()) { in getAuthToken()
|
/frameworks/libs/service_entitlement/tests/src/com/android/libraries/entitlement/ |
D | Ts43AuthenticationTest.java | 120 doReturn(2).when(mTelephonyManager).getActiveModemCount(); in setUp()
|
D | Ts43OperationTest.java | 317 doReturn(2).when(mTelephonyManager).getActiveModemCount(); in setUp()
|
/frameworks/base/services/core/java/com/android/server/emergency/ |
D | EmergencyAffordanceService.java | 247 final int activeModems = mTelephonyManager.getActiveModemCount(); in updateNetworkCountry()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/emergency/ |
D | EmergencyAffordanceServiceTest.java | 417 doReturn(ACTIVE_MODEM_COUNT).when(mTelephonyManager).getActiveModemCount(); in setUpCell()
|
/frameworks/base/tests/vcn/java/com/android/server/vcn/ |
D | TelephonySubscriptionTrackerTest.java | 190 doReturn(2).when(mTelephonyManager).getActiveModemCount(); in setUp() 351 doReturn(1).when(mTelephonyManager).getActiveModemCount(); in testMultiSimConfigChanged()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardSimPinViewController.java | 336 count = mTelephonyManager.getActiveModemCount(); in setLockedSimMessage()
|
D | KeyguardSimPukViewController.java | 215 count = mTelephonyManager.getActiveModemCount(); in showDefaultMessage()
|
D | CarrierTextManager.java | 256 for (int index = 0; index < getTelephonyManager().getActiveModemCount(); index++) { in updateCarrierTextWithSimIoError()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CarrierServiceBindHelper.java | 194 .getActiveModemCount(); in updateBindingsAndSimStates()
|
D | PhoneFactory.java | 176 int numPhones = TelephonyManager.getDefault().getActiveModemCount(); in makeDefaultPhone()
|
D | PhoneConfigurationManager.java | 523 return mTelephonyManager.getActiveModemCount(); in getPhoneCount()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
D | CarrierTextManagerTest.java | 173 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/ |
D | EuiccController.java | 1320 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/ |
D | SubscriptionManagerService.java | 1419 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/ |
D | UiccController.java | 1668 return (index >= 0 && index < mTelephonyManager.getActiveModemCount()); in isValidPhoneIndex() 1676 for (int i = 0; i < mTelephonyManager.getActiveModemCount(); i++) { in isShuttingDown()
|
D | PinStorage.java | 925 return TelephonyManager.getDefault().getActiveModemCount(); in getSlotCount()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/euicc/ |
D | EuiccControllerTest.java | 1157 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/ |
D | TelephonyRegistry.java | 611 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()
|