Home
last modified time | relevance | path

Searched refs:getSimCount (Results 1 – 11 of 11) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DTelephonyDevController.java221 public int getSimCount() { in getSimCount() method in TelephonyDevController
239 if (index > getSimCount()) { in getSim()
240 … loge("getSim: out-of-bounds access for sim device " + index + " max: " + getSimCount()); in getSim()
259 if (simIndex > getSimCount()) { in getModemForSim()
260 …loge("getModemForSim: out-of-bounds access for sim device " + simIndex + " max: " + getSimCount()); in getModemForSim()
DGlobalSettingsHelper.java89 if (TelephonyManager.from(context).getSimCount() > 1 in getSettingName()
DCarrierActionAgent.java170 if (TelephonyManager.getDefault().getSimCount() != 1) { in handleMessage()
DSmsController.java439 if (subInfoLength > 1 && telephonyManager.getSimCount() > 1) { in isSmsSimPickActivityNeeded()
DSubscriptionController.java1042 return mTelephonyManager.getSimCount(); in getActiveSubInfoCountMax()
2639 || mTelephonyManager.getSimCount() == 1)) { in setDefaultFallbackSubId()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSubscriptionControllerTest.java106 doReturn(SINGLE_SIM).when(mTelephonyManager).getSimCount(); in setUp()
671 doReturn(10).when(mTelephonyManager).getSimCount(); in makeThisDeviceMultiSimCapable()
1486 doReturn(SINGLE_SIM).when(mTelephonyManager).getSimCount(); in testGetEnabledSubscriptionIdDualSIM()
DTelephonyTest.java618 doReturn(1).when(mTelephonyManager).getSimCount(); in setUp()
DSubscriptionInfoUpdaterTest.java138 doReturn(1).when(mTelephonyManager).getSimCount(); in setUp()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DUiccControllerTest.java97 doReturn(PHONE_COUNT).when(mTelephonyManager).getSimCount(); in setUp()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcTracker.java434 if (TelephonyManager.getDefault().getSimCount() > 1) { in registerSettingsObserver()
2625 if (mTelephonyManager.getSimCount() != 1) { in setDefaultDataRoamingEnabled()
/frameworks/base/telephony/java/android/telephony/
DTelephonyManager.java7178 public int getSimCount() { in getSimCount() method in TelephonyManager