Home
last modified time | relevance | path

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

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DTelephonyDevController.java224 public int getSimCount() { in getSimCount() method in TelephonyDevController
242 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()
DUiccSmsController.java290 if (subInfoLength > 0 && telephonyManager.getSimCount() > 1) { in isSmsSimPickActivityNeeded()
DSubscriptionController.java664 return mTelephonyManager.getSimCount(); in getActiveSubInfoCountMax()
1483 || mTelephonyManager.getSimCount() == 1)) { in setDefaultFallbackSubId()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DRilMessageDecoder.java61 mSimCount = TelephonyManager.getDefault().getSimCount(); in getInstance()
DCatService.java206 int simCount = TelephonyManager.getDefault().getSimCount(); in getInstance()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DUiccControllerTest.java79 doReturn(PHONE_COUNT).when(mTelephonyManager).getSimCount(); in setUp()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSubscriptionInfoUpdaterTest.java115 doReturn(1).when(mTelephonyManager).getSimCount(); in setUp()
372 doReturn(2).when(mTelephonyManager).getSimCount(); in testDualSimLoaded()
DSubscriptionControllerTest.java146 doReturn(SINGLE_SIM).when(mTelephonyManager).getSimCount(); in setUp()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSimPinView.java81 int count = TelephonyManager.getDefault().getSimCount(); in resetState()
DKeyguardSimPukView.java122 int count = TelephonyManager.getDefault().getSimCount(); in reset()
/frameworks/base/telephony/java/android/telephony/
DSubscriptionManager.java1184 return slotIndex >= 0 && slotIndex < TelephonyManager.getDefault().getSimCount(); in isValidSlotIndex()
DTelephonyManager.java4281 public int getSimCount() { in getSimCount() method in TelephonyManager
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcTracker.java420 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()