Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierServiceBindHelperTest.java41 doReturn(1).when(mTelephonyManager).getActiveModemCount(); in setUp()
61 doReturn(2).when(mTelephonyManager).getActiveModemCount(); in testMultiSimConfigChanged()
73 doReturn(1).when(mTelephonyManager).getActiveModemCount(); in testMultiSimConfigChanged()
DPhoneConfigurationManagerTest.java79 doReturn(numOfSim).when(mTelephonyManager).getActiveModemCount(); in init()
93 doReturn(1).when(mTelephonyManager).getActiveModemCount(); in testGetPhoneCount()
95 doReturn(2).when(mTelephonyManager).getActiveModemCount(); in testGetPhoneCount()
DTelephonyRegistryTest.java287 doReturn(2).when(mTelephonyManager).getActiveModemCount(); in testMultiSimConfigChange()
294 doReturn(2).when(mTelephonyManager).getActiveModemCount(); in testMultiSimConfigChange()
DSubscriptionInfoUpdaterTest.java138 doReturn(1).when(mTelephonyManager).getActiveModemCount(); in setUp()
513 doReturn(2).when(mTelephonyManager).getActiveModemCount(); in testDualSimLoaded()
DTelephonyTest.java610 doReturn(1).when(mTelephonyManager).getActiveModemCount(); in setUp()
612 doAnswer((invocation)->Math.max(mTelephonyManager.getActiveModemCount(), in setUp()
DSubscriptionControllerTest.java1051 doReturn(SINGLE_SIM).when(mTelephonyManager).getActiveModemCount(); in testGetEnabledSubscriptionIdDualSIM()
1060 doReturn(2).when(mTelephonyManager).getActiveModemCount(); in testGetEnabledSubscriptionIdDualSIM()
DMultiSimSettingControllerTest.java112 doReturn(DUAL_SIM).when(mTelephonyManager).getActiveModemCount(); in setUp()
DPhoneSwitcherTest.java1124 doReturn(activeModemCount).when(mTelephonyManager).getActiveModemCount(); in setNumPhones()
DPhoneSubInfoControllerTest.java58 doReturn(2).when(mTelephonyManager).getActiveModemCount(); in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DCarrierTextControllerTest.java128 when(mTelephonyManager.getActiveModemCount()).thenReturn(3); in setUp()
184 when(mTelephonyManager.getActiveModemCount()).thenReturn(1); in testCardIOError()
/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/opt/telephony/src/java/com/android/internal/telephony/
DPhoneConfigurationManager.java284 return mTelephonyManager.getActiveModemCount(); in getPhoneCount()
DCarrierServiceBindHelper.java152 .getActiveModemCount(); in updateBindingsAndSimStates()
DPhoneFactory.java155 int numPhones = TelephonyManager.getDefault().getActiveModemCount(); in makeDefaultPhone()
DSubscriptionInfoUpdater.java242 for (int i = 0; i < TelephonyManager.getDefault().getActiveModemCount(); i++) { in isAllIccIdQueryDone()
361 Context.TELEPHONY_SERVICE)).getActiveModemCount(); in onMultiSimConfigChanged()
DMultiSimSettingController.java515 .getActiveModemCount() == 1)) { in updateDefaults()
DPhoneSwitcher.java346 mActiveModemCount = getTm().getActiveModemCount(); in PhoneSwitcher()
DSubscriptionController.java2425 int len = TelephonyManager.from(mContext).getActiveModemCount(); in setDefaultDataSubId()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DCarrierTextController.java189 for (int index = 0; index < getTelephonyManager().getActiveModemCount(); index++) { in updateCarrierTextWithSimIoError()
/frameworks/base/telephony/java/android/telephony/
DSubscriptionManager.java2146 return slotIndex >= 0 && slotIndex < TelephonyManager.getDefault().getActiveModemCount(); in isValidSlotIndex()
2152 return phoneId >= 0 && phoneId < TelephonyManager.getDefault().getActiveModemCount(); in isValidPhoneId()
DTelephonyManager.java411 return getActiveModemCount(); in getPhoneCount()
422 public int getActiveModemCount() { in getActiveModemCount() method in TelephonyManager
451 return TelephonyProperties.max_active_modems().orElse(getActiveModemCount()); in getSupportedModemCount()
/frameworks/base/services/core/java/com/android/server/
DTelephonyRegistry.java446 mNumPhones = getTelephonyManager().getActiveModemCount(); in onMultiSimConfigChanged()
549 int numPhones = getTelephonyManager().getActiveModemCount(); in TelephonyRegistry()
/frameworks/base/non-updatable-api/
Dcurrent.txt45871 method public int getActiveModemCount();
/frameworks/base/api/
Dcurrent.txt46015 method public int getActiveModemCount();