Home | History | Annotate | Download | only in bluetooth

Lines Matching defs:BluetoothSocket

37  * it will return a new {@link BluetoothSocket} to manage the connection.
38 * On the client side, use a single {@link BluetoothSocket} to both initiate
45 * <p>To create a {@link BluetoothSocket} for connecting to a known device, use
52 * <p>To create a {@link BluetoothSocket} as a server (or "host"), see the
61 * <p>{@link BluetoothSocket} is thread
78 public final class BluetoothSocket implements Closeable {
79 private static final String TAG = "BluetoothSocket";
84 /** Keep TYPE_ fields in sync with BluetoothSocket.cpp */
119 * Construct a BluetoothSocket.
130 /*package*/ BluetoothSocket(int type, int fd, boolean auth, boolean encrypt,
132 if (type == BluetoothSocket.TYPE_RFCOMM && uuid == null && fd == -1) {
165 * Construct a BluetoothSocket from address. Used by native code.
175 private BluetoothSocket(int type, int fd, boolean auth, boolean encrypt, String address,
306 /*package*/ BluetoothSocket accept(int timeout) throws IOException {
311 BluetoothSocket acceptedSocket = acceptNative(timeout);
353 private native BluetoothSocket acceptNative(int timeout) throws IOException;