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.java97 @Mock ConnectionServiceWrapper mockConnectionServiceWrapper; field in CallAudioRouteStateMachineTest
135 when(fakeCall.getConnectionService()).thenReturn(mockConnectionServiceWrapper); in setUp()
138 when(fakeSelfManagedCall.getConnectionService()).thenReturn(mockConnectionServiceWrapper); in setUp()
144 doNothing().when(mockConnectionServiceWrapper).onCallAudioStateChanged(any(Call.class), in setUp()
224 verify(mockConnectionServiceWrapper, times(trackedCalls.size())) in testTrackedCallsReceiveAudioRouteChange()
275 verify(mockConnectionServiceWrapper, times(trackedCalls.size())) in testSystemAudioStateIsNotUpdatedFlagOff()
328 verify(mockConnectionServiceWrapper, times(trackedCalls.size())) in testSystemAudioStateIsUpdatedFlagOn()
1348 verify(mockConnectionServiceWrapper, timeout(TEST_TIMEOUT).atLeastOnce()) in verifyNewSystemCallAudioState()
1362 mockConnectionServiceWrapper); in resetMocks()
1366 when(fakeCall.getConnectionService()).thenReturn(mockConnectionServiceWrapper); in resetMocks()
[all …]
DCallAudioRouteTransitionTests.java155 @Mock ConnectionServiceWrapper mockConnectionServiceWrapper; field in CallAudioRouteTransitionTests
194 when(fakeCall.getConnectionService()).thenReturn(mockConnectionServiceWrapper); in setUp()
198 doNothing().when(mockConnectionServiceWrapper).onCallAudioStateChanged(any(Call.class), in setUp()
885 verify(mockConnectionServiceWrapper, timeout(TEST_TIMEOUT).atLeastOnce()) in verifyNewSystemCallAudioState()
899 verify(mockConnectionServiceWrapper, never()).onCallAudioStateChanged( in verifyNoSystemAudioChanges()
905 mockConnectionServiceWrapper); in clearInvocations()