Searched refs:slotIdx (Results 1 - 5 of 5) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
H A DSubscriptionControllerMock.java120 public SubscriptionInfo getActiveSubscriptionInfoForSimSlotIndex(int slotIdx, String cp){ argument
181 private boolean isInvalidSlotId(int slotIdx) { argument
182 if (slotIdx < 0 || slotIdx >= mSlotIdxToSubId.length) return true;
187 public int[] getSubId(int slotIdx) { argument
188 if (isInvalidSlotId(slotIdx)) {
191 return mSlotIdxToSubId[slotIdx];
193 public void setSlotSubId(int slotIdx, int subId) { argument
194 if (isInvalidSlotId(slotIdx)) {
195 throw new RuntimeException("invalid slot specified" + slotIdx);
267 getSimStateForSlotIdx(int slotIdx) argument
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DISub.aidl55 * Get the active SubscriptionInfo associated with the slotIdx
56 * @param slotIdx the slot which the subscription is inserted
60 SubscriptionInfo getActiveSubscriptionInfoForSimSlotIndex(int slotIdx, String callingPackage);
183 int getSimStateForSlotIdx(int slotIdx);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DSubscriptionController.java468 * Get the active SubscriptionInfo associated with the slotIdx
469 * @param slotIdx the slot which the subscription is inserted
474 public SubscriptionInfo getActiveSubscriptionInfoForSimSlotIndex(int slotIdx, argument
487 if (si.getSimSlotIndex() == slotIdx) {
489 logd("[getActiveSubscriptionInfoForSimSlotIndex]+ slotIdx=" + slotIdx
496 logd("[getActiveSubscriptionInfoForSimSlotIndex]+ slotIdx=" + slotIdx
1138 public int[] getSubId(int slotIdx) { argument
1139 if (VDBG) printStackTrace("[getSubId]+ slotIdx
1236 getDummySubIds(int slotIdx) argument
1672 getSimStateForSlotIdx(int slotIdx) argument
[all...]
/frameworks/base/telephony/java/android/telephony/
H A DSubscriptionManager.java524 * Get the active SubscriptionInfo associated with the slotIdx
525 * @param slotIdx the slot which the subscription is inserted
528 public SubscriptionInfo getActiveSubscriptionInfoForSimSlotIndex(int slotIdx) { argument
529 if (VDBG) logd("[getActiveSubscriptionInfoForSimSlotIndex]+ slotIdx=" + slotIdx);
530 if (!isValidSlotId(slotIdx)) {
531 logd("[getActiveSubscriptionInfoForSimSlotIndex]- invalid slotIdx");
540 result = iSub.getActiveSubscriptionInfoForSimSlotIndex(slotIdx,
1233 * @param slotIdx
1247 public static int getSimStateForSlotIdx(int slotIdx) { argument
[all...]
H A DTelephonyManager.java1866 int slotIdx = getDefaultSim();
1867 // slotIdx may be invalid due to sim being absent. In that case query all slots to get
1869 if (slotIdx < 0) {
1875 Rlog.d(TAG, "getSimState: default sim:" + slotIdx + ", sim state for " +
1876 "slotIdx=" + i + " is " + simState + ", return state as unknown");
1880 Rlog.d(TAG, "getSimState: default sim:" + slotIdx + ", all SIMs absent, return " +
1884 return getSimState(slotIdx);
1890 * @param slotIdx
1903 public int getSimState(int slotIdx) { argument
1904 int simState = SubscriptionManager.getSimStateForSlotIdx(slotIdx);
[all...]

Completed in 495 milliseconds