Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/bluetooth/
DBluetoothServerSocket.java71 /*package*/ final BluetoothSocket mSocket;
88 mSocket = new BluetoothSocket(type, -1, auth, encrypt, null, port, null); in BluetoothServerSocket()
109 mSocket = new BluetoothSocket(type, -1, auth, encrypt, null, port, null, mitm, in BluetoothServerSocket()
127 mSocket = new BluetoothSocket(type, -1, auth, encrypt, null, -1, uuid); in BluetoothServerSocket()
143 public BluetoothSocket accept() throws IOException { in accept()
157 public BluetoothSocket accept(int timeout) throws IOException { in accept()
216 case BluetoothSocket.TYPE_RFCOMM: in toString()
221 case BluetoothSocket.TYPE_L2CAP: in toString()
226 case BluetoothSocket.TYPE_SCO: in toString()
DBluetoothDevice.java1353 public BluetoothSocket createRfcommSocket(int channel) throws IOException { in createRfcommSocket()
1358 return new BluetoothSocket(BluetoothSocket.TYPE_RFCOMM, -1, true, true, this, channel, in createRfcommSocket()
1387 public BluetoothSocket createL2capSocket(int channel) throws IOException { in createL2capSocket()
1388 return new BluetoothSocket(BluetoothSocket.TYPE_L2CAP, -1, true, true, this, channel, in createL2capSocket()
1424 public BluetoothSocket createRfcommSocketToServiceRecord(UUID uuid) throws IOException { in createRfcommSocketToServiceRecord()
1430 return new BluetoothSocket(BluetoothSocket.TYPE_RFCOMM, -1, true, true, this, -1, in createRfcommSocketToServiceRecord()
1463 public BluetoothSocket createInsecureRfcommSocketToServiceRecord(UUID uuid) throws IOException { in createInsecureRfcommSocketToServiceRecord()
1468 return new BluetoothSocket(BluetoothSocket.TYPE_RFCOMM, -1, false, false, this, -1, in createInsecureRfcommSocketToServiceRecord()
1486 public BluetoothSocket createInsecureRfcommSocket(int port) throws IOException { in createInsecureRfcommSocket()
1492 return new BluetoothSocket(BluetoothSocket.TYPE_RFCOMM, -1, false, false, this, port, in createInsecureRfcommSocket()
[all …]
DBluetoothSocket.java85 public final class BluetoothSocket implements Closeable { class
163 /*package*/ BluetoothSocket(int type, int fd, boolean auth, boolean encrypt, in BluetoothSocket() method in BluetoothSocket
182 /*package*/ BluetoothSocket(int type, int fd, boolean auth, boolean encrypt, in BluetoothSocket() method in BluetoothSocket
186 if (type == BluetoothSocket.TYPE_RFCOMM && uuid == null && fd == -1 in BluetoothSocket()
216 private BluetoothSocket(BluetoothSocket s) { in BluetoothSocket() method in BluetoothSocket
233 private BluetoothSocket acceptSocket(String RemoteAddr) throws IOException { in acceptSocket()
234 BluetoothSocket as = new BluetoothSocket(this); in acceptSocket()
263 private BluetoothSocket(int type, int fd, boolean auth, boolean encrypt, String address, in BluetoothSocket() method in BluetoothSocket
450 /*package*/ BluetoothSocket accept(int timeout) throws IOException { in accept()
451 BluetoothSocket acceptedSocket; in accept()
DBluetoothInputStream.java30 private BluetoothSocket mSocket;
32 /*package*/ BluetoothInputStream(BluetoothSocket s) { in BluetoothInputStream()
DBluetoothOutputStream.java30 private BluetoothSocket mSocket;
32 /*package*/ BluetoothOutputStream(BluetoothSocket s) { in BluetoothOutputStream()
DBluetoothAdapter.java1514 BluetoothSocket.TYPE_RFCOMM, true, true, channel, mitm, min16DigitPin); in listenUsingRfcommOn()
1630 socket = new BluetoothServerSocket(BluetoothSocket.TYPE_RFCOMM, auth, in createNewRfcommSocketAndRecord()
1653 BluetoothSocket.TYPE_RFCOMM, false, false, port); in listenUsingInsecureRfcommOn()
1678 BluetoothSocket.TYPE_RFCOMM, false, true, port); in listenUsingEncryptedRfcommOn()
1702 BluetoothSocket.TYPE_SCO, false, false, -1); in listenUsingScoOn()
1728 BluetoothSocket.TYPE_L2CAP, true, true, port, mitm, min16DigitPin); in listenUsingL2capOn()
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
DBluetoothMapRfcommTransport.java19 import android.bluetooth.BluetoothSocket;
30 private final BluetoothSocket mSocket;
32 public BluetoothMapRfcommTransport(BluetoothSocket socket) { in BluetoothMapRfcommTransport()
DBluetoothMnsService.java21 import android.bluetooth.BluetoothSocket;
109 BluetoothSocket sock = mServerSocket.accept(); in run()
DBluetoothMasClient.java21 import android.bluetooth.BluetoothSocket;
462 private BluetoothSocket socket = null;
/frameworks/opt/bluetooth/src/android/bluetooth/client/pbap/
DBluetoothPbapObexTransport.java19 import android.bluetooth.BluetoothSocket;
31 private BluetoothSocket mSocket = null;
33 public BluetoothPbapObexTransport(BluetoothSocket rfs) { in BluetoothPbapObexTransport()
DBluetoothPbapSession.java21 import android.bluetooth.BluetoothSocket;
293 private BluetoothSocket mSocket;
/frameworks/base/docs/html/guide/topics/connectivity/
Dbluetooth.jd35 <li>{@link android.bluetooth.BluetoothSocket}</li>
97 with a remote device through a {@link android.bluetooth.BluetoothSocket} or
101 <dt>{@link android.bluetooth.BluetoothSocket}</dt>
113 android.bluetooth.BluetoothSocket} when the
477 {@link android.bluetooth.BluetoothSocket} on the same RFCOMM channel. At this
484 android.bluetooth.BluetoothSocket} in different ways. The server will receive it
514 provide a connected {@link android.bluetooth.BluetoothSocket}. When the {@link
515 android.bluetooth.BluetoothSocket} is acquired from the {@link
559 return a connected {@link android.bluetooth.BluetoothSocket}.</p>
565 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.txt3014 http://developer.android.com/reference/android/bluetooth/BluetoothSocket.html
6147 http://developer.android.com/sdk/api_diff/14/changes/android.bluetooth.BluetoothSocket.html
/frameworks/base/api/
Dcurrent.txt6660 …method public android.bluetooth.BluetoothSocket createInsecureRfcommSocketToServiceRecord(java.uti…
6661 …method public android.bluetooth.BluetoothSocket createRfcommSocketToServiceRecord(java.util.UUID) …
6970 method public android.bluetooth.BluetoothSocket accept() throws java.io.IOException;
6971 method public android.bluetooth.BluetoothSocket accept(int) throws java.io.IOException;
6975 public final class BluetoothSocket implements java.io.Closeable {
Dsystem-current.txt6878 …method public android.bluetooth.BluetoothSocket createInsecureRfcommSocketToServiceRecord(java.uti…
6879 …method public android.bluetooth.BluetoothSocket createRfcommSocketToServiceRecord(java.util.UUID) …
7190 method public android.bluetooth.BluetoothSocket accept() throws java.io.IOException;
7191 method public android.bluetooth.BluetoothSocket accept(int) throws java.io.IOException;
7195 public final class BluetoothSocket implements java.io.Closeable {