Home
last modified time | relevance | path

Searched refs:mMockImsManager (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/
DQnsTest.java60 @Mock protected ImsManager mMockImsManager; field in QnsTest
149 when(sMockContext.getSystemService(ImsManager.class)).thenReturn(mMockImsManager); in stubContext()
161 when(mMockImsManager.getImsMmTelManager(anyInt())).thenReturn(mMockImsMmTelManager); in stubManagers()
162 when(mMockImsManager.getImsRcsManager(anyInt())).thenReturn(mMockImsRcsManager); in stubManagers()
163 when(mMockImsManager.getSipDelegateManager(anyInt())).thenReturn(mMockSipDelegateManager); in stubManagers()
DQnsImsManagerTest.java362 Mockito.clearInvocations(mMockImsManager); in testQnsImsManagerInit()
363 when(mMockImsManager.getSipDelegateManager(anyInt())).thenReturn(null); in testQnsImsManagerInit()
368 Mockito.clearInvocations(mMockImsManager); in testQnsImsManagerInit()
369 when(mMockImsManager.getImsRcsManager(anyInt())).thenReturn(null); in testQnsImsManagerInit()
374 Mockito.clearInvocations(mMockImsManager); in testQnsImsManagerInit()
375 when(mMockImsManager.getImsMmTelManager(anyInt())).thenReturn(null); in testQnsImsManagerInit()
380 Mockito.clearInvocations(mMockImsManager); in testQnsImsManagerInit()
386 Mockito.clearInvocations(mMockImsManager); in testQnsImsManagerInit()
/packages/services/Iwlan/test/com/google/android/iwlan/
DIwlanNetworkServiceTest.java67 @Mock private ImsManager mMockImsManager; field in IwlanNetworkServiceTest
103 when(mMockContext.getSystemService(eq(ImsManager.class))).thenReturn(mMockImsManager); in setUp()
105 when(mMockImsManager.getImsMmTelManager(anyInt())).thenReturn(mMockImsMmTelManager); in setUp()
DIwlanEventListenerTest.java71 @Mock private ImsManager mMockImsManager; field in IwlanEventListenerTest
116 when(mMockImsManager.getImsMmTelManager(anyInt())).thenReturn(mMockImsMmTelManager); in setUp()
118 when(mMockContext.getSystemService(eq(ImsManager.class))).thenReturn(mMockImsManager); in setUp()
DIwlanDataServiceTest.java144 @Mock private ImsManager mMockImsManager; field in IwlanDataServiceTest
263 when(mMockContext.getSystemService(eq(ImsManager.class))).thenReturn(mMockImsManager); in setUp()
265 when(mMockImsManager.getImsMmTelManager(anyInt())).thenReturn(mMockImsMmTelManager); in setUp()
/packages/services/Telephony/tests/src/com/android/
DTestContext.java63 @Mock ImsManager mMockImsManager; field in TestContext
176 return mMockImsManager; in getSystemService()
/packages/services/Telephony/tests/src/com/android/services/telephony/domainselection/
DNormalCallDomainSelectorTest.java88 @Mock private ImsManager mMockImsManager; field in NormalCallDomainSelectorTest
100 doReturn(mMockImsManager).when(mMockContext) in setUp()
113 doReturn(mMockMmTelManager).when(mMockImsManager).getImsMmTelManager(SUB_ID_1); in setUp()
114 doReturn(mMockMmTelManager).when(mMockImsManager).getImsMmTelManager(SUB_ID_2); in setUp()