Home
last modified time | relevance | path

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

/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 …]
/frameworks/base/services/core/java/com/android/server/audio/
DBtHelper.java86 private @Nullable BluetoothHeadset mBluetoothHeadset; field in BtHelper
446 if (mBluetoothHeadset != null && mBluetoothHeadsetDevice != null in onScoAudioStateChanged()
447 && connectBluetoothScoAudioHelper(mBluetoothHeadset, in onScoAudioStateChanged()
484 if (mBluetoothHeadset == null || mBluetoothHeadsetDevice == null) { in isBluetoothScoOn()
487 return mBluetoothHeadset.getAudioState(mBluetoothHeadsetDevice) in isBluetoothScoOn()
590 mBluetoothHeadset = null; in onBtProfileDisconnected()
768 return mBluetoothHeadset != null; in isProfilePoxyConnected()
790 mBluetoothHeadset = headset; in onHeadsetProfileConnected()
816 mBluetoothHeadset, in onHeadsetProfileConnected()
824 mBluetoothHeadset, in onHeadsetProfileConnected()
[all …]