Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DSimSlotStateTest.java43 private UiccSlot mPhysicalSlot; field in SimSlotStateTest
55 mPhysicalSlot = mock(UiccSlot.class); in setUp()
67 doReturn(true).when(mPhysicalSlot).isActive(); in setUp()
68 doReturn(CardState.CARDSTATE_PRESENT).when(mPhysicalSlot).getCardState(); in setUp()
69 doReturn(false).when(mPhysicalSlot).isEuicc(); in setUp()
159 setupSingleSim(mPhysicalSlot); in testSingleSim_physicalSimCard()
175 doReturn(CardState.CARDSTATE_ERROR).when(mPhysicalSlot).getCardState(); in testSingleSim_physicalSimCardInErrorState()
176 setupSingleSim(mPhysicalSlot); in testSingleSim_physicalSimCardInErrorState()
192 doReturn(CardState.CARDSTATE_RESTRICTED).when(mPhysicalSlot).getCardState(); in testSingleSim_physicalSimCardInRestrictedState()
193 setupSingleSim(mPhysicalSlot); in testSingleSim_physicalSimCardInRestrictedState()
[all …]
DMetricsCollectorTest.java103 private UiccSlot mPhysicalSlot; field in MetricsCollectorTest
117 mPhysicalSlot = mock(UiccSlot.class); in setUp()
144 doReturn(true).when(mPhysicalSlot).isActive(); in onPullAtom_simSlotState_bothSimPresent()
145 doReturn(CardState.CARDSTATE_PRESENT).when(mPhysicalSlot).getCardState(); in onPullAtom_simSlotState_bothSimPresent()
146 doReturn(false).when(mPhysicalSlot).isEuicc(); in onPullAtom_simSlotState_bothSimPresent()
152 doReturn(new UiccSlot[] {mPhysicalSlot, mEsimSlot}).when(mUiccController).getUiccSlots(); in onPullAtom_simSlotState_bothSimPresent()
153 doReturn(mPhysicalSlot).when(mUiccController).getUiccSlot(eq(0)); in onPullAtom_simSlotState_bothSimPresent()
DVoiceCallSessionStatsTest.java111 private UiccSlot mPhysicalSlot; field in VoiceCallSessionStatsTest
159 mPhysicalSlot = mock(UiccSlot.class); in setUp()
187 doReturn(true).when(mPhysicalSlot).isActive(); in setUp()
188 doReturn(CardState.CARDSTATE_PRESENT).when(mPhysicalSlot).getCardState(); in setUp()
189 doReturn(false).when(mPhysicalSlot).isEuicc(); in setUp()
203 doReturn(new UiccSlot[] {mPhysicalSlot}).when(mUiccController).getUiccSlots(); in setUp()
204 doReturn(mPhysicalSlot).when(mUiccController).getUiccSlot(eq(0)); in setUp()
205 doReturn(mPhysicalSlot).when(mUiccController).getUiccSlotForPhone(eq(0)); in setUp()
609 doReturn(new UiccSlot[] {mPhysicalSlot, mEsimSlot}).when(mUiccController).getUiccSlots(); in singleImsCall_dsdsModeSingleSim()
656 doReturn(new UiccSlot[] {mPhysicalSlot, mEsimSlot}).when(mUiccController).getUiccSlots(); in singleImsCall_dsdsMode()
[all …]