Home
last modified time | relevance | path

Searched refs:getBluetoothHeadset (Results 1 – 5 of 5) sorted by relevance

/packages/services/Telecomm/src/com/android/server/telecom/bluetooth/
DBluetoothDeviceManager.java425 public BluetoothHeadset getBluetoothHeadset() { in getBluetoothHeadset() method in BluetoothDeviceManager
507 if (getBluetoothHeadset() == null) { in onDeviceConnected()
571 if (getBluetoothHeadset() == null) { in disconnectSco()
779 if (getBluetoothHeadset() == null) { in connectAudio()
836 if (getBluetoothHeadset() != null) { in connectAudio()
884 if (getBluetoothHeadset() != null) { in connectAudio()
935 if (getBluetoothHeadset() == null) { in isInbandRingEnabled()
DBluetoothRouteManager.java1072 BluetoothHeadset bluetoothHeadset = mDeviceManager.getBluetoothHeadset();
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DBluetoothRouteManagerTest.java360 when(mDeviceManager.getBluetoothHeadset()).thenReturn(mBluetoothHeadset); in resetMocks()
DBluetoothRouteTransitionTests.java412 when(mDeviceManager.getBluetoothHeadset()).thenReturn(mBluetoothHeadset); in setupStateMachine()
DBluetoothDeviceManagerTest.java317 assertNull(mBluetoothDeviceManager.getBluetoothHeadset()); in testHeadsetServiceDisconnect()