Home
last modified time | relevance | path

Searched refs:logicalSlotIndex (Results 1 – 7 of 7) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DIccSlotStatus.java34 public int logicalSlotIndex; field in IccSlotStatus
82 .append("logicalSlotIndex=").append(logicalSlotIndex).append(",") in toString()
103 && (logicalSlotIndex == that.logicalSlotIndex) in equals()
DUiccController.java826 if (!isValidPhoneIndex(iss.logicalSlotIndex)) { in onGetSlotStatusDone()
827 Rlog.e(LOG_TAG, "Skipping slot " + i + " as phone " + iss.logicalSlotIndex in onGetSlotStatusDone()
831 mPhoneIdToSlotId[iss.logicalSlotIndex] = i; in onGetSlotStatusDone()
842 if (!isValidPhoneIndex(iss.logicalSlotIndex)) { in onGetSlotStatusDone()
845 mUiccSlots[i].update(isActive ? mCis[iss.logicalSlotIndex] : null, iss, in onGetSlotStatusDone()
DUiccSlot.java163 mPhoneId = iss.logicalSlotIndex; in update()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DUiccSlotTest.java110 iss.logicalSlotIndex = 0; in testUpdateInactiveSlotStatus()
143 iss.logicalSlotIndex = phoneId; in testUpdateActiveSlotStatus()
170 iss.logicalSlotIndex = 0; in testUpdateSlotStatusEuiccIsSupported()
205 iss.logicalSlotIndex = 0; in testUpdateSlotStatusEuiccIsNotSupported()
254 activeIss.logicalSlotIndex = 0; in testUpdateAbsentStateInactiveSlotStatus()
259 inactiveIss.logicalSlotIndex = 0; in testUpdateAbsentStateInactiveSlotStatus()
275 IccCardConstants.INTENT_VALUE_ICC_ABSENT, null, activeIss.logicalSlotIndex, true); in testUpdateAbsentStateInactiveSlotStatus()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRadioConfig.java466 iccSlotStatus.logicalSlotIndex = slotStatus.logicalSlotId; in convertHalSlotStatus()
481 iccSlotStatus.logicalSlotIndex = slotStatus.base.logicalSlotId; in convertHalSlotStatus_1_2()
DSubscriptionController.java3414 int logicalSlotIndex = getSlotIndex(subId); in getPhysicalSlotIndex() local
3416 boolean isLogicalSlotIndexValid = SubscriptionManager.isValidSlotIndex(logicalSlotIndex); in getPhysicalSlotIndex()
3423 if ((isLogicalSlotIndexValid && slotInfos[i].getLogicalSlotIdx() == logicalSlotIndex) in getPhysicalSlotIndex()
3433 private int getPhysicalSlotIndexFromLogicalSlotIndex(int logicalSlotIndex) { in getPhysicalSlotIndexFromLogicalSlotIndex() argument
3437 if (slotInfos[i].getLogicalSlotIdx() == logicalSlotIndex) { in getPhysicalSlotIndexFromLogicalSlotIndex()
3482 public int getEnabledSubscriptionId(int logicalSlotIndex) { in getEnabledSubscriptionId() argument
3488 if (!SubscriptionManager.isValidPhoneId(logicalSlotIndex)) { in getEnabledSubscriptionId()
3491 + logicalSlotIndex); in getEnabledSubscriptionId()
3495 int physicalSlotIndex = getPhysicalSlotIndexFromLogicalSlotIndex(logicalSlotIndex); in getEnabledSubscriptionId()
3514 subId = getSubIdUsingPhoneId(logicalSlotIndex); in getEnabledSubscriptionId()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSubscriptionControllerTest.java989 private UiccSlotInfo getFakeUiccSlotInfo(boolean active, int logicalSlotIndex) { in getFakeUiccSlotInfo() argument
991 UiccSlotInfo.CARD_STATE_INFO_PRESENT, logicalSlotIndex, true, true); in getFakeUiccSlotInfo()