Home
last modified time | relevance | path

Searched refs:mBluetoothLeAudio (Results 1 – 4 of 4) sorted by relevance

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DBluetoothDeviceManagerTest.java77 @Mock BluetoothLeAudio mBluetoothLeAudio; field in BluetoothDeviceManagerTest
136 mBluetoothDeviceManager.setLeAudioServiceForTesting(mBluetoothLeAudio); in setUp()
137 verify(mBluetoothLeAudio).registerCallback(any(), leAudioCallbacksTest.capture()); in setUp()
194 when(mBluetoothLeAudio.getGroupId(device5)).thenReturn(1); in testMultiDeviceConnectAndDisconnect()
195 when(mBluetoothLeAudio.getConnectedGroupLeadDevice(1)).thenReturn(device5); in testMultiDeviceConnectAndDisconnect()
204 when(mBluetoothLeAudio.getConnectedGroupLeadDevice(2)).thenReturn(device6); in testMultiDeviceConnectAndDisconnect()
205 when(mBluetoothLeAudio.getGroupId(device6)).thenReturn(1); in testMultiDeviceConnectAndDisconnect()
226 when(mBluetoothLeAudio.getGroupId(device5)).thenReturn(1); in testLeAudioMissedGroupCallbackBeforeConnected()
227 when(mBluetoothLeAudio.getGroupId(device6)).thenReturn(1); in testLeAudioMissedGroupCallbackBeforeConnected()
235 when(mBluetoothLeAudio.getConnectedGroupLeadDevice(1)).thenReturn(device5); in testLeAudioMissedGroupCallbackBeforeConnected()
[all …]
DCallAudioRouteControllerTest.java108 @Mock BluetoothLeAudio mBluetoothLeAudio; field in CallAudioRouteControllerTest
159 when(mBluetoothDeviceManager.getLeAudioService()).thenReturn(mBluetoothLeAudio); in setUp()
160 when(mBluetoothLeAudio.getGroupId(any(BluetoothDevice.class))).thenReturn(1); in setUp()
161 when(mBluetoothLeAudio.getConnectedGroupLeadDevice(anyInt())) in setUp()
615 when(mBluetoothLeAudio.getConnectedGroupLeadDevice(anyInt())) in testConnectAndDisconnectLeDeviceDuringCall()
631 when(mBluetoothLeAudio.getConnectedGroupLeadDevice(anyInt())) in testSwitchBetweenLeAndScoDevices()
707 when(mBluetoothLeAudio.getConnectedGroupLeadDevice(anyInt())) in testIgnoreLeRouteWhenServiceUnavailable()
DBluetoothRouteManagerTest.java81 @Mock private BluetoothLeAudio mBluetoothLeAudio; field in BluetoothRouteManagerTest
363 when(mDeviceManager.getLeAudioService()).thenReturn(mBluetoothLeAudio); in resetMocks()
DBluetoothRouteTransitionTests.java265 @Mock private BluetoothLeAudio mBluetoothLeAudio; field in BluetoothRouteTransitionTests
414 when(mDeviceManager.getLeAudioService()).thenReturn(mBluetoothLeAudio); in setupStateMachine()