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()
DCarrierActionAgent.java166 if (TelephonyManager.getDefault().getSimCount() != 1) { in handleMessage()
DUiccSmsController.java325 if (subInfoLength > 0 && telephonyManager.getSimCount() > 1) { in isSmsSimPickActivityNeeded()
DSubscriptionController.java734 return mTelephonyManager.getSimCount();
1793 || mTelephonyManager.getSimCount() == 1)) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataEnabledSettings.java127 if (TelephonyManager.getDefault().getSimCount() == 1 in getMobileDataSettingName()
DDcTracker.java310 if (TelephonyManager.getDefault().getSimCount() > 1) { in registerSettingsObserver()
2622 if (TelephonyManager.getDefault().getSimCount() == 1) { in setDataRoamingEnabledByUser()
2652 if (TelephonyManager.getDefault().getSimCount() == 1) { in getDataRoamingEnabled()
2694 if (TelephonyManager.getDefault().getSimCount() != 1) { in setDefaultDataRoamingEnabled()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DRilMessageDecoder.java61 mSimCount = TelephonyManager.getDefault().getSimCount(); in getInstance()
DCatService.java214 int simCount = TelephonyManager.getDefault().getSimCount(); in getInstance()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DUiccControllerTest.java84 doReturn(PHONE_COUNT).when(mTelephonyManager).getSimCount(); in setUp()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSubscriptionInfoUpdaterTest.java130 doReturn(1).when(mTelephonyManager).getSimCount(); in setUp()
376 doReturn(2).when(mTelephonyManager).getSimCount(); in testDualSimLoaded()
DSubscriptionControllerTest.java155 doReturn(SINGLE_SIM).when(mTelephonyManager).getSimCount(); in setUp()
DTelephonyTest.java464 doReturn(1).when(mTelephonyManager).getSimCount(); in setUp()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSimPinView.java122 int count = TelephonyManager.getDefault().getSimCount(); in showDefaultMessage()
DKeyguardSimPukView.java168 int count = TelephonyManager.getDefault().getSimCount(); in showDefaultMessage()
/frameworks/base/telephony/java/android/telephony/
DSubscriptionManager.java1488 return slotIndex >= 0 && slotIndex < TelephonyManager.getDefault().getSimCount(); in isValidSlotIndex()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DNetworkControllerImpl.java557 int simCount = mPhone.getSimCount(); in hasAnySim()
/frameworks/base/config/
Dhiddenapi-light-greylist.txt5592 Landroid/telephony/TelephonyManager;->getSimCount()I
Dboot-image-profile.txt30752 HSPLandroid/telephony/TelephonyManager;->getSimCount()I