Home
last modified time | relevance | path

Searched refs:BluetoothSocket (Results 1 – 10 of 10) 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()
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.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/
Dpreloaded-classes693 android.bluetooth.BluetoothSocket$SocketState
694 android.bluetooth.BluetoothSocket
/frameworks/base/cmds/statsd/src/
Datoms.proto2219 // frameworks/base/core/java/android/bluetooth/BluetoothSocket.java
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...