Searched refs:mMockSubInfo (Results 1 – 2 of 2) sorted by relevance
98 private SubscriptionInfo mMockSubInfo; field in TelephonyRegistryTest310 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 …]
174 private SubscriptionInfo mMockSubInfo; field in DataNetworkControllerTest865 mMockSubInfo = Mockito.mock(SubscriptionInfo.class); in setUp()897 infoList.add(mMockSubInfo); in setUp()