Searched refs:getSimCount (Results 1 – 18 of 18) sorted by relevance
225 public int getSimCount() { in getSimCount() method in TelephonyDevController243 if (index > getSimCount()) { in getSim()244 … loge("getSim: out-of-bounds access for sim device " + index + " max: " + getSimCount()); in getSim()263 if (simIndex > getSimCount()) { in getModemForSim()264 …loge("getModemForSim: out-of-bounds access for sim device " + simIndex + " max: " + getSimCount()); in getModemForSim()
89 if (TelephonyManager.from(context).getSimCount() > 1 in getSettingName()
170 if (TelephonyManager.getDefault().getSimCount() != 1) { in handleMessage()
403 if (subInfoLength > 0 && telephonyManager.getSimCount() > 1) { in isSmsSimPickActivityNeeded()
805 return mTelephonyManager.getSimCount(); in getActiveSubInfoCountMax()2316 || mTelephonyManager.getSimCount() == 1)) { in setDefaultFallbackSubId()
66 mSimCount = TelephonyManager.getDefault().getSimCount(); in getInstance()
224 int simCount = TelephonyManager.getDefault().getSimCount(); in getInstance()
85 doReturn(SINGLE_SIM).when(mTelephonyManager).getSimCount(); in setUp()640 doReturn(10).when(mTelephonyManager).getSimCount(); in makeThisDeviceMultiSimCapable()963 doReturn(SINGLE_SIM).when(mTelephonyManager).getSimCount(); in testGetEnabledSubscriptionIdDualSIM()
142 doReturn(1).when(mTelephonyManager).getSimCount(); in setUp()414 doReturn(2).when(mTelephonyManager).getSimCount(); in testDualSimLoaded()
537 doReturn(1).when(mTelephonyManager).getSimCount(); in setUp()
105 int count = TelephonyManager.getDefault().getSimCount(); in setLockedSimMessage()
165 int count = TelephonyManager.getDefault().getSimCount(); in showDefaultMessage()
100 doReturn(PHONE_COUNT).when(mTelephonyManager).getSimCount(); in setUp()
625 int simCount = mPhone.getSimCount(); in hasAnySim()
2088 return slotIndex >= 0 && slotIndex < TelephonyManager.getDefault().getSimCount(); in isValidSlotIndex()
6395 public int getSimCount() { in getSimCount() method in TelephonyManager
415 if (TelephonyManager.getDefault().getSimCount() > 1) { in registerSettingsObserver()2503 if (mTelephonyManager.getSimCount() != 1) { in setDefaultDataRoamingEnabled()
14379 HSPLandroid/telephony/TelephonyManager;->getSimCount()I