Searched refs:getSimCount (Results 1 – 13 of 13) sorted by relevance
224 public int getSimCount() { in getSimCount() method in TelephonyDevController242 if (index > getSimCount()) { in getSim()243 … loge("getSim: out-of-bounds access for sim device " + index + " max: " + getSimCount()); in getSim()262 if (simIndex > getSimCount()) { in getModemForSim()263 …loge("getModemForSim: out-of-bounds access for sim device " + simIndex + " max: " + getSimCount()); in getModemForSim()
290 if (subInfoLength > 0 && telephonyManager.getSimCount() > 1) { in isSmsSimPickActivityNeeded()
664 return mTelephonyManager.getSimCount(); in getActiveSubInfoCountMax()1483 || mTelephonyManager.getSimCount() == 1)) { in setDefaultFallbackSubId()
61 mSimCount = TelephonyManager.getDefault().getSimCount(); in getInstance()
206 int simCount = TelephonyManager.getDefault().getSimCount(); in getInstance()
79 doReturn(PHONE_COUNT).when(mTelephonyManager).getSimCount(); in setUp()
115 doReturn(1).when(mTelephonyManager).getSimCount(); in setUp()372 doReturn(2).when(mTelephonyManager).getSimCount(); in testDualSimLoaded()
146 doReturn(SINGLE_SIM).when(mTelephonyManager).getSimCount(); in setUp()
81 int count = TelephonyManager.getDefault().getSimCount(); in resetState()
122 int count = TelephonyManager.getDefault().getSimCount(); in reset()
1184 return slotIndex >= 0 && slotIndex < TelephonyManager.getDefault().getSimCount(); in isValidSlotIndex()
4281 public int getSimCount() { in getSimCount() method in TelephonyManager
420 if (TelephonyManager.getDefault().getSimCount() > 1) { in registerSettingsObserver()905 if (TelephonyManager.getDefault().getSimCount() == 1) { in onSetUserDataEnabled()2744 if (TelephonyManager.getDefault().getSimCount() == 1) { in getDataEnabled()2787 if (TelephonyManager.getDefault().getSimCount() == 1) { in setDataRoamingEnabled()2818 if (TelephonyManager.getDefault().getSimCount() == 1) { in getDataRoamingEnabled()