Home
last modified time | relevance | path

Searched refs:hfpDevice (Results 1 – 3 of 3) sorted by relevance

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DBluetoothDeviceManagerTest.java724 BluetoothDevice hfpDevice = mock(BluetoothDevice.class); in testConnectedDevicesDoNotContainDuplicateDevices() local
725 when(hfpDevice.getAddress()).thenReturn("00:00:00:00:00:00"); in testConnectedDevicesDoNotContainDuplicateDevices()
726 when(hfpDevice.getType()).thenReturn(BluetoothDeviceManager.DEVICE_TYPE_HEADSET); in testConnectedDevicesDoNotContainDuplicateDevices()
728 when(hfpDevice.getAddress()).thenReturn("00:00:00:00:00:00"); in testConnectedDevicesDoNotContainDuplicateDevices()
729 when(hfpDevice.getType()).thenReturn(BluetoothDeviceManager.DEVICE_TYPE_LE_AUDIO); in testConnectedDevicesDoNotContainDuplicateDevices()
731 mBluetoothDeviceManager.onDeviceConnected(hfpDevice, in testConnectedDevicesDoNotContainDuplicateDevices()
/packages/services/Telecomm/src/com/android/server/telecom/bluetooth/
DBluetoothDeviceManager.java360 for (BluetoothDevice hfpDevice: mHfpDevicesByAddress.values()) { in getConnectedDevices()
361 result.add(hfpDevice); in getConnectedDevices()
365 int groupId = mBluetoothLeAudioService.getGroupId(hfpDevice); in getConnectedDevices()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DPhonePolicy.java898 for (BluetoothDevice hfpDevice : mostRecentlyConnectedHfpDevices) { in autoConnect()
899 debugLog("autoConnect: Headset device: " + hfpDevice); in autoConnect()
900 autoConnectHeadset(hfpDevice); in autoConnect()