Home | History | Annotate | Download | only in bluetooth

Lines Matching refs:BluetoothDevice

35  * Represents a remote Bluetooth device. A {@link BluetoothDevice} lets you
43 * BluetoothDevice}.
45 * <p>To get a {@link BluetoothDevice}, use
67 public final class BluetoothDevice implements Parcelable {
68 private static final String TAG = "BluetoothDevice";
75 * <p><code>Intent.getIntExtra(BluetoothDevice.EXTRA_BOND_STATE,
76 * BluetoothDevice.ERROR)</code>
190 * Used as a Parcelable {@link BluetoothDevice} extra field in every intent
191 * broadcast by this class. It contains the {@link BluetoothDevice} that
527 synchronized (BluetoothDevice.class) {
540 synchronized (BluetoothDevice.class) {
547 synchronized (BluetoothDevice.class) {
553 * Create a new BluetoothDevice
561 /*package*/ BluetoothDevice(String address) {
572 if (o instanceof BluetoothDevice) {
573 return mAddress.equals(((BluetoothDevice)o).getAddress());
584 * Returns a string representation of this BluetoothDevice.
589 * @return string representation of this BluetoothDevice
600 public static final Parcelable.Creator<BluetoothDevice> CREATOR =
601 new Parcelable.Creator<BluetoothDevice>() {
602 public BluetoothDevice createFromParcel(Parcel in) {
603 return new BluetoothDevice(in.readString());
605 public BluetoothDevice[] newArray(int size) {
606 return new BluetoothDevice[size];
615 * Returns the hardware address of this BluetoothDevice.
963 return BluetoothDevice.ERROR;