Lines Matching defs:slotIdx
463 * Get the active SubscriptionInfo associated with the slotIdx
464 * @param slotIdx the slot which the subscription is inserted
469 public SubscriptionInfo getActiveSubscriptionInfoForSimSlotIndex(int slotIdx,
482 if (si.getSimSlotIndex() == slotIdx) {
484 logd("[getActiveSubscriptionInfoForSimSlotIndex]+ slotIdx=" + slotIdx
491 logd("[getActiveSubscriptionInfoForSimSlotIndex]+ slotIdx=" + slotIdx
1134 public int[] getSubId(int slotIdx) {
1135 if (VDBG) printStackTrace("[getSubId]+ slotIdx=" + slotIdx);
1137 // Map default slotIdx to the current default subId.
1142 if (slotIdx == SubscriptionManager.DEFAULT_SIM_SLOT_INDEX) {
1143 slotIdx = getSlotId(getDefaultSubId());
1144 if (DBG) logd("[getSubId] map default slotIdx=" + slotIdx);
1148 if (!SubscriptionManager.isValidSlotId(slotIdx)) {
1149 if (DBG) logd("[getSubId]- invalid slotIdx=" + slotIdx);
1157 logd("[getSubId]- sSlotIdxToSubId.size == 0, return DummySubIds slotIdx="
1158 + slotIdx);
1160 return getDummySubIds(slotIdx);
1168 if (slotIdx == slot) {
1183 if (DBG) logd("[getSubId]- numSubIds == 0, return DummySubIds slotIdx=" + slotIdx);
1184 return getDummySubIds(slotIdx);
1232 private int[] getDummySubIds(int slotIdx) {
1241 dummyValues[i] = SubscriptionManager.DUMMY_SUBSCRIPTION_ID_BASE - slotIdx;
1244 logd("getDummySubIds: slotIdx=" + slotIdx
1669 public int getSimStateForSlotIdx(int slotIdx) {
1672 if (slotIdx < 0) {
1674 err = "invalid slotIdx";
1676 Phone phone = PhoneFactory.getPhone(slotIdx);