Searched refs:mBluetoothHeadset (Results 1 - 3 of 3) 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);
236 if (mBluetoothHeadset != null && mBluetoothHeadsetDevice != null) {
238 mBluetoothHeadset.startVoiceRecognition(mBluetoothHeadsetDevice);
240 mBluetoothHeadset.stopVoiceRecognition(mBluetoothHeadsetDevice);
645 mBluetoothHeadset = (BluetoothHeadset) proxy;
646 List<BluetoothDevice> deviceList = mBluetoothHeadset.getConnectedDevices();
655 if (mBluetoothHeadset != null) {
656 List<BluetoothDevice> devices = mBluetoothHeadset
[all...]
/frameworks/base/services/java/com/android/server/am/
H A DBatteryStatsService.java53 private BluetoothHeadset mBluetoothHeadset; field in class:BatteryStatsService
301 if (mBluetoothHeadset != null) {
303 mStats.setBtHeadset(mBluetoothHeadset);
313 mBluetoothHeadset = (BluetoothHeadset) proxy;
317 mStats.setBtHeadset(mBluetoothHeadset);
324 mBluetoothHeadset = null;
/frameworks/base/media/java/android/media/
H A DAudioService.java356 private BluetoothHeadset mBluetoothHeadset; field in class:AudioService
2009 if (mBluetoothHeadset != null && mBluetoothHeadsetDevice != null) {
2010 if (mBluetoothHeadset.startScoUsingVirtualVoiceCall(
2032 if (mBluetoothHeadset != null && mBluetoothHeadsetDevice != null) {
2033 if (!mBluetoothHeadset.stopScoUsingVirtualVoiceCall(
2052 if (mBluetoothHeadset != null && mBluetoothHeadsetDevice != null &&
2054 mBluetoothHeadset.getAudioState(mBluetoothHeadsetDevice)
2118 if (mBluetoothHeadset != null) {
2119 if (!mBluetoothHeadset.stopVoiceRecognition(
2184 mBluetoothHeadset
[all...]

Completed in 28 milliseconds