Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/bluetooth/
DBluetoothServerSocket.java81 /*package*/ final BluetoothSocket mSocket;
99 mSocket = new BluetoothSocket(type, -1, auth, encrypt, null, port, null); in BluetoothServerSocket()
121 mSocket = new BluetoothSocket(type, -1, auth, encrypt, null, port, null, mitm, in BluetoothServerSocket()
140 mSocket = new BluetoothSocket(type, -1, auth, encrypt, null, -1, uuid); in BluetoothServerSocket()
156 public BluetoothSocket accept() throws IOException { in accept()
170 public BluetoothSocket accept(int timeout) throws IOException { in accept()
246 case BluetoothSocket.TYPE_RFCOMM: { in toString()
250 case BluetoothSocket.TYPE_L2CAP: { in toString()
254 case BluetoothSocket.TYPE_L2CAP_LE: { in toString()
258 case BluetoothSocket.TYPE_SCO: { in toString()
DBluetoothDevice.java1826 public BluetoothSocket createRfcommSocket(int channel) throws IOException { in createRfcommSocket()
1831 return new BluetoothSocket(BluetoothSocket.TYPE_RFCOMM, -1, true, true, this, channel, in createRfcommSocket()
1860 public BluetoothSocket createL2capSocket(int channel) throws IOException { in createL2capSocket()
1861 return new BluetoothSocket(BluetoothSocket.TYPE_L2CAP, -1, true, true, this, channel, in createL2capSocket()
1881 public BluetoothSocket createInsecureL2capSocket(int channel) throws IOException { in createInsecureL2capSocket()
1882 return new BluetoothSocket(BluetoothSocket.TYPE_L2CAP, -1, false, false, this, channel, in createInsecureL2capSocket()
1917 public BluetoothSocket createRfcommSocketToServiceRecord(UUID uuid) throws IOException { in createRfcommSocketToServiceRecord()
1923 return new BluetoothSocket(BluetoothSocket.TYPE_RFCOMM, -1, true, true, this, -1, in createRfcommSocketToServiceRecord()
1955 public BluetoothSocket createInsecureRfcommSocketToServiceRecord(UUID uuid) throws IOException { in createInsecureRfcommSocketToServiceRecord()
1960 return new BluetoothSocket(BluetoothSocket.TYPE_RFCOMM, -1, false, false, this, -1, in createInsecureRfcommSocketToServiceRecord()
[all …]
DBluetoothSocket.java85 public final class BluetoothSocket implements Closeable { class
178 /*package*/ BluetoothSocket(int type, int fd, boolean auth, boolean encrypt, in BluetoothSocket() method in BluetoothSocket
198 /*package*/ BluetoothSocket(int type, int fd, boolean auth, boolean encrypt, in BluetoothSocket() method in BluetoothSocket
202 if (type == BluetoothSocket.TYPE_RFCOMM && uuid == null && fd == -1 in BluetoothSocket()
235 private BluetoothSocket(BluetoothSocket s) { in BluetoothSocket() method in BluetoothSocket
253 private BluetoothSocket acceptSocket(String remoteAddr) throws IOException { in acceptSocket()
254 BluetoothSocket as = new BluetoothSocket(this); in acceptSocket()
285 private BluetoothSocket(int type, int fd, boolean auth, boolean encrypt, String address, in BluetoothSocket() method in BluetoothSocket
490 /*package*/ BluetoothSocket accept(int timeout) throws IOException { in accept()
491 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.java2187 new BluetoothServerSocket(BluetoothSocket.TYPE_RFCOMM, true, true, channel, mitm, in listenUsingRfcommOn()
2306 socket = new BluetoothServerSocket(BluetoothSocket.TYPE_RFCOMM, auth, encrypt, in createNewRfcommSocketAndRecord()
2330 new BluetoothServerSocket(BluetoothSocket.TYPE_RFCOMM, false, false, port); in listenUsingInsecureRfcommOn()
2355 new BluetoothServerSocket(BluetoothSocket.TYPE_RFCOMM, false, true, port); in listenUsingEncryptedRfcommOn()
2380 new BluetoothServerSocket(BluetoothSocket.TYPE_SCO, false, false, -1); in listenUsingScoOn()
2408 new BluetoothServerSocket(BluetoothSocket.TYPE_L2CAP, true, true, port, mitm, in listenUsingL2capOn()
2457 new BluetoothServerSocket(BluetoothSocket.TYPE_L2CAP, false, false, port, false, in listenUsingInsecureL2capOn()
3066 new BluetoothServerSocket(BluetoothSocket.TYPE_L2CAP_LE, true, true, in listenUsingL2capChannel()
3124 new BluetoothServerSocket(BluetoothSocket.TYPE_L2CAP_LE, false, false, in listenUsingInsecureL2capChannel()
/frameworks/base/core/tests/BTtraffic/src/com/android/google/experimental/bttraffic/
DBTtraffic.java7 import android.bluetooth.BluetoothSocket;
193 BluetoothSocket socket = null; in run()
280 BluetoothSocket socket = null; in run()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt10789 …oid/bluetooth/BluetoothDevice;->createInsecureL2capCocSocket(II)Landroid/bluetooth/BluetoothSocket;
10790 Landroid/bluetooth/BluetoothDevice;->createInsecureL2capSocket(I)Landroid/bluetooth/BluetoothSocket;
10791 Landroid/bluetooth/BluetoothDevice;->createL2capCocSocket(II)Landroid/bluetooth/BluetoothSocket;
10792 Landroid/bluetooth/BluetoothDevice;->createL2capSocket(I)Landroid/bluetooth/BluetoothSocket;
11290 Landroid/bluetooth/BluetoothInputStream;-><init>(Landroid/bluetooth/BluetoothSocket;)V
11291 Landroid/bluetooth/BluetoothInputStream;->mSocket:Landroid/bluetooth/BluetoothSocket;
11377 Landroid/bluetooth/BluetoothOutputStream;-><init>(Landroid/bluetooth/BluetoothSocket;)V
11378 Landroid/bluetooth/BluetoothOutputStream;->mSocket:Landroid/bluetooth/BluetoothSocket;
11513 Landroid/bluetooth/BluetoothSocket$SocketState;
11514 Landroid/bluetooth/BluetoothSocket$SocketState;-><init>()V
[all …]
Dpreloaded-classes693 android.bluetooth.BluetoothSocket$SocketState
694 android.bluetooth.BluetoothSocket
Dboot-image-profile.txt3240 HSPLandroid/bluetooth/BluetoothSocket$SocketState;-><init>(Ljava/lang/String;I)V
32785 Landroid/bluetooth/BluetoothSocket$SocketState;
32786 Landroid/bluetooth/BluetoothSocket;
41153 HSPLandroid/bluetooth/BluetoothInputStream;-><init>(Landroid/bluetooth/BluetoothSocket;)V
41155 HSPLandroid/bluetooth/BluetoothOutputStream;-><init>(Landroid/bluetooth/BluetoothSocket;)V
41168 HSPLandroid/bluetooth/BluetoothServerSocket;->accept(I)Landroid/bluetooth/BluetoothSocket;
41169 HSPLandroid/bluetooth/BluetoothServerSocket;->accept()Landroid/bluetooth/BluetoothSocket;
41174 HSPLandroid/bluetooth/BluetoothSocket;->accept(I)Landroid/bluetooth/BluetoothSocket;
41175 HSPLandroid/bluetooth/BluetoothSocket;->bindListen()I
41176 HSPLandroid/bluetooth/BluetoothSocket;->getPort()I
[all …]
/frameworks/base/cmds/statsd/src/
Datoms.proto2219 // frameworks/base/core/java/android/bluetooth/BluetoothSocket.java
/frameworks/base/api/
Dcurrent.txt8353 …oid.Manifest.permission.BLUETOOTH) @NonNull public android.bluetooth.BluetoothSocket createInsecur…
8354 …sion(android.Manifest.permission.BLUETOOTH) public android.bluetooth.BluetoothSocket createInsecur…
8355 …oid.Manifest.permission.BLUETOOTH) @NonNull public android.bluetooth.BluetoothSocket createL2capCh…
8356 …sion(android.Manifest.permission.BLUETOOTH) public android.bluetooth.BluetoothSocket createRfcommS…
8776 method public android.bluetooth.BluetoothSocket accept() throws java.io.IOException;
8777 method public android.bluetooth.BluetoothSocket accept(int) throws java.io.IOException;
8782 public final class BluetoothSocket implements java.io.Closeable {
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt6194 …method public android.bluetooth.BluetoothSocket createInsecureRfcommSocketToServiceRecord(java.uti…
6195 …method public android.bluetooth.BluetoothSocket createRfcommSocketToServiceRecord(java.util.UUID) …
6500 method public android.bluetooth.BluetoothSocket accept() throws java.io.IOException;
6501 method public android.bluetooth.BluetoothSocket accept(int) throws java.io.IOException;
6505 public final class BluetoothSocket implements java.io.Closeable {