Home | History | Annotate | Download | only in bluetooth

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";
153 * Construct a BluetoothSocket.
164 /*package*/ BluetoothSocket(int type, int fd, boolean auth, boolean encrypt,
170 * Construct a BluetoothSocket.
183 /*package*/ BluetoothSocket(int type, int fd, boolean auth, boolean encrypt,
186 if (VDBG) Log.d(TAG, "Creating new BluetoothSocket of type: " + type);
187 if (type == BluetoothSocket.TYPE_RFCOMM && uuid == null && fd == -1
217 private BluetoothSocket(BluetoothSocket s) {
218 if (VDBG) Log.d(TAG, "Creating new Private BluetoothSocket of type: " + s.mType);
234 private BluetoothSocket acceptSocket(String RemoteAddr) throws IOException {
235 BluetoothSocket as = new BluetoothSocket(this);
254 * Construct a BluetoothSocket from address. Used by native code.
264 private BluetoothSocket(int type, int fd, boolean auth, boolean encrypt, String address,
456 /*package*/ BluetoothSocket accept(int timeout) throws IOException {
457 BluetoothSocket acceptedSocket;