Lines Matching defs:BluetoothSocket
45 * it will return a new {@link BluetoothSocket} to manage the connection.
46 * On the client side, use a single {@link BluetoothSocket} to both initiate
53 * <p>To create a {@link BluetoothSocket} for connecting to a known device, use
60 * <p>To create a {@link BluetoothSocket} as a server (or "host"), see the
69 * <p>{@link BluetoothSocket} is thread
86 public final class BluetoothSocket implements Closeable {
87 private static final String TAG = "BluetoothSocket";
94 /** Keep TYPE_ fields in sync with BluetoothSocket.cpp */
138 * Construct a BluetoothSocket.
149 /*package*/ BluetoothSocket(int type, int fd, boolean auth, boolean encrypt,
151 if (type == BluetoothSocket.TYPE_RFCOMM && uuid == null && fd == -1) {
178 private BluetoothSocket(BluetoothSocket s) {
188 private BluetoothSocket acceptSocket(String RemoteAddr) throws IOException {
189 BluetoothSocket as = new BluetoothSocket(this);
205 * Construct a BluetoothSocket from address. Used by native code.
215 private BluetoothSocket(int type, int fd, boolean auth, boolean encrypt, String address,
386 /*package*/ BluetoothSocket accept(int timeout) throws IOException {
387 BluetoothSocket acceptedSocket;