Home
last modified time | relevance | path

Searched refs:getL2capPsm (Results 1 – 23 of 23) sorted by relevance

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcp/
DAvrcpCoverArtService.java113 registerBipServer(mServerSockets.getL2capPsm()); in startBipServer()
115 debug("Service started, psm=" + mServerSockets.getL2capPsm()); in startBipServer()
139 private int getL2capPsm() { in getL2capPsm() method in AvrcpCoverArtService
141 return (mServerLock != null ? mServerSockets.getL2capPsm() : 0); in getL2capPsm()
264 int psm = getL2capPsm(); in dump()
/packages/modules/Bluetooth/framework/tests/unit/src/android/bluetooth/
DSdpMnsRecordTest.java50 assertThat(record.getL2capPsm()).isEqualTo(l2capPsm); in createSdpMnsRecord()
80 assertThat(recordOut.getL2capPsm()).isEqualTo(originalRecord.getL2capPsm()); in writeToParcel()
DSdpOppOpsRecordTest.java49 assertThat(record.getL2capPsm()).isEqualTo(l2capPsm); in createSdpOppOpsRecord()
75 assertThat(recordOut.getL2capPsm()).isEqualTo(originalRecord.getL2capPsm()); in writeToParcel()
DSdpPseRecordTest.java52 assertThat(record.getL2capPsm()).isEqualTo(l2capPsm); in createSdpPseRecord()
85 assertThat(recordOut.getL2capPsm()).isEqualTo(originalRecord.getL2capPsm()); in writeToParcel()
DSdpMasRecordTest.java55 assertThat(record.getL2capPsm()).isEqualTo(l2capPsm); in createSdpMasRecord()
91 assertThat(recordOut.getL2capPsm()).isEqualTo(originalRecord.getL2capPsm()); in writeToParcel()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/pbapclient/
DPbapClientConnectionHandlerTest.java133 when(record.getL2capPsm()).thenReturn(PbapClientConnectionHandler.L2CAP_INVALID_PSM); in connectSocket_whenBluetoothIsNotEnabled_returnsFalse_withInvalidL2capPsm()
142 when(record.getL2capPsm()).thenReturn(1); // Valid PSM ranges 1 to 30; in connectSocket_whenBluetoothIsNotEnabled_returnsFalse_withValidL2capPsm()
156 when(record.getL2capPsm()).thenReturn(1); // Valid PSM ranges 1 to 30; in abort()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pbapclient/
DPbapClientConnectionHandler.java290 } else if (mPseRec.getL2capPsm() != L2CAP_INVALID_PSM) { in connectSocket()
291 Log.v(TAG, "connectSocket: PSM: " + mPseRec.getL2capPsm()); in connectSocket()
292 mSocket = mDevice.createL2capSocket(mPseRec.getL2capPsm()); in connectSocket()
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DSdpMnsRecord.java55 public int getL2capPsm() { in getL2capPsm() method in SdpMnsRecord
DSdpPseRecord.java60 public int getL2capPsm() { in getL2capPsm() method in SdpPseRecord
DSdpOppOpsRecord.java51 public int getL2capPsm() { in getL2capPsm() method in SdpOppOpsRecord
DSdpMasRecord.java75 public int getL2capPsm() { in getL2capPsm() method in SdpMasRecord
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mapclient/
DMnsService.java64 sServerSockets.getL2capPsm(), in MnsService()
DMasClient.java110 int l2capSocket = mSdpMasRecord.getL2capPsm(); in connect()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/
DAvrcpBipClientTest.java103 assertThat(client.getL2capPsm()).isEqualTo(TEST_PSM); in constructor()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/
DBluetoothMnsObexClient.java317 if (isValidMnsRecord() && mMnsRecord.getL2capPsm() > 0) { in connect()
319 btSocket = mRemoteDevice.createL2capSocket(mMnsRecord.getL2capPsm()); in connect()
DBluetoothMapMasInstance.java303 mServerSockets.getRfcommChannel(), mServerSockets.getL2capPsm()); in startSocketListeners()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/
DObexServerSockets.java200 public int getL2capPsm() { in getL2capPsm() method in ObexServerSockets
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/
DAvrcpBipClient.java195 public int getL2capPsm() { in getL2capPsm() method in AvrcpBipClient
DAvrcpCoverArtManager.java418 connect(mDevice, client.getL2capPsm()); in onConnectionStateChanged()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/
DBluetoothOppTransfer.java221 new SocketConnectThread(mDevice, false, true, record.getL2capPsm()); in onReceive()
DBluetoothOppService.java538 mServerSocket.getL2capPsm(), in startSocketListener()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pbap/
DBluetoothPbapService.java389 mServerSockets.getL2capPsm(), in createSdpRecord()
/packages/modules/Bluetooth/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt2721 Landroid/bluetooth/SdpMasRecord;->getL2capPsm()I
2739 Landroid/bluetooth/SdpMnsRecord;->getL2capPsm()I
2753 Landroid/bluetooth/SdpOppOpsRecord;->getL2capPsm()I
2765 Landroid/bluetooth/SdpPseRecord;->getL2capPsm()I