Searched defs:mBluetoothHeadset (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/media/tests/ScoAudioTest/src/com/android/scoaudiotest/
H A DScoAudioTest.java82 private BluetoothHeadset mBluetoothHeadset; field in class:ScoAudioTest
171 if (mBluetoothHeadset != null) {
174 btAdapter.closeProfileProxy(BluetoothProfile.HEADSET, mBluetoothHeadset);
245 if (mBluetoothHeadset != null && mBluetoothHeadsetDevice != null) {
247 mBluetoothHeadset.startVoiceRecognition(mBluetoothHeadsetDevice);
249 mBluetoothHeadset.stopVoiceRecognition(mBluetoothHeadsetDevice);
659 mBluetoothHeadset = (BluetoothHeadset) proxy;
660 List<BluetoothDevice> deviceList = mBluetoothHeadset.getConnectedDevices();
669 if (mBluetoothHeadset != null) {
670 List<BluetoothDevice> devices = mBluetoothHeadset
[all...]
/frameworks/base/services/core/java/com/android/server/audio/
H A DAudioService.java438 private BluetoothHeadset mBluetoothHeadset; field in class:AudioService
2743 if (mBluetoothHeadset != null && mBluetoothHeadsetDevice != null) {
2746 status = mBluetoothHeadset.connectAudio();
2748 status = mBluetoothHeadset.startScoUsingVirtualVoiceCall(
2751 status = mBluetoothHeadset.startVoiceRecognition(
2776 if (mBluetoothHeadset != null && mBluetoothHeadsetDevice != null) {
2779 status = mBluetoothHeadset.disconnectAudio();
2781 status = mBluetoothHeadset.stopScoUsingVirtualVoiceCall(
2784 status = mBluetoothHeadset.stopVoiceRecognition(
2806 if (mBluetoothHeadset !
[all...]

Completed in 93 milliseconds