Home
last modified time | relevance | path

Searched refs:mBluetoothHeadsetDevice (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/audio/
DBtHelper.java67 private @Nullable BluetoothDevice mBluetoothHeadsetDevice; field in BtHelper
281 if (mBluetoothHeadset != null && mBluetoothHeadsetDevice != null in receiveBtEvent()
283 mBluetoothHeadsetDevice, mScoAudioMode)) { in receiveBtEvent()
322 && (mBluetoothHeadset.getAudioState(mBluetoothHeadsetDevice) in isBluetoothScoOn()
325 + mBluetoothHeadsetDevice + " is not in audio connected mode"); in isBluetoothScoOn()
498 if (mBluetoothHeadsetDevice != null) { in onHeadsetProfileConnected()
503 mBluetoothHeadsetDevice, mScoAudioMode); in onHeadsetProfileConnected()
511 mBluetoothHeadsetDevice, mScoAudioMode); in onHeadsetProfileConnected()
576 Log.i(TAG, "setBtScoActiveDevice: " + mBluetoothHeadsetDevice + " -> " + btDevice); in setBtScoActiveDevice()
577 final BluetoothDevice previousActiveDevice = mBluetoothHeadsetDevice; in setBtScoActiveDevice()
[all …]
/frameworks/base/media/tests/ScoAudioTest/src/com/android/scoaudiotest/
DScoAudioTest.java83 private BluetoothDevice mBluetoothHeadsetDevice; field in ScoAudioTest
155 mBluetoothHeadsetDevice = null; in onCreate()
245 if (mBluetoothHeadset != null && mBluetoothHeadsetDevice != null) {
247 mBluetoothHeadset.startVoiceRecognition(mBluetoothHeadsetDevice);
249 … mBluetoothHeadset.stopVoiceRecognition(mBluetoothHeadsetDevice);
662 mBluetoothHeadsetDevice = deviceList.get(0);
664 mBluetoothHeadsetDevice = null;
672 mBluetoothHeadsetDevice = null;