Home | History | Annotate | Download | only in settings

Lines Matching full:bluetoothadapter

25 import android.bluetooth.BluetoothAdapter;
119 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter();
237 } else if (action.equals(BluetoothAdapter.ACTION_STATE_CHANGED)) {
240 .getIntExtra(BluetoothAdapter.EXTRA_STATE, BluetoothAdapter.ERROR)) {
241 case BluetoothAdapter.STATE_ON:
249 case BluetoothAdapter.STATE_OFF:
250 case BluetoothAdapter.ERROR:
285 filter.addAction(BluetoothAdapter.ACTION_STATE_CHANGED);
389 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter();
391 if (btState == BluetoothAdapter.STATE_TURNING_OFF) {
394 } else if (btState == BluetoothAdapter.STATE_TURNING_ON) {
399 if (btState == BluetoothAdapter.STATE_ON && bluetoothPan != null &&
482 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter();
483 if (adapter.getState() == BluetoothAdapter.STATE_OFF) {