HomeSort by relevance Sort by last modified time
    Searched refs:BluetoothSocket (Results 1 - 14 of 14) sorted by null

  /frameworks/base/core/java/android/bluetooth/
BluetoothServerSocket.java 31 * it will return a new {@link BluetoothSocket} to manage the connection.
32 * On the client side, use a single {@link BluetoothSocket} to both intiate
45 * a {@link BluetoothSocket} to manage the connection. Once the {@link
46 * BluetoothSocket} is acquired, it's a good idea to call {@link #close()} on
49 * close the returned {@link BluetoothSocket}.
58 * {@see BluetoothSocket}
62 /*package*/ final BluetoothSocket mSocket;
77 mSocket = new BluetoothSocket(type, -1, auth, encrypt, null, port, null);
82 * <p>Returns a connected {@link BluetoothSocket} on successful connection.
86 * @return a connected {@link BluetoothSocket}
    [all...]
BluetoothInputStream.java 30 private BluetoothSocket mSocket;
32 /*package*/ BluetoothInputStream(BluetoothSocket s) {
BluetoothOutputStream.java 30 private BluetoothSocket mSocket;
32 /*package*/ BluetoothOutputStream(BluetoothSocket s) {
BluetoothDevice.java 51 * {@link BluetoothSocket} for communciation with the remote device, using
58 * {@see BluetoothSocket}
636 * Create an RFCOMM {@link BluetoothSocket} ready to start a secure
640 * <p>Use {@link BluetoothSocket#connect} to intiate the outgoing
651 public BluetoothSocket createRfcommSocket(int channel) throws IOException {
652 return new BluetoothSocket(BluetoothSocket.TYPE_RFCOMM, -1, true, true, this, channel,
657 * Create an RFCOMM {@link BluetoothSocket} ready to start a secure
662 * <p>Use {@link BluetoothSocket#connect} to intiate the outgoing
678 public BluetoothSocket createRfcommSocketToServiceRecord(UUID uuid) throws IOException
    [all...]
BluetoothSocket.java 37 * it will return a new {@link BluetoothSocket} to manage the connection.
38 * On the client side, use a single {@link BluetoothSocket} to both intiate
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
72 public final class BluetoothSocket implements Closeable {
73 private static final String TAG = "BluetoothSocket";
78 /** Keep TYPE_ fields in sync with BluetoothSocket.cpp */
107 * Construct a BluetoothSocket.
118 /*package*/ BluetoothSocket(int type, int fd, boolean auth, boolean encrypt
    [all...]
BluetoothAdapter.java 592 * android.bluetooth.BluetoothSocket#connect()}. Discovery is not managed by
665 for (int i = 1; i <= BluetoothSocket.MAX_RFCOMM_CHANNEL; i++) {
702 BluetoothSocket.TYPE_RFCOMM, true, true, channel);
750 BluetoothSocket.TYPE_RFCOMM, true, true, channel);
755 } else if (errno == BluetoothSocket.EADDRINUSE) {
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/opp/
BluetoothOppRfcommTransport.java 41 import android.bluetooth.BluetoothSocket;
47 private final BluetoothSocket mSocket;
49 public BluetoothOppRfcommTransport(BluetoothSocket socket) {
BluetoothOppRfcommListener.java 41 import android.bluetooth.BluetoothSocket;
153 BluetoothSocket clientSocket;
170 Log.i(TAG, "BluetoothSocket listen thread finished");
BluetoothOppTransfer.java 40 import android.bluetooth.BluetoothSocket;
262 /* for outbound transfer, the block point is BluetoothSocket.write()
368 * 4) After BluetoothSocket is connected,create an instance of RfcommTransport
593 private BluetoothSocket btSocket = null;
684 /* Use BluetoothSocket to connect */
727 private void markConnectionFailed(BluetoothSocket s) {
  /packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
BluetoothPbapRfcommTransport.java 35 import android.bluetooth.BluetoothSocket;
46 private BluetoothSocket mSocket = null;
48 public BluetoothPbapRfcommTransport(BluetoothSocket rfs) {
BluetoothPbapService.java 47 import android.bluetooth.BluetoothSocket;
179 private BluetoothSocket mConnSocket = null;
  /development/samples/BluetoothChat/src/com/example/android/BluetoothChat/
BluetoothChatService.java 27 import android.bluetooth.BluetoothSocket;
137 * @param socket The BluetoothSocket on which the connection was made
140 public synchronized void connected(BluetoothSocket socket, BluetoothDevice device) {
246 BluetoothSocket socket = null;
301 private final BluetoothSocket mmSocket;
306 BluetoothSocket tmp = null;
308 // Get a BluetoothSocket for a connection with the
325 // Make a connection to the BluetoothSocket
366 private final BluetoothSocket mmSocket;
370 public ConnectedThread(BluetoothSocket socket)
    [all...]
  /frameworks/base/core/java/android/server/
BluetoothService.java 31 import android.bluetooth.BluetoothSocket;
    [all...]
  /prebuilt/sdk/6/
android.jar 

Completed in 141 milliseconds