Searched refs:mockBluetoothRouteManager (Results 1 – 2 of 2) sorted by relevance
83 @Mock BluetoothRouteManager mockBluetoothRouteManager; field in CallAudioRouteStateMachineTest139 mockBluetoothRouteManager, in testEarpieceAutodetect()158 mockBluetoothRouteManager, in testSpeakerPersistence()165 when(mockBluetoothRouteManager.isBluetoothAudioConnectedOrPending()).thenReturn(false); in testSpeakerPersistence()166 when(mockBluetoothRouteManager.isBluetoothAvailable()).thenReturn(true); in testSpeakerPersistence()203 mockBluetoothRouteManager, in testUserBluetoothSwitchOff()211 when(mockBluetoothRouteManager.isBluetoothAudioConnectedOrPending()).thenReturn(false); in testUserBluetoothSwitchOff()212 when(mockBluetoothRouteManager.isBluetoothAvailable()).thenReturn(true); in testUserBluetoothSwitchOff()247 mockBluetoothRouteManager, in testUserBluetoothSwitchOffAndOnAgain()256 when(mockBluetoothRouteManager.isBluetoothAudioConnectedOrPending()).thenReturn(false); in testUserBluetoothSwitchOffAndOnAgain()[all …]
148 @Mock BluetoothRouteManager mockBluetoothRouteManager; field in CallAudioRouteTransitionTests205 .when(mockBluetoothRouteManager).isBluetoothAudioConnectedOrPending(); in setupMocksForParams()208 .when(mockBluetoothRouteManager).isBluetoothAvailable(); in setupMocksForParams()210 .when(mockBluetoothRouteManager).getConnectedDevices(); in setupMocksForParams()213 .when(mockBluetoothRouteManager).getBluetoothAudioConnectedDevice(); in setupMocksForParams()220 }).when(mockBluetoothRouteManager).connectBluetoothAudio(nullable(String.class)); in setupMocksForParams()263 mockBluetoothRouteManager, in testActiveTransition()303 verify(mockBluetoothRouteManager, never()).disconnectBluetoothAudio(); in testActiveTransition()304 verify(mockBluetoothRouteManager, never()) in testActiveTransition()309 verify(mockBluetoothRouteManager).connectBluetoothAudio(null); in testActiveTransition()[all …]