Lines Matching defs:device
45 * <p>To create a {@link BluetoothSocket} for connecting to a known device, use
48 * Then call {@link #connect()} to attempt a connection to the remote device.
87 private final BluetoothDevice mDevice; /* remote device */
110 * @param auth require the remote device to be authenticated
112 * @param device remote device that this socket can connect to
119 BluetoothDevice device, int port, ParcelUuid uuid) throws IOException {
129 mSdp = new SdpHelper(device, uuid);
135 mDevice = device;
136 if (device == null) {
139 mAddress = device.getAddress();
156 * @param auth require the remote device to be authenticated
158 * @param address remote device that this socket can connect to
179 * Attempt to connect to a remote device.
184 * remote Bluetooth devices should not be attempted while device discovery
186 * Bluetooth adapter and will significantly slow a device connection.
240 * Get the remote device this socket is connecting, or connected, to.
241 * @return remote device
345 private final BluetoothDevice device;
348 public SdpHelper(BluetoothDevice device, ParcelUuid uuid) {
350 this.device = device;
364 inProgress = service.fetchRemoteUuids(device.getAddress(), uuid, this);