Home
last modified time | relevance | path

Searched refs:mSlotIndexToSubId (Results 1 – 1 of 1) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
DSubscriptionControllerMock.java46 final int[][] mSlotIndexToSubId; field in SubscriptionControllerMock
61 mSlotIndexToSubId = new int[phoneCount][]; in SubscriptionControllerMock()
63 mSlotIndexToSubId[i] = new int[1]; in SubscriptionControllerMock()
64 mSlotIndexToSubId[i][0] = INVALID_SUBSCRIPTION_ID; in SubscriptionControllerMock()
181 if (slotIndex < 0 || slotIndex >= mSlotIndexToSubId.length) return true; in isInvalidslotIndex()
190 return mSlotIndexToSubId[slotIndex]; in getSubId()
196 if (mSlotIndexToSubId[slotIndex][0] != subId) { in setSlotSubId()
197 mSlotIndexToSubId[slotIndex][0] = subId; in setSlotSubId()
211 for (int i = 0; i < mSlotIndexToSubId.length; i++) { in getPhoneId()
212 if (mSlotIndexToSubId[i][0] == subId) return i; in getPhoneId()