Searched refs:slotInfo (Results 1 – 7 of 7) sorted by relevance
52 UiccSlotInfo slotInfo = slotsInfo[i]; in getAvailableSubscriptions() local53 if (isInactiveInsertedPSim(slotInfo)) { in getAvailableSubscriptions()54 int index = slotInfo.getLogicalSlotIdx(); in getAvailableSubscriptions()55 String cardId = slotInfo.getCardId(); in getAvailableSubscriptions()61 missing.add(slotInfo); in getAvailableSubscriptions()67 for (UiccSlotInfo slotInfo : missing) { in getAvailableSubscriptions()68 if (info.getSimSlotIndex() == slotInfo.getLogicalSlotIdx() in getAvailableSubscriptions()69 && info.getCardString().equals(slotInfo.getCardId())) { in getAvailableSubscriptions()89 private static boolean isInactiveInsertedPSim(UiccSlotInfo slotInfo) { in isInactiveInsertedPSim() argument90 return slotInfo != null && !slotInfo.getIsEuicc() && !slotInfo.getIsActive() in isInactiveInsertedPSim()[all …]
56 UiccSlotInfo [] slotInfo = mTelephonyManager.getUiccSlotsInfo(); in call() local57 if (slotInfo == null) { in call()61 return new AtomicIntegerArray(Arrays.stream(slotInfo) in call()68 protected boolean filterSlot(UiccSlotInfo slotInfo) { in filterSlot() argument72 if (slotInfo == null) { in filterSlot()75 return slotInfo.getIsActive(); in filterSlot()78 protected int mapToSlotIndex(UiccSlotInfo slotInfo) { in mapToSlotIndex() argument79 if (slotInfo == null) { in mapToSlotIndex()82 if (slotInfo.getCardStateInfo() == UiccSlotInfo.CARD_STATE_INFO_ABSENT) { in mapToSlotIndex()85 return slotInfo.getLogicalSlotIdx(); in mapToSlotIndex()
100 UiccSlotInfo slotInfo = slotInfos[i]; in isSimSlotStateValid() local102 if (slotInfo == null) { in isSimSlotStateValid()109 if (slotInfo.getCardStateInfo() == UiccSlotInfo.CARD_STATE_INFO_ERROR in isSimSlotStateValid()110 || slotInfo.getCardStateInfo() == UiccSlotInfo.CARD_STATE_INFO_RESTRICTED) { in isSimSlotStateValid()111 Log.i(TAG, "The SIM state is in an error. Drop the event. SIM info: " + slotInfo); in isSimSlotStateValid()119 if (!TextUtils.isEmpty(slotInfo.getCardId()) in isSimSlotStateValid()
262 for (UiccSlotInfo slotInfo : slotInfos) { in getRemovableUiccSlotInfo()263 if (slotInfo != null && slotInfo.isRemovable()) { in getRemovableUiccSlotInfo()265 return slotInfo; in getRemovableUiccSlotInfo()
86 static boolean isInactiveInsertedPSim(UiccSlotInfo slotInfo) { in isInactiveInsertedPSim() argument87 if (slotInfo == null) { in isInactiveInsertedPSim()90 return !slotInfo.getIsEuicc() && !slotInfo.getIsActive() && in isInactiveInsertedPSim()91 slotInfo.getCardStateInfo() == CARD_STATE_INFO_PRESENT; in isInactiveInsertedPSim()180 for (UiccSlotInfo slotInfo : slotsInfo) { in isPrimarySubscriptionWithinSameUuid()181 if ((slotInfo != null) && (!slotInfo.getIsEuicc()) in isPrimarySubscriptionWithinSameUuid()182 && (slotInfo.getLogicalSlotIdx() == subInfo.getSimSlotIndex())) { in isPrimarySubscriptionWithinSameUuid()
172 for (UiccSlotInfo slotInfo : slotsInfo) { in getActiveSlotsCount()173 if (slotInfo != null && slotInfo.getIsActive()) { in getActiveSlotsCount()
66 UiccSlotInfo slotInfo = createUuicSlotInfo(/* isActive= */ false, /* isEsim= */ false, in getAvailableSubscriptions_hasSimSlotNotInSubscriptionManager_valueReturned() local70 when(telephonyManager.getUiccSlotsInfo()).thenReturn(new UiccSlotInfo[]{slotInfo}); in getAvailableSubscriptions_hasSimSlotNotInSubscriptionManager_valueReturned()