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.java445 private BluetoothHeadset mBluetoothHeadset; field in AudioService
2900 if (mBluetoothHeadset != null && mBluetoothHeadsetDevice != null) { in requestScoState()
2903 status = mBluetoothHeadset.connectAudio(); in requestScoState()
2905 status = mBluetoothHeadset.startScoUsingVirtualVoiceCall( in requestScoState()
2908 status = mBluetoothHeadset.startVoiceRecognition( in requestScoState()
2933 if (mBluetoothHeadset != null && mBluetoothHeadsetDevice != null) { in requestScoState()
2936 status = mBluetoothHeadset.disconnectAudio(); in requestScoState()
2938 status = mBluetoothHeadset.stopScoUsingVirtualVoiceCall( in requestScoState()
2941 status = mBluetoothHeadset.stopVoiceRecognition( in requestScoState()
2963 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);