Home
last modified time | relevance | path

Searched refs:mBluetoothHeadset (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/audio/
DBtHelper.java64 private @Nullable BluetoothHeadset mBluetoothHeadset; field in BtHelper
281 if (mBluetoothHeadset != null && mBluetoothHeadsetDevice != null in receiveBtEvent()
282 && connectBluetoothScoAudioHelper(mBluetoothHeadset, in receiveBtEvent()
321 if ((mBluetoothHeadset != null) in isBluetoothScoOn()
322 && (mBluetoothHeadset.getAudioState(mBluetoothHeadsetDevice) in isBluetoothScoOn()
441 mBluetoothHeadset = null; in disconnectHeadset()
489 mBluetoothHeadset = headset; in onHeadsetProfileConnected()
490 setBtScoActiveDevice(mBluetoothHeadset.getActiveDevice()); in onHeadsetProfileConnected()
502 mBluetoothHeadset, in onHeadsetProfileConnected()
510 mBluetoothHeadset, in onHeadsetProfileConnected()
[all …]
/frameworks/base/media/tests/ScoAudioTest/src/com/android/scoaudiotest/
DScoAudioTest.java82 private BluetoothHeadset mBluetoothHeadset; field in ScoAudioTest
171 if (mBluetoothHeadset != null) { in onDestroy()
174 btAdapter.closeProfileProxy(BluetoothProfile.HEADSET, mBluetoothHeadset); in onDestroy()
245 if (mBluetoothHeadset != null && mBluetoothHeadsetDevice != null) {
247 mBluetoothHeadset.startVoiceRecognition(mBluetoothHeadsetDevice);
249mBluetoothHeadset.stopVoiceRecognition(mBluetoothHeadsetDevice);
659 mBluetoothHeadset = (BluetoothHeadset) proxy;
660 List<BluetoothDevice> deviceList = mBluetoothHeadset.getConnectedDevices();
669 if (mBluetoothHeadset != null) {
670 List<BluetoothDevice> devices = mBluetoothHeadset.getConnectedDevices();
[all …]