Home | History | Annotate | Download | only in server

Lines Matching defs:BluetoothDevice

20 import android.bluetooth.BluetoothDevice;
91 filter.addAction(BluetoothDevice.ACTION_PAIRING_REQUEST);
126 BluetoothDevice.BOND_BONDED);
145 if (oldState == BluetoothDevice.BOND_BONDING) {
151 if (state == BluetoothDevice.BOND_BONDED) {
158 } else if (state == BluetoothDevice.BOND_BONDING) {
162 } else if (state == BluetoothDevice.BOND_NONE) {
172 Intent intent = new Intent(BluetoothDevice.ACTION_BOND_STATE_CHANGED);
173 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, mService.getRemoteDevice(address));
174 intent.putExtra(BluetoothDevice.EXTRA_BOND_STATE, state);
175 intent.putExtra(BluetoothDevice.EXTRA_PREVIOUS_BOND_STATE, oldState);
176 if (state == BluetoothDevice.BOND_NONE) {
180 reason = BluetoothDevice.UNBOND_REASON_REMOVED;
182 intent.putExtra(BluetoothDevice.EXTRA_REASON, reason);
237 return BluetoothDevice.BOND_NONE;
452 BluetoothDevice remoteDevice = mService.getRemoteDevice(address);
460 if (state == BluetoothDevice.BOND_BONDED) {
470 } else if (state == BluetoothDevice.BOND_NONE) {
490 if (action.equals(BluetoothDevice.ACTION_PAIRING_REQUEST)) {
491 BluetoothDevice dev = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE);