Lines Matching defs: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
506 synchronized (BluetoothDevice.class) {
519 synchronized (BluetoothDevice.class) {
526 synchronized (BluetoothDevice.class) {
532 * Create a new BluetoothDevice
540 /*package*/ BluetoothDevice(String address) {
551 if (o instanceof BluetoothDevice) {
552 return mAddress.equals(((BluetoothDevice)o).getAddress());
563 * Returns a string representation of this BluetoothDevice.
568 * @return string representation of this BluetoothDevice
579 public static final Parcelable.Creator<BluetoothDevice> CREATOR =
580 new Parcelable.Creator<BluetoothDevice>() {
581 public BluetoothDevice createFromParcel(Parcel in) {
582 return new BluetoothDevice(in.readString());
584 public BluetoothDevice[] newArray(int size) {
585 return new BluetoothDevice[size];
594 * Returns the hardware address of this BluetoothDevice.
943 return BluetoothDevice.ERROR;