Home
last modified time | relevance | path

Searched refs:BluetoothSocket (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/java/android/bluetooth/
DBluetoothServerSocket.java70 /*package*/ final BluetoothSocket mSocket;
87 mSocket = new BluetoothSocket(type, -1, auth, encrypt, null, port, null); in BluetoothServerSocket()
101 mSocket = new BluetoothSocket(type, -1, auth, encrypt, null, -1, uuid); in BluetoothServerSocket()
116 public BluetoothSocket accept() throws IOException { in accept()
130 public BluetoothSocket accept(int timeout) throws IOException { in accept()
DBluetoothDevice.java1037 public BluetoothSocket createRfcommSocket(int channel) throws IOException { in createRfcommSocket()
1038 return new BluetoothSocket(BluetoothSocket.TYPE_RFCOMM, -1, true, true, this, channel, in createRfcommSocket()
1073 public BluetoothSocket createRfcommSocketToServiceRecord(UUID uuid) throws IOException { in createRfcommSocketToServiceRecord()
1074 return new BluetoothSocket(BluetoothSocket.TYPE_RFCOMM, -1, true, true, this, -1, in createRfcommSocketToServiceRecord()
1106 public BluetoothSocket createInsecureRfcommSocketToServiceRecord(UUID uuid) throws IOException { in createInsecureRfcommSocketToServiceRecord()
1107 return new BluetoothSocket(BluetoothSocket.TYPE_RFCOMM, -1, false, false, this, -1, in createInsecureRfcommSocketToServiceRecord()
1125 public BluetoothSocket createInsecureRfcommSocket(int port) throws IOException { in createInsecureRfcommSocket()
1126 return new BluetoothSocket(BluetoothSocket.TYPE_RFCOMM, -1, false, false, this, port, in createInsecureRfcommSocket()
1140 public BluetoothSocket createScoSocket() throws IOException { in createScoSocket()
1141 return new BluetoothSocket(BluetoothSocket.TYPE_SCO, -1, true, true, this, -1, null); in createScoSocket()
DBluetoothSocket.java86 public final class BluetoothSocket implements Closeable { class
149 /*package*/ BluetoothSocket(int type, int fd, boolean auth, boolean encrypt, in BluetoothSocket() method in BluetoothSocket
151 if (type == BluetoothSocket.TYPE_RFCOMM && uuid == null && fd == -1) { in BluetoothSocket()
178 private BluetoothSocket(BluetoothSocket s) { in BluetoothSocket() method in BluetoothSocket
188 private BluetoothSocket acceptSocket(String RemoteAddr) throws IOException { in acceptSocket()
189 BluetoothSocket as = new BluetoothSocket(this); in acceptSocket()
216 private BluetoothSocket(int type, int fd, boolean auth, boolean encrypt, String address, in BluetoothSocket() method in BluetoothSocket
387 /*package*/ BluetoothSocket accept(int timeout) throws IOException { in accept()
388 BluetoothSocket acceptedSocket; in accept()
DBluetoothOutputStream.java30 private BluetoothSocket mSocket;
32 /*package*/ BluetoothOutputStream(BluetoothSocket s) { in BluetoothOutputStream()
DBluetoothInputStream.java30 private BluetoothSocket mSocket;
32 /*package*/ BluetoothInputStream(BluetoothSocket s) { in BluetoothInputStream()
DBluetoothAdapter.java922 BluetoothSocket.TYPE_RFCOMM, true, true, channel); in listenUsingRfcommOn()
1033 socket = new BluetoothServerSocket(BluetoothSocket.TYPE_RFCOMM, auth, in createNewRfcommSocketAndRecord()
1056 BluetoothSocket.TYPE_RFCOMM, false, false, port); in listenUsingInsecureRfcommOn()
1078 BluetoothSocket.TYPE_RFCOMM, false, true, port); in listenUsingEncryptedRfcommOn()
1099 BluetoothSocket.TYPE_SCO, false, false, -1); in listenUsingScoOn()
/frameworks/base/docs/html/guide/topics/connectivity/
Dbluetooth.jd41 <li>{@link android.bluetooth.BluetoothSocket}</li>
98 with a remote device through a {@link android.bluetooth.BluetoothSocket} or
102 <dt>{@link android.bluetooth.BluetoothSocket}</dt>
114 android.bluetooth.BluetoothSocket} when the
482 {@link android.bluetooth.BluetoothSocket} on the same RFCOMM channel. At this
489 android.bluetooth.BluetoothSocket} in different ways. The server will receive it
519 provide a connected {@link android.bluetooth.BluetoothSocket}. When the {@link
520 android.bluetooth.BluetoothSocket} is acquired from the {@link
564 return a connected {@link android.bluetooth.BluetoothSocket}.</p>
570 connected {@link android.bluetooth.BluetoothSocket} that's been returned by {@link
[all …]
/frameworks/base/docs/html/tools/adk/
Dadk2.jd439 {@link android.bluetooth.BluetoothSocket} connection request in the Android application code.</p>
475 negotiation fails and the {@link android.bluetooth.BluetoothSocket} is not created. Once a
/frameworks/base/docs/html/
Dsitemap.txt3015 http://developer.android.com/reference/android/bluetooth/BluetoothSocket.html
6148 http://developer.android.com/sdk/api_diff/14/changes/android.bluetooth.BluetoothSocket.html
/frameworks/base/api/
Dcurrent.txt4870 …method public android.bluetooth.BluetoothSocket createInsecureRfcommSocketToServiceRecord(java.uti…
4871 …method public android.bluetooth.BluetoothSocket createRfcommSocketToServiceRecord(java.util.UUID) …
5157 method public android.bluetooth.BluetoothSocket accept() throws java.io.IOException;
5158 method public android.bluetooth.BluetoothSocket accept(int) throws java.io.IOException;
5162 public final class BluetoothSocket implements java.io.Closeable {