Home
last modified time | relevance | path

Searched refs:BluetoothSocket (Results 1 – 14 of 14) 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.java1420 public BluetoothSocket createRfcommSocket(int channel) throws IOException { in createRfcommSocket()
1425 return new BluetoothSocket(BluetoothSocket.TYPE_RFCOMM, -1, true, true, this, channel, in createRfcommSocket()
1454 public BluetoothSocket createL2capSocket(int channel) throws IOException { in createL2capSocket()
1455 return new BluetoothSocket(BluetoothSocket.TYPE_L2CAP, -1, true, true, this, channel, in createL2capSocket()
1475 public BluetoothSocket createInsecureL2capSocket(int channel) throws IOException { in createInsecureL2capSocket()
1476 return new BluetoothSocket(BluetoothSocket.TYPE_L2CAP, -1, false, false, this, channel, in createInsecureL2capSocket()
1511 public BluetoothSocket createRfcommSocketToServiceRecord(UUID uuid) throws IOException { in createRfcommSocketToServiceRecord()
1517 return new BluetoothSocket(BluetoothSocket.TYPE_RFCOMM, -1, true, true, this, -1, in createRfcommSocketToServiceRecord()
1549 public BluetoothSocket createInsecureRfcommSocketToServiceRecord(UUID uuid) throws IOException { in createInsecureRfcommSocketToServiceRecord()
1554 return new BluetoothSocket(BluetoothSocket.TYPE_RFCOMM, -1, false, false, this, -1, in createInsecureRfcommSocketToServiceRecord()
[all …]
DBluetoothSocket.java86 public final class BluetoothSocket implements Closeable { class
164 /*package*/ BluetoothSocket(int type, int fd, boolean auth, boolean encrypt, in BluetoothSocket() method in BluetoothSocket
183 /*package*/ BluetoothSocket(int type, int fd, boolean auth, boolean encrypt, in BluetoothSocket() method in BluetoothSocket
187 if (type == BluetoothSocket.TYPE_RFCOMM && uuid == null && fd == -1 in BluetoothSocket()
217 private BluetoothSocket(BluetoothSocket s) { in BluetoothSocket() method in BluetoothSocket
234 private BluetoothSocket acceptSocket(String RemoteAddr) throws IOException { in acceptSocket()
235 BluetoothSocket as = new BluetoothSocket(this); in acceptSocket()
264 private BluetoothSocket(int type, int fd, boolean auth, boolean encrypt, String address, in BluetoothSocket() method in BluetoothSocket
456 /*package*/ BluetoothSocket accept(int timeout) throws IOException { in accept()
457 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.java1722 BluetoothSocket.TYPE_RFCOMM, true, true, channel, mitm, min16DigitPin); in listenUsingRfcommOn()
1836 socket = new BluetoothServerSocket(BluetoothSocket.TYPE_RFCOMM, auth, in createNewRfcommSocketAndRecord()
1859 BluetoothSocket.TYPE_RFCOMM, false, false, port); in listenUsingInsecureRfcommOn()
1884 BluetoothSocket.TYPE_RFCOMM, false, true, port); in listenUsingEncryptedRfcommOn()
1908 BluetoothSocket.TYPE_SCO, false, false, -1); in listenUsingScoOn()
1934 BluetoothSocket.TYPE_L2CAP, true, true, port, mitm, min16DigitPin); in listenUsingL2capOn()
1977 BluetoothSocket.TYPE_L2CAP, false, false, port, false, false); in listenUsingInsecureL2capOn()
/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/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/
Dcompiled-classes-phone732 android.bluetooth.BluetoothSocket
733 android.bluetooth.BluetoothSocket$SocketState
/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 {
/frameworks/base/api/
Dcurrent.txt7580 …method public android.bluetooth.BluetoothSocket createInsecureRfcommSocketToServiceRecord(java.uti…
7581 …method public android.bluetooth.BluetoothSocket createRfcommSocketToServiceRecord(java.util.UUID) …
7916 method public android.bluetooth.BluetoothSocket accept() throws java.io.IOException;
7917 method public android.bluetooth.BluetoothSocket accept(int) throws java.io.IOException;
7921 public final class BluetoothSocket implements java.io.Closeable {
Dsystem-current.txt8057 …method public android.bluetooth.BluetoothSocket createInsecureRfcommSocketToServiceRecord(java.uti…
8058 …method public android.bluetooth.BluetoothSocket createRfcommSocketToServiceRecord(java.util.UUID) …
8395 method public android.bluetooth.BluetoothSocket accept() throws java.io.IOException;
8396 method public android.bluetooth.BluetoothSocket accept(int) throws java.io.IOException;
8400 public final class BluetoothSocket implements java.io.Closeable {