Searched defs:mBluetoothHeadset (Results 1 - 3 of 3) sorted by last modified time

/frameworks/base/services/core/java/com/android/server/am/
H A DBatteryStatsService.java67 private BluetoothHeadset mBluetoothHeadset; field in class:BatteryStatsService
534 if (mBluetoothHeadset != null) {
536 mStats.setBtHeadset(mBluetoothHeadset);
546 mBluetoothHeadset = (BluetoothHeadset) proxy;
550 mStats.setBtHeadset(mBluetoothHeadset);
557 mBluetoothHeadset = null;
/frameworks/base/media/java/android/media/
H A DAudioService.java422 private BluetoothHeadset mBluetoothHeadset; field in class:AudioService
2703 if (mBluetoothHeadset != null && mBluetoothHeadsetDevice != null) {
2706 status = mBluetoothHeadset.connectAudio();
2708 status = mBluetoothHeadset.startScoUsingVirtualVoiceCall(
2711 status = mBluetoothHeadset.startVoiceRecognition(
2736 if (mBluetoothHeadset != null && mBluetoothHeadsetDevice != null) {
2739 status = mBluetoothHeadset.disconnectAudio();
2741 status = mBluetoothHeadset.stopScoUsingVirtualVoiceCall(
2744 status = mBluetoothHeadset.stopVoiceRecognition(
2766 if (mBluetoothHeadset !
[all...]
/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...]

Completed in 102 milliseconds