Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DSimSlotStateTest.java44 private UiccSlot mEsimSlot; field in SimSlotStateTest
56 mEsimSlot = mock(UiccSlot.class); in setUp()
71 doReturn(true).when(mEsimSlot).isActive(); in setUp()
72 doReturn(CardState.CARDSTATE_PRESENT).when(mEsimSlot).getCardState(); in setUp()
73 doReturn(true).when(mEsimSlot).isEuicc(); in setUp()
210 doReturn(null).when(mEsimSlot).getUiccCard(); in testSingleSim_esimCardWithNullCard()
211 setupSingleSim(mEsimSlot); in testSingleSim_esimCardWithNullCard()
227 doReturn(mInactiveCard).when(mEsimSlot).getUiccCard(); in testSingleSim_esimCardWithoutProfile()
228 setupSingleSim(mEsimSlot); in testSingleSim_esimCardWithoutProfile()
244 doReturn(mActiveCard).when(mEsimSlot).getUiccCard(); in testSingleSim_esimCardWithProfile()
[all …]
DMetricsCollectorTest.java104 private UiccSlot mEsimSlot; field in MetricsCollectorTest
118 mEsimSlot = mock(UiccSlot.class); in setUp()
147 doReturn(true).when(mEsimSlot).isActive(); in onPullAtom_simSlotState_bothSimPresent()
148 doReturn(CardState.CARDSTATE_PRESENT).when(mEsimSlot).getCardState(); in onPullAtom_simSlotState_bothSimPresent()
149 doReturn(true).when(mEsimSlot).isEuicc(); in onPullAtom_simSlotState_bothSimPresent()
150 doReturn(mActiveCard).when(mEsimSlot).getUiccCard(); in onPullAtom_simSlotState_bothSimPresent()
152 doReturn(new UiccSlot[] {mPhysicalSlot, mEsimSlot}).when(mUiccController).getUiccSlots(); in onPullAtom_simSlotState_bothSimPresent()
154 doReturn(mEsimSlot).when(mUiccController).getUiccSlot(eq(1)); in onPullAtom_simSlotState_bothSimPresent()
DVoiceCallSessionStatsTest.java112 private UiccSlot mEsimSlot; field in VoiceCallSessionStatsTest
160 mEsimSlot = mock(UiccSlot.class); in setUp()
192 doReturn(true).when(mEsimSlot).isActive(); in setUp()
193 doReturn(CardState.CARDSTATE_PRESENT).when(mEsimSlot).getCardState(); in setUp()
194 doReturn(true).when(mEsimSlot).isEuicc(); in setUp()
607 doReturn(mInactiveCard).when(mEsimSlot).getUiccCard(); in singleImsCall_dsdsModeSingleSim()
609 doReturn(new UiccSlot[] {mPhysicalSlot, mEsimSlot}).when(mUiccController).getUiccSlots(); in singleImsCall_dsdsModeSingleSim()
610 doReturn(mEsimSlot).when(mUiccController).getUiccSlot(eq(1)); in singleImsCall_dsdsModeSingleSim()
611 doReturn(mEsimSlot).when(mUiccController).getUiccSlotForPhone(eq(1)); in singleImsCall_dsdsModeSingleSim()
654 doReturn(mActiveCard).when(mEsimSlot).getUiccCard(); in singleImsCall_dsdsMode()
[all …]