Lines Matching refs:slotIdx

468      * Get the active SubscriptionInfo associated with the slotIdx
469 * @param slotIdx the slot which the subscription is inserted
474 public SubscriptionInfo getActiveSubscriptionInfoForSimSlotIndex(int slotIdx,
487 if (si.getSimSlotIndex() == slotIdx) {
489 logd("[getActiveSubscriptionInfoForSimSlotIndex]+ slotIdx=" + slotIdx
496 logd("[getActiveSubscriptionInfoForSimSlotIndex]+ slotIdx=" + slotIdx
1138 public int[] getSubId(int slotIdx) {
1139 if (VDBG) printStackTrace("[getSubId]+ slotIdx=" + slotIdx);
1141 // Map default slotIdx to the current default subId.
1146 if (slotIdx == SubscriptionManager.DEFAULT_SIM_SLOT_INDEX) {
1147 slotIdx = getSlotId(getDefaultSubId());
1148 if (VDBG) logd("[getSubId] map default slotIdx=" + slotIdx);
1152 if (!SubscriptionManager.isValidSlotId(slotIdx)) {
1153 if (DBG) logd("[getSubId]- invalid slotIdx=" + slotIdx);
1161 logd("[getSubId]- sSlotIdxToSubId.size == 0, return DummySubIds slotIdx="
1162 + slotIdx);
1164 return getDummySubIds(slotIdx);
1172 if (slotIdx == slot) {
1187 if (DBG) logd("[getSubId]- numSubIds == 0, return DummySubIds slotIdx=" + slotIdx);
1188 return getDummySubIds(slotIdx);
1236 private int[] getDummySubIds(int slotIdx) {
1245 dummyValues[i] = SubscriptionManager.DUMMY_SUBSCRIPTION_ID_BASE - slotIdx;
1248 logd("getDummySubIds: slotIdx=" + slotIdx
1672 public int getSimStateForSlotIdx(int slotIdx) {
1675 if (slotIdx < 0) {
1677 err = "invalid slotIdx";
1679 Phone phone = PhoneFactory.getPhone(slotIdx);
1696 + " ordinal=" + simState.ordinal() + " slotIdx=" + slotIdx);