Home
last modified time | relevance | path

Searched refs:mBluetoothHeadset (Results 1 – 3 of 3) 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/
DAudioService.java438 private BluetoothHeadset mBluetoothHeadset; field in AudioService
2743 if (mBluetoothHeadset != null && mBluetoothHeadsetDevice != null) { in requestScoState()
2746 status = mBluetoothHeadset.connectAudio(); in requestScoState()
2748 status = mBluetoothHeadset.startScoUsingVirtualVoiceCall( in requestScoState()
2751 status = mBluetoothHeadset.startVoiceRecognition( in requestScoState()
2776 if (mBluetoothHeadset != null && mBluetoothHeadsetDevice != null) { in requestScoState()
2779 status = mBluetoothHeadset.disconnectAudio(); in requestScoState()
2781 status = mBluetoothHeadset.stopScoUsingVirtualVoiceCall( in requestScoState()
2784 status = mBluetoothHeadset.stopVoiceRecognition( in requestScoState()
2806 if (mBluetoothHeadset != null && mBluetoothHeadsetDevice != null && in checkScoAudioState()
[all …]
/frameworks/base/docs/html/guide/topics/connectivity/
Dbluetooth.jd967 <pre>BluetoothHeadset mBluetoothHeadset;
978 mBluetoothHeadset = (BluetoothHeadset) proxy;
983 mBluetoothHeadset = null;
988 // ... call functions on mBluetoothHeadset
991 mBluetoothAdapter.closeProfileProxy(mBluetoothHeadset);