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.java974 if (!isValidPhoneIndex(iss.logicalSlotIndex)) { in onGetSlotStatusDone()
975 Rlog.e(LOG_TAG, "Skipping slot " + i + " as phone " + iss.logicalSlotIndex in onGetSlotStatusDone()
978 mPhoneIdToSlotId[iss.logicalSlotIndex] = i; in onGetSlotStatusDone()
989 if (!isValidPhoneIndex(iss.logicalSlotIndex)) { in onGetSlotStatusDone()
992 mUiccSlots[i].update(isActive ? mCis[iss.logicalSlotIndex] : null, iss, in onGetSlotStatusDone()
DUiccSlot.java166 mPhoneId = iss.logicalSlotIndex; in update()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DUiccSlotTest.java111 iss.logicalSlotIndex = 0; in testUpdateInactiveSlotStatus()
144 iss.logicalSlotIndex = phoneId; in testUpdateActiveSlotStatus()
171 iss.logicalSlotIndex = 0; in testUpdateSlotStatusEuiccIsSupported()
206 iss.logicalSlotIndex = 0; in testUpdateSlotStatusEuiccIsNotSupported()
255 activeIss.logicalSlotIndex = 0; in testUpdateAbsentStateInactiveSlotStatus()
260 inactiveIss.logicalSlotIndex = 0; in testUpdateAbsentStateInactiveSlotStatus()
276 activeIss.logicalSlotIndex, inactiveIss.iccid); in testUpdateAbsentStateInactiveSlotStatus()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRadioConfig.java603 iccSlotStatus.logicalSlotIndex = slotStatus.logicalSlotId; in convertHalSlotStatus()
618 iccSlotStatus.logicalSlotIndex = slotStatus.base.logicalSlotId; in convertHalSlotStatus_1_2()
DSubscriptionController.java4106 int logicalSlotIndex = getSlotIndex(subId); in getPhysicalSlotIndex() local
4108 boolean isLogicalSlotIndexValid = SubscriptionManager.isValidSlotIndex(logicalSlotIndex); in getPhysicalSlotIndex()
4115 if ((isLogicalSlotIndexValid && slotInfos[i].getLogicalSlotIdx() == logicalSlotIndex) in getPhysicalSlotIndex()
4125 private int getPhysicalSlotIndexFromLogicalSlotIndex(int logicalSlotIndex) { in getPhysicalSlotIndexFromLogicalSlotIndex() argument
4129 if (slotInfos[i].getLogicalSlotIdx() == logicalSlotIndex) { in getPhysicalSlotIndexFromLogicalSlotIndex()
4174 public int getEnabledSubscriptionId(int logicalSlotIndex) { in getEnabledSubscriptionId() argument
4180 if (!SubscriptionManager.isValidPhoneId(logicalSlotIndex)) { in getEnabledSubscriptionId()
4183 + logicalSlotIndex); in getEnabledSubscriptionId()
4187 int physicalSlotIndex = getPhysicalSlotIndexFromLogicalSlotIndex(logicalSlotIndex); in getEnabledSubscriptionId()
4206 subId = getSubIdUsingPhoneId(logicalSlotIndex); in getEnabledSubscriptionId()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSubscriptionControllerTest.java1796 private UiccSlotInfo getFakeUiccSlotInfo(boolean active, int logicalSlotIndex) { in getFakeUiccSlotInfo() argument
1797 return getFakeUiccSlotInfo(active, logicalSlotIndex, "fake card Id"); in getFakeUiccSlotInfo()
1800 private UiccSlotInfo getFakeUiccSlotInfo(boolean active, int logicalSlotIndex, String cardId) { in getFakeUiccSlotInfo() argument
1802 UiccSlotInfo.CARD_STATE_INFO_PRESENT, logicalSlotIndex, true, true); in getFakeUiccSlotInfo()