Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DSimSlotStateTest.java77 assertEquals(0, state.numActiveSlots); in testEmptySlots()
89 assertEquals(0, state.numActiveSlots); in testSingleSim_nullSlot()
101 assertEquals(0, state.numActiveSlots); in testSingleSim_inactiveSlot()
113 assertEquals(1, state.numActiveSlots); in testSingleSim_noSimCard()
126 assertEquals(1, state.numActiveSlots); in testSingleSim_physicalSimCard()
139 assertEquals(1, state.numActiveSlots); in testSingleSim_physicalSimCardInErrorState()
153 assertEquals(1, state.numActiveSlots); in testSingleSim_physicalSimCardInRestrictedState()
166 assertEquals(1, state.numActiveSlots); in testSingleSim_esimCardWithNullCard()
179 assertEquals(1, state.numActiveSlots); in testSingleSim_esimCardWithoutProfile()
192 assertEquals(1, state.numActiveSlots); in testSingleSim_esimCardWithProfile()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DSimSlotState.java26 public final int numActiveSlots; field in SimSlotState
32 int numActiveSlots = 0; in getCurrentState() local
40 numActiveSlots++; in getCurrentState()
57 return new SimSlotState(numActiveSlots, numActiveSims, numActiveEsims); in getCurrentState()
60 private SimSlotState(int numActiveSlots, int numActiveSims, int numActiveEsims) { in SimSlotState() argument
61 this.numActiveSlots = numActiveSlots; in SimSlotState()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccController.java928 int numActiveSlots = 0; in onGetSlotStatusDone() local
944 numActiveSlots++; in onGetSlotStatusDone()
1056 if (numActiveSlots != mPhoneIdToSlotId.length) { in onGetSlotStatusDone()
1057 Rlog.e(LOG_TAG, "Number of active slots " + numActiveSlots in onGetSlotStatusDone()