Home
last modified time | relevance | path

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

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallAudioRouteStateMachineTest.java85 @Mock ConnectionServiceWrapper mockConnectionServiceWrapper; field in CallAudioRouteStateMachineTest
117 when(fakeCall.getConnectionService()).thenReturn(mockConnectionServiceWrapper); in setUp()
121 doNothing().when(mockConnectionServiceWrapper).onCallAudioStateChanged(any(Call.class), in setUp()
619 verify(mockConnectionServiceWrapper, timeout(TEST_TIMEOUT).atLeastOnce()) in verifyNewSystemCallAudioState()
633 mockConnectionServiceWrapper); in resetMocks()
636 when(fakeCall.getConnectionService()).thenReturn(mockConnectionServiceWrapper); in resetMocks()
640 doNothing().when(mockConnectionServiceWrapper).onCallAudioStateChanged(any(Call.class), in resetMocks()
DCallAudioRouteTransitionTests.java150 @Mock ConnectionServiceWrapper mockConnectionServiceWrapper; field in CallAudioRouteTransitionTests
185 when(fakeCall.getConnectionService()).thenReturn(mockConnectionServiceWrapper); in setUp()
189 doNothing().when(mockConnectionServiceWrapper).onCallAudioStateChanged(any(Call.class), in setUp()
839 verify(mockConnectionServiceWrapper, timeout(TEST_TIMEOUT).atLeastOnce()) in verifyNewSystemCallAudioState()
853 verify(mockConnectionServiceWrapper, never()).onCallAudioStateChanged( in verifyNoSystemAudioChanges()
859 mockConnectionServiceWrapper); in clearInvocations()