Searched refs:mBluetoothHeadset (Results 1 – 3 of 3) sorted by relevance
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 …]
438 private BluetoothHeadset mBluetoothHeadset; field in AudioService2743 if (mBluetoothHeadset != null && mBluetoothHeadsetDevice != null) { in requestScoState()2746 status = mBluetoothHeadset.connectAudio(); in requestScoState()2748 status = mBluetoothHeadset.startScoUsingVirtualVoiceCall( in requestScoState()2751 status = mBluetoothHeadset.startVoiceRecognition( in requestScoState()2776 if (mBluetoothHeadset != null && mBluetoothHeadsetDevice != null) { in requestScoState()2779 status = mBluetoothHeadset.disconnectAudio(); in requestScoState()2781 status = mBluetoothHeadset.stopScoUsingVirtualVoiceCall( in requestScoState()2784 status = mBluetoothHeadset.stopVoiceRecognition( in requestScoState()2806 if (mBluetoothHeadset != null && mBluetoothHeadsetDevice != null && in checkScoAudioState()[all …]
967 <pre>BluetoothHeadset mBluetoothHeadset;978 mBluetoothHeadset = (BluetoothHeadset) proxy;983 mBluetoothHeadset = null;988 // ... call functions on mBluetoothHeadset991 mBluetoothAdapter.closeProfileProxy(mBluetoothHeadset);