Lines Matching refs: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.
93 private final BluetoothDevice mDevice; /* remote device */
122 * @param auth require the remote device to be authenticated
124 * @param device remote device that this socket can connect to
131 BluetoothDevice device, int port, ParcelUuid uuid) throws IOException {
141 mSdp = new SdpHelper(device, uuid);
147 mDevice = device;
148 if (device == null) {
151 mAddress = device.getAddress();
168 * @param auth require the remote device to be authenticated
170 * @param address remote device that this socket can connect to
191 * Attempt to connect to a remote device.
196 * remote Bluetooth devices should not be attempted while device discovery
198 * Bluetooth adapter and will significantly slow a device connection.
253 * Get the remote device this socket is connecting, or connected, to.
254 * @return remote device
284 * remote device.
371 private final BluetoothDevice device;
374 public SdpHelper(BluetoothDevice device, ParcelUuid uuid) {
376 this.device = device;
390 inProgress = service.fetchRemoteUuids(device.getAddress(), uuid, this);