Searched refs:mockSubInfo (Results 1 – 7 of 7) sorted by relevance
235 SubscriptionInfo mockSubInfo = mock(SubscriptionInfo.class); in testGetResources() local236 doReturn(mockSubInfo).when(mockSubManager).getActiveSubscriptionInfo(anyInt()); in testGetResources()237 doReturn(0).when(mockSubInfo).getMcc(); in testGetResources()238 doReturn(0).when(mockSubInfo).getMnc(); in testGetResources()249 doReturn(123).when(mockSubInfo).getMcc(); in testGetResources()250 doReturn(456).when(mockSubInfo).getMnc(); in testGetResources()339 SubscriptionInfo mockSubInfo = mock(SubscriptionInfo.class); in testDisabledExtremeToggle() local340 doReturn(mockSubInfo).when(mockSubManager).getActiveSubscriptionInfo(anyInt()); in testDisabledExtremeToggle()461 SubscriptionInfo mockSubInfo = mock(SubscriptionInfo.class); in setSubscriptionManager() local462 doReturn(mockSubInfo).when(mockSubManager).getActiveSubscriptionInfo(anyInt()); in setSubscriptionManager()
405 SubscriptionInfo mockSubInfo = mock(SubscriptionInfo.class); in mockSubscriptionManager() local406 doReturn(mockSubInfo).when(mockSubManager).getActiveSubscriptionInfo(anyInt()); in mockSubscriptionManager()
154 SubscriptionInfo mockSubInfo = mock(SubscriptionInfo.class); in setUp() local155 doReturn(mockSubInfo).when(mockSubManager).getActiveSubscriptionInfo(anyInt()); in setUp()
717 SubscriptionInfo mockSubInfo = mock(SubscriptionInfo.class); in testResourceOnRoamingState() local718 doReturn(mockSubInfo).when(mSubscriptionManager).getActiveSubscriptionInfo(anyInt()); in testResourceOnRoamingState()
136 SubscriptionInfo mockSubInfo = mock(SubscriptionInfo.class); in setUp() local137 doReturn(mockSubInfo).when(mockSubscriptionManager).getActiveSubscriptionInfo(anyInt()); in setUp()
444 SubscriptionInfo mockSubInfo = mock(SubscriptionInfo.class); in testGetResources() local445 doReturn(mockSubInfo).when(mMockedSubscriptionManager).getActiveSubscriptionInfo(anyInt()); in testGetResources()446 doReturn(001).when(mockSubInfo).getMcc(); in testGetResources()447 doReturn(01).when(mockSubInfo).getMnc(); in testGetResources()
173 SubscriptionInfo mockSubInfo = mock(SubscriptionInfo.class); in setUp() local174 doReturn(mockSubInfo) in setUp()177 doReturn(DEFAULT_SUBID).when(mockSubInfo).getSubscriptionId(); in setUp()