Home
last modified time | relevance | path

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

12

/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothServerSocket.java80 /*package*/ final BluetoothSocket mSocket;
106 mSocket = new BluetoothSocket(type, auth, encrypt, null, port, null); in BluetoothServerSocket()
130 mSocket = new BluetoothSocket(type, auth, encrypt, null, port, null, mitm, min16DigitPin); in BluetoothServerSocket()
150 mSocket = new BluetoothSocket(type, auth, encrypt, null, -1, uuid); in BluetoothServerSocket()
168 public BluetoothSocket accept() throws IOException { in accept()
184 public BluetoothSocket accept(int timeout) throws IOException { in accept()
186 BluetoothSocket acceptedSocket = null; in accept()
292 case BluetoothSocket.TYPE_RFCOMM: in toString()
297 case BluetoothSocket.TYPE_L2CAP: in toString()
302 case BluetoothSocket.TYPE_L2CAP_LE: in toString()
[all …]
DSocketMetrics.java63 if (connType == BluetoothSocket.TYPE_L2CAP_LE) { in logSocketConnect()
76 } else if (connType == BluetoothSocket.TYPE_RFCOMM) { in logSocketConnect()
94 BluetoothSocket acceptedSocket, in logSocketAccept()
95 BluetoothSocket socket, in logSocketAccept()
103 if (connType != BluetoothSocket.TYPE_L2CAP_LE) { in logSocketAccept()
DBluetoothSocket.java88 public final class BluetoothSocket implements Closeable { class
193 /*package*/ BluetoothSocket( in BluetoothSocket() method in BluetoothSocket
217 /*package*/ BluetoothSocket( in BluetoothSocket() method in BluetoothSocket
229 if (type == BluetoothSocket.TYPE_RFCOMM in BluetoothSocket()
276 /*package*/ static BluetoothSocket createSocketFromOpenFd( in createSocketFromOpenFd()
278 BluetoothSocket bluetoothSocket = in createSocketFromOpenFd()
279 new BluetoothSocket(TYPE_RFCOMM, true, true, device, -1, uuid); in createSocketFromOpenFd()
290 private BluetoothSocket(BluetoothSocket s) { in BluetoothSocket() method in BluetoothSocket
311 private BluetoothSocket acceptSocket(String remoteAddr) throws IOException { in acceptSocket()
312 BluetoothSocket as = new BluetoothSocket(this); in acceptSocket()
[all …]
DBluetoothDevice.java2865 public BluetoothSocket createRfcommSocket(int channel) throws IOException { in createRfcommSocket()
2870 return new BluetoothSocket(BluetoothSocket.TYPE_RFCOMM, true, true, this, channel, null); in createRfcommSocket()
2901 public BluetoothSocket createL2capSocket(int channel) throws IOException { in createL2capSocket()
2902 return new BluetoothSocket(BluetoothSocket.TYPE_L2CAP, true, true, this, channel, null); in createL2capSocket()
2926 public BluetoothSocket createInsecureL2capSocket(int channel) throws IOException { in createInsecureL2capSocket()
2927 return new BluetoothSocket(BluetoothSocket.TYPE_L2CAP, false, false, this, channel, null); in createInsecureL2capSocket()
2964 public BluetoothSocket createRfcommSocketToServiceRecord(UUID uuid) throws IOException { in createRfcommSocketToServiceRecord()
2970 return new BluetoothSocket( in createRfcommSocketToServiceRecord()
2971 BluetoothSocket.TYPE_RFCOMM, true, true, this, -1, new ParcelUuid(uuid)); in createRfcommSocketToServiceRecord()
3007 public BluetoothSocket createInsecureRfcommSocketToServiceRecord(UUID uuid) throws IOException { in createInsecureRfcommSocketToServiceRecord()
[all …]
DBluetoothOutputStream.java33 private BluetoothSocket mSocket;
35 /*package*/ BluetoothOutputStream(BluetoothSocket s) { in BluetoothOutputStream()
DBluetoothInputStream.java33 private BluetoothSocket mSocket;
35 /*package*/ BluetoothInputStream(BluetoothSocket s) { in BluetoothInputStream()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/
DBluetoothObexTransport.java18 import android.bluetooth.BluetoothSocket;
31 private BluetoothSocket mSocket = null;
41 public BluetoothObexTransport(BluetoothSocket socket) { in BluetoothObexTransport()
45 public BluetoothObexTransport(BluetoothSocket socket, int transmitSize, int receiveSize) { in BluetoothObexTransport()
94 if (mSocket.getConnectionType() != BluetoothSocket.TYPE_L2CAP in getMaxTransmitPacketSize()
103 if (mSocket.getConnectionType() != BluetoothSocket.TYPE_L2CAP) { in getMaxReceivePacketSize()
117 return mSocket.getConnectionType() == BluetoothSocket.TYPE_RFCOMM in getRemoteAddress()
124 if (mSocket.getConnectionType() == BluetoothSocket.TYPE_L2CAP) { in isSrmSupported()
DObexRejectServer.java18 import android.bluetooth.BluetoothSocket;
45 private final BluetoothSocket mSocket;
50 public ObexRejectServer(int result, BluetoothSocket socket) { in ObexRejectServer()
DIObexConnectionHandler.java18 import android.bluetooth.BluetoothSocket;
29 boolean onConnect(BluetoothDevice device, BluetoothSocket socket); in onConnect()
DObexServerSockets.java21 import android.bluetooth.BluetoothSocket;
226 private synchronized boolean onConnect(BluetoothDevice device, BluetoothSocket conSocket) { in onConnect()
306 BluetoothSocket connSocket; in run()
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/
Dsocket_manager.rs141 ) -> BluetoothSocket { in to_connecting_socket() argument
142 let mut sock = BluetoothSocket::new(); in to_connecting_socket()
187 pub struct BluetoothSocket { struct
199 impl Default for BluetoothSocket { argument
201 BluetoothSocket::new() in default()
205 impl BluetoothSocket { impl
207 BluetoothSocket { in new()
221 BluetoothSocket { in make_l2cap_channel()
238 BluetoothSocket { in make_rfcomm_channel()
252 impl fmt::Display for BluetoothSocket { implementation
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcp/
DAvrcpCoverArtService.java20 import android.bluetooth.BluetoothSocket;
176 private boolean connect(BluetoothDevice device, BluetoothSocket socket) { in connect()
243 public synchronized boolean onConnect(BluetoothDevice device, BluetoothSocket socket) { in onConnect()
/packages/modules/Bluetooth/android/pandora/server/src/
DRfcomm.kt21 import android.bluetooth.BluetoothSocket
54 val connection: BluetoothSocket,
143 val acceptedSocket: BluetoothSocket = serverMap[request.server.id]!!.accept(2000) in acceptConnection()
/packages/services/Car/libs/obd2-lib/src/com/android/car/obd2/connections/
DBluetoothConnection.java21 import android.bluetooth.BluetoothSocket;
41 private BluetoothSocket mSocket = null;
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mapclient/
DMnsService.java21 import android.bluetooth.BluetoothSocket;
117 public synchronized boolean onConnect(BluetoothDevice device, BluetoothSocket socket) { in onConnect()
DMasClient.java20 import android.bluetooth.BluetoothSocket;
82 private BluetoothSocket mSocket;
/packages/modules/Bluetooth/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt290 …oid/bluetooth/BluetoothDevice;->createInsecureL2capCocSocket(II)Landroid/bluetooth/BluetoothSocket;
291 Landroid/bluetooth/BluetoothDevice;->createInsecureL2capSocket(I)Landroid/bluetooth/BluetoothSocket;
292 Landroid/bluetooth/BluetoothDevice;->createL2capCocSocket(II)Landroid/bluetooth/BluetoothSocket;
293 Landroid/bluetooth/BluetoothDevice;->createL2capSocket(I)Landroid/bluetooth/BluetoothSocket;
782 Landroid/bluetooth/BluetoothInputStream;-><init>(Landroid/bluetooth/BluetoothSocket;)V
783 Landroid/bluetooth/BluetoothInputStream;->mSocket:Landroid/bluetooth/BluetoothSocket;
864 Landroid/bluetooth/BluetoothOutputStream;-><init>(Landroid/bluetooth/BluetoothSocket;)V
865 Landroid/bluetooth/BluetoothOutputStream;->mSocket:Landroid/bluetooth/BluetoothSocket;
994 Landroid/bluetooth/BluetoothSocket$SocketState;->CLOSED:Landroid/bluetooth/BluetoothSocket$SocketSt…
995 Landroid/bluetooth/BluetoothSocket$SocketState;->CONNECTED:Landroid/bluetooth/BluetoothSocket$Socke…
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pbap/
DPbapStateMachine.java30 import android.bluetooth.BluetoothSocket;
86 private BluetoothSocket mConnSocket;
96 @NonNull BluetoothSocket connSocket, in PbapStateMachine()
121 BluetoothSocket connSocket, in make()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DBluetoothSocketManagerBinder.java20 import android.bluetooth.BluetoothSocket;
80 type == BluetoothSocket.TYPE_L2CAP_LE in connectSocket()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/pbap/
DPbapStateMachineTest.java24 import android.bluetooth.BluetoothSocket;
58 private BluetoothSocket mSocket;
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pbapclient/
DPbapClientConnectionHandler.java21 import android.bluetooth.BluetoothSocket;
135 private BluetoothSocket mSocket;
275 synchronized BluetoothSocket getSocket() { in getSocket()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/
DBluetoothMapMasInstance.java21 import android.bluetooth.BluetoothSocket;
77 private BluetoothSocket mConnSocket = null;
502 public synchronized boolean onConnect(BluetoothDevice device, BluetoothSocket socket) { in onConnect()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/
DAvrcpBipClient.java21 import android.bluetooth.BluetoothSocket;
83 private BluetoothSocket mSocket;
/packages/modules/Bluetooth/system/gd/rust/linux/service/src/
Diface_bluetooth.rs24 BluetoothServerSocket, BluetoothSocket, BluetoothSocketManager, CallbackId,
793 #[dbus_propmap(BluetoothSocket)]
830 connection: BluetoothSocket, in on_handle_incoming_connection() argument
840 socket: Option<BluetoothSocket>, in on_outgoing_connection_result() argument
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/
DBluetoothOppTransfer.java42 import android.bluetooth.BluetoothSocket;
729 private BluetoothSocket mBtSocket = null;
914 private void markConnectionFailed(BluetoothSocket s) { in markConnectionFailed()

12