Home | History | Annotate | Download | only in voicedialer

Lines Matching refs:BluetoothHeadset

23 import android.bluetooth.BluetoothHeadset;
57 * This transitions out on events from TTS and the BluetoothHeadset
166 private BluetoothHeadset mBluetoothHeadset;
222 // Get handle to BluetoothHeadset object
225 audioStateFilter.addAction(BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED);
226 audioStateFilter.addAction(BluetoothHeadset.ACTION_AUDIO_STATE_CHANGED);
237 if (BluetoothHeadset.isBluetoothVoiceDialingEnabled(this) && mAdapter != null) {
390 // we can't start recognizing until we get connected to the BluetoothHeadset
419 mBluetoothHeadset = (BluetoothHeadset) proxy;
429 if (state == BluetoothHeadset.STATE_CONNECTED) {
446 if (action.equals(BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED)) {
463 } else if (action.equals(BluetoothHeadset.ACTION_AUDIO_STATE_CHANGED)) {
466 if (state == BluetoothHeadset.STATE_AUDIO_CONNECTED &&
476 } else if (prevState == BluetoothHeadset.STATE_AUDIO_CONNECTED) {