Home | History | Annotate | Download | only in pbap

Lines Matching refs:BluetoothAdapter

35 import android.bluetooth.BluetoothAdapter;
59 if (action.equals(BluetoothAdapter.ACTION_STATE_CHANGED)) {
60 int state = intent.getIntExtra(BluetoothAdapter.EXTRA_STATE, BluetoothAdapter.ERROR);
61 in.putExtra(BluetoothAdapter.EXTRA_STATE, state);
63 if ((state == BluetoothAdapter.STATE_TURNING_ON)
64 || (state == BluetoothAdapter.STATE_OFF)) {
65 //FIX: We turn on PBAP after BluetoothAdapter.STATE_ON,
66 //but we turn off PBAP right after BluetoothAdapter.STATE_TURNING_OFF
71 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter();