Searched refs:slotIdx (Results 1 – 5 of 5) sorted by relevance
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/ |
D | SubscriptionControllerMock.java | 120 public SubscriptionInfo getActiveSubscriptionInfoForSimSlotIndex(int slotIdx, String cp){ in getActiveSubscriptionInfoForSimSlotIndex() argument 181 private boolean isInvalidSlotId(int slotIdx) { in isInvalidSlotId() argument 182 if (slotIdx < 0 || slotIdx >= mSlotIdxToSubId.length) return true; in isInvalidSlotId() 187 public int[] getSubId(int slotIdx) { in getSubId() argument 188 if (isInvalidSlotId(slotIdx)) { in getSubId() 191 return mSlotIdxToSubId[slotIdx]; in getSubId() 193 public void setSlotSubId(int slotIdx, int subId) { in setSlotSubId() argument 194 if (isInvalidSlotId(slotIdx)) { in setSlotSubId() 195 throw new RuntimeException("invalid slot specified" + slotIdx); in setSlotSubId() 197 if (mSlotIdxToSubId[slotIdx][0] != subId) { in setSlotSubId() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | SubscriptionController.java | 479 public SubscriptionInfo getActiveSubscriptionInfoForSimSlotIndex(int slotIdx, in getActiveSubscriptionInfoForSimSlotIndex() argument 492 if (si.getSimSlotIndex() == slotIdx) { in getActiveSubscriptionInfoForSimSlotIndex() 494 logd("[getActiveSubscriptionInfoForSimSlotIndex]+ slotIdx=" + slotIdx in getActiveSubscriptionInfoForSimSlotIndex() 501 logd("[getActiveSubscriptionInfoForSimSlotIndex]+ slotIdx=" + slotIdx in getActiveSubscriptionInfoForSimSlotIndex() 1184 public int[] getSubId(int slotIdx) { in getSubId() argument 1185 if (VDBG) printStackTrace("[getSubId]+ slotIdx=" + slotIdx); in getSubId() 1192 if (slotIdx == SubscriptionManager.DEFAULT_SIM_SLOT_INDEX) { in getSubId() 1193 slotIdx = getSlotId(getDefaultSubId()); in getSubId() 1194 if (VDBG) logd("[getSubId] map default slotIdx=" + slotIdx); in getSubId() 1198 if (!SubscriptionManager.isValidSlotId(slotIdx)) { in getSubId() [all …]
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | ISub.aidl | 60 SubscriptionInfo getActiveSubscriptionInfoForSimSlotIndex(int slotIdx, String callingPackage); in getActiveSubscriptionInfoForSimSlotIndex() argument 194 int getSimStateForSlotIdx(int slotIdx); in getSimStateForSlotIdx() argument
|
/frameworks/base/telephony/java/android/telephony/ |
D | SubscriptionManager.java | 541 public SubscriptionInfo getActiveSubscriptionInfoForSimSlotIndex(int slotIdx) { in getActiveSubscriptionInfoForSimSlotIndex() argument 542 if (VDBG) logd("[getActiveSubscriptionInfoForSimSlotIndex]+ slotIdx=" + slotIdx); in getActiveSubscriptionInfoForSimSlotIndex() 543 if (!isValidSlotId(slotIdx)) { in getActiveSubscriptionInfoForSimSlotIndex() 553 result = iSub.getActiveSubscriptionInfoForSimSlotIndex(slotIdx, in getActiveSubscriptionInfoForSimSlotIndex() 1294 public static int getSimStateForSlotIdx(int slotIdx) { in getSimStateForSlotIdx() argument 1300 simState = iSub.getSimStateForSlotIdx(slotIdx); in getSimStateForSlotIdx()
|
D | TelephonyManager.java | 1804 int slotIdx = getDefaultSim(); in getSimState() local 1807 if (slotIdx < 0) { in getSimState() 1813 Rlog.d(TAG, "getSimState: default sim:" + slotIdx + ", sim state for " + in getSimState() 1818 Rlog.d(TAG, "getSimState: default sim:" + slotIdx + ", all SIMs absent, return " + in getSimState() 1822 return getSimState(slotIdx); in getSimState() 1841 public int getSimState(int slotIdx) { in getSimState() argument 1842 int simState = SubscriptionManager.getSimStateForSlotIdx(slotIdx); in getSimState()
|