Searched refs:mBluetoothDeviceManager (Results 1 – 5 of 5) sorted by relevance
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | BluetoothDeviceManagerTest.java | 82 BluetoothDeviceManager mBluetoothDeviceManager; field in BluetoothDeviceManagerTest 114 mBluetoothDeviceManager = new BluetoothDeviceManager(mContext, mAdapter, in setUp() 116 mBluetoothDeviceManager.setBluetoothRouteManager(mRouteManager); in setUp() 128 receiverUnderTest = new BluetoothStateReceiver(mBluetoothDeviceManager, in setUp() 131 mBluetoothDeviceManager.setHeadsetServiceForTesting(mBluetoothHeadset); in setUp() 132 mBluetoothDeviceManager.setHearingAidServiceForTesting(mBluetoothHearingAid); in setUp() 136 mBluetoothDeviceManager.setLeAudioServiceForTesting(mBluetoothLeAudio); in setUp() 155 assertEquals(1, mBluetoothDeviceManager.getNumConnectedDevices()); in testSingleDeviceConnectAndDisconnect() 159 assertEquals(0, mBluetoothDeviceManager.getNumConnectedDevices()); in testSingleDeviceConnectAndDisconnect() 165 mBluetoothDeviceManager.setHeadsetServiceForTesting(null); in testAddDeviceFailsWhenServicesAreNull() [all …]
|
D | InCallTonePlayerTest.java | 68 @Mock private BluetoothDeviceManager mBluetoothDeviceManager; field in InCallTonePlayerTest 216 mBluetoothDeviceManager.setBluetoothRouteManager(mBluetoothRouteManager); in testRingbackToneAudioStreamHeadset() 234 mBluetoothDeviceManager.setBluetoothRouteManager(mBluetoothRouteManager); in testCallWaitingToneAudioStreamHeadset() 252 mBluetoothDeviceManager.setBluetoothRouteManager(mBluetoothRouteManager); in testRingbackToneAudioStreamHearingAid() 270 mBluetoothDeviceManager.setBluetoothRouteManager(mBluetoothRouteManager); in testCallWaitingToneAudioStreamHearingAid()
|
D | CallAudioRouteControllerTest.java | 104 @Mock BluetoothDeviceManager mBluetoothDeviceManager; field in CallAudioRouteControllerTest 154 when(mBluetoothRouteManager.getDeviceManager()).thenReturn(mBluetoothDeviceManager); in setUp() 155 when(mBluetoothDeviceManager.connectAudio(any(BluetoothDevice.class), anyInt())) in setUp() 157 when(mBluetoothDeviceManager.getBluetoothAdapter()).thenReturn(mBluetoothAdapter); in setUp() 159 when(mBluetoothDeviceManager.getLeAudioService()).thenReturn(mBluetoothLeAudio); in setUp() 318 verify(mBluetoothDeviceManager, timeout(TEST_TIMEOUT)) in testSwitchFocusForBluetoothDeviceSupportInbandRinging() 326 verify(mBluetoothDeviceManager, timeout(TEST_TIMEOUT).atLeastOnce()).disconnectSco(); in testSwitchFocusForBluetoothDeviceSupportInbandRinging() 670 when(mBluetoothDeviceManager.connectAudio(any(BluetoothDevice.class), anyInt())) in testFallbackWhenBluetoothConnectionFails() 692 verify(mBluetoothDeviceManager, timeout(TEST_TIMEOUT)) in testFallbackWhenBluetoothConnectionFails() 711 when(mBluetoothDeviceManager.getLeAudioService()).thenReturn(null); in testIgnoreLeRouteWhenServiceUnavailable() [all …]
|
D | CallsManagerTest.java | 315 @Mock private BluetoothDeviceManager mBluetoothDeviceManager; field in CallsManagerTest 396 mBluetoothDeviceManager, in setUp()
|
/packages/services/Telecomm/src/com/android/server/telecom/bluetooth/ |
D | BluetoothStateReceiver.java | 72 private final BluetoothDeviceManager mBluetoothDeviceManager; field in BluetoothStateReceiver 202 mBluetoothDeviceManager.onDeviceConnected(device, deviceType); in handleConnectionStateChanged() 210 mBluetoothDeviceManager.onDeviceDisconnected(device, deviceType); in handleConnectionStateChanged() 252 if (!mBluetoothDeviceManager.setCommunicationDeviceForAddress( in handleActiveDeviceChanged() 287 BluetoothAdapter bluetoothAdapter = mBluetoothDeviceManager in handleActiveDeviceChanged() 314 : mBluetoothDeviceManager.setLeAudioCommunicationDevice(); in handleActiveDeviceChanged() 327 : mBluetoothDeviceManager in handleActiveDeviceChanged() 344 return mBluetoothDeviceManager; in getBluetoothDeviceManager() 351 mBluetoothDeviceManager = deviceManager; in BluetoothStateReceiver()
|