Searched refs:mBluetoothHeadset (Results 1 – 2 of 2) sorted by relevance
64 private @Nullable BluetoothHeadset mBluetoothHeadset; field in BtHelper281 if (mBluetoothHeadset != null && mBluetoothHeadsetDevice != null in receiveBtEvent()282 && connectBluetoothScoAudioHelper(mBluetoothHeadset, in receiveBtEvent()321 if ((mBluetoothHeadset != null) in isBluetoothScoOn()322 && (mBluetoothHeadset.getAudioState(mBluetoothHeadsetDevice) in isBluetoothScoOn()441 mBluetoothHeadset = null; in disconnectHeadset()489 mBluetoothHeadset = headset; in onHeadsetProfileConnected()490 setBtScoActiveDevice(mBluetoothHeadset.getActiveDevice()); in onHeadsetProfileConnected()502 mBluetoothHeadset, in onHeadsetProfileConnected()510 mBluetoothHeadset, in onHeadsetProfileConnected()[all …]
82 private BluetoothHeadset mBluetoothHeadset; field in ScoAudioTest171 if (mBluetoothHeadset != null) { in onDestroy()174 btAdapter.closeProfileProxy(BluetoothProfile.HEADSET, mBluetoothHeadset); in onDestroy()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.getConnectedDevices();[all …]