Home
last modified time | relevance | path

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

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DTelephonyDevController.java225 public int getSimCount() { in getSimCount() method in TelephonyDevController
243 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()
DGlobalSettingsHelper.java89 if (TelephonyManager.from(context).getSimCount() > 1 in getSettingName()
DCarrierActionAgent.java170 if (TelephonyManager.getDefault().getSimCount() != 1) { in handleMessage()
DSmsController.java403 if (subInfoLength > 0 && telephonyManager.getSimCount() > 1) { in isSmsSimPickActivityNeeded()
DSubscriptionController.java805 return mTelephonyManager.getSimCount(); in getActiveSubInfoCountMax()
2316 || mTelephonyManager.getSimCount() == 1)) { in setDefaultFallbackSubId()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DRilMessageDecoder.java66 mSimCount = TelephonyManager.getDefault().getSimCount(); in getInstance()
DCatService.java224 int simCount = TelephonyManager.getDefault().getSimCount(); in getInstance()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSubscriptionControllerTest.java85 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()
DSubscriptionInfoUpdaterTest.java142 doReturn(1).when(mTelephonyManager).getSimCount(); in setUp()
414 doReturn(2).when(mTelephonyManager).getSimCount(); in testDualSimLoaded()
DTelephonyTest.java537 doReturn(1).when(mTelephonyManager).getSimCount(); in setUp()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSimPinView.java105 int count = TelephonyManager.getDefault().getSimCount(); in setLockedSimMessage()
DKeyguardSimPukView.java165 int count = TelephonyManager.getDefault().getSimCount(); in showDefaultMessage()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DUiccControllerTest.java100 doReturn(PHONE_COUNT).when(mTelephonyManager).getSimCount(); in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DNetworkControllerImpl.java625 int simCount = mPhone.getSimCount(); in hasAnySim()
/frameworks/base/telephony/java/android/telephony/
DSubscriptionManager.java2088 return slotIndex >= 0 && slotIndex < TelephonyManager.getDefault().getSimCount(); in isValidSlotIndex()
DTelephonyManager.java6395 public int getSimCount() { in getSimCount() method in TelephonyManager
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcTracker.java415 if (TelephonyManager.getDefault().getSimCount() > 1) { in registerSettingsObserver()
2503 if (mTelephonyManager.getSimCount() != 1) { in setDefaultDataRoamingEnabled()
/frameworks/base/config/
Dboot-image-profile.txt14379 HSPLandroid/telephony/TelephonyManager;->getSimCount()I