Home
last modified time | relevance | path

Searched refs:TYPE_L2CAP (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/
DBluetoothObexTransport.java94 if (mSocket.getConnectionType() != BluetoothSocket.TYPE_L2CAP in getMaxTransmitPacketSize()
103 if (mSocket.getConnectionType() != BluetoothSocket.TYPE_L2CAP) { in getMaxReceivePacketSize()
124 if (mSocket.getConnectionType() == BluetoothSocket.TYPE_L2CAP) { in isSrmSupported()
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothSocket.java105 public static final int TYPE_L2CAP = 3; field in BluetoothSocket
112 public static final int TYPE_L2CAP_BREDR = TYPE_L2CAP;
631 if ((mType == TYPE_L2CAP) || (mType == TYPE_L2CAP_LE)) { in read()
679 if ((mType == TYPE_L2CAP) || (mType == TYPE_L2CAP_LE)) { in write()
790 return TYPE_L2CAP; in getConnectionType()
995 if ((mType == TYPE_L2CAP) || (mType == TYPE_L2CAP_LE)) { in createL2capRxBuffer()
DBluetoothServerSocket.java297 case BluetoothSocket.TYPE_L2CAP: in toString()
DBluetoothDevice.java2902 return new BluetoothSocket(BluetoothSocket.TYPE_L2CAP, true, true, this, channel, null); in createL2capSocket()
2927 return new BluetoothSocket(BluetoothSocket.TYPE_L2CAP, false, false, this, channel, null); in createInsecureL2capSocket()
DBluetoothAdapter.java3407 BluetoothSocket.TYPE_L2CAP, true, true, port, mitm, min16DigitPin); in listenUsingL2capOn()
3461 BluetoothSocket.TYPE_L2CAP, false, false, port, false, false); in listenUsingInsecureL2capOn()
/packages/modules/Bluetooth/framework/api/
Dcurrent.txt1082 field public static final int TYPE_L2CAP = 3; // 0x3