Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyRegistryTest.java98 private SubscriptionInfo mMockSubInfo; field in TelephonyRegistryTest
310 mMockSubInfo = mock(SubscriptionInfo.class); in setUp()
359 doReturn(mMockSubInfo).when(mSubscriptionManager).getActiveSubscriptionInfo(anyInt()); in testPhoneCapabilityChanged()
360 doReturn(0/*slotIndex*/).when(mMockSubInfo).getSimSlotIndex(); in testPhoneCapabilityChanged()
407 doReturn(mMockSubInfo).when(mSubscriptionManager).getActiveSubscriptionInfo(anyInt()); in testSrvccStateChanged()
408 doReturn(0/*slotIndex*/).when(mMockSubInfo).getSimSlotIndex(); in testSrvccStateChanged()
435 doReturn(mMockSubInfo).when(mSubscriptionManager).getActiveSubscriptionInfo(anyInt()); in testSrvccStateChangedWithRenouncedLocationAccess()
436 doReturn(0/*slotIndex*/).when(mMockSubInfo).getSimSlotIndex(); in testSrvccStateChangedWithRenouncedLocationAccess()
464 doReturn(mMockSubInfo).when(mSubscriptionManager).getActiveSubscriptionInfo(anyInt()); in testSrvccStateChangedWithRenouncedFineLocationAccess()
465 doReturn(0/*slotIndex*/).when(mMockSubInfo).getSimSlotIndex(); in testSrvccStateChangedWithRenouncedFineLocationAccess()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/
DDataNetworkControllerTest.java174 private SubscriptionInfo mMockSubInfo; field in DataNetworkControllerTest
865 mMockSubInfo = Mockito.mock(SubscriptionInfo.class); in setUp()
897 infoList.add(mMockSubInfo); in setUp()