Lines Matching refs:BluetoothHeadset
34 import android.bluetooth.BluetoothHeadset;
355 // BluetoothHeadset API to control SCO connection
356 private BluetoothHeadset mBluetoothHeadset;
500 new IntentFilter(BluetoothHeadset.ACTION_AUDIO_STATE_CHANGED);
501 intentFilter.addAction(BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED);
1924 requestScoState(BluetoothHeadset.STATE_AUDIO_CONNECTED);
1950 requestScoState(BluetoothHeadset.STATE_AUDIO_DISCONNECTED);
1966 requestScoState(BluetoothHeadset.STATE_AUDIO_DISCONNECTED);
1997 if (state == BluetoothHeadset.STATE_AUDIO_CONNECTED) {
2028 } else if (state == BluetoothHeadset.STATE_AUDIO_DISCONNECTED &&
2055 != BluetoothHeadset.STATE_AUDIO_DISCONNECTED) {
2184 mBluetoothHeadset = (BluetoothHeadset) proxy;
3771 } else if (action.equals(BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED)) {
3825 } else if (action.equals(BluetoothHeadset.ACTION_AUDIO_STATE_CHANGED)) {
3838 case BluetoothHeadset.STATE_AUDIO_CONNECTED:
3846 case BluetoothHeadset.STATE_AUDIO_DISCONNECTED:
3851 case BluetoothHeadset.STATE_AUDIO_CONNECTING: