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 …]
445 private BluetoothHeadset mBluetoothHeadset; field in AudioService2900 if (mBluetoothHeadset != null && mBluetoothHeadsetDevice != null) { in requestScoState()2903 status = mBluetoothHeadset.connectAudio(); in requestScoState()2905 status = mBluetoothHeadset.startScoUsingVirtualVoiceCall( in requestScoState()2908 status = mBluetoothHeadset.startVoiceRecognition( in requestScoState()2933 if (mBluetoothHeadset != null && mBluetoothHeadsetDevice != null) { in requestScoState()2936 status = mBluetoothHeadset.disconnectAudio(); in requestScoState()2938 status = mBluetoothHeadset.stopScoUsingVirtualVoiceCall( in requestScoState()2941 status = mBluetoothHeadset.stopVoiceRecognition( in requestScoState()2963 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);