/aosp_15_r20/external/pigweed/pw_bluetooth_sapphire/host/sdp/ |
H A D | server.cc | 41 l2cap::Psm psm) { in IsQueuedPsm() 50 bool IsValidPsm(l2cap::Psm psm) { in IsValidPsm() 199 l2cap::Psm psm = FindProtocolListPsm(*protocol_list); in PsmFromProtocolList() local 321 l2cap::Psm psm, in AddPsmToProtocol() 344 uint16_t psm = l2cap::kMinDynamicPsm + offset; in GetDynamicPsm() local 389 auto psm = PsmFromProtocolList(&primary_protocol); in QueueService() local 426 auto psm = PsmFromProtocolList(additional); in QueueService() local 453 auto psm = *attribute.Get<uint16_t>(); in QueueService() local 536 for (const auto& psm : psms_to_register) { in RegisterService() local 602 for (const auto& psm : psms_it.mapped()) { in UnregisterService() local [all …]
|
/aosp_15_r20/packages/modules/Bluetooth/system/test/mock/ |
D | mock_stack_l2cap_api.cc | 85 uint16_t L2CA_RegisterWithSecurity(uint16_t psm, const tL2CAP_APPL_INFO& p_cb_info, in L2CA_RegisterWithSecurity() 93 uint16_t L2CA_Register(uint16_t psm, const tL2CAP_APPL_INFO& p_cb_info, bool enable_snoop, in L2CA_Register() 100 void L2CA_Deregister(uint16_t psm) { in L2CA_Deregister() 108 void L2CA_FreeLePSM(uint16_t psm) { in L2CA_FreeLePSM() 112 uint16_t L2CA_ConnectReqWithSecurity(uint16_t psm, const RawAddress& p_bd_addr, in L2CA_ConnectReqWithSecurity() 117 uint16_t L2CA_ConnectReq(uint16_t psm, const RawAddress& p_bd_addr) { in L2CA_ConnectReq() 121 uint16_t L2CA_RegisterLECoc(uint16_t psm, const tL2CAP_APPL_INFO& p_cb_info, uint16_t sec_level, in L2CA_RegisterLECoc() 126 void L2CA_DeregisterLECoc(uint16_t psm) { in L2CA_DeregisterLECoc() 130 uint16_t L2CA_ConnectLECocReq(uint16_t psm, const RawAddress& p_bd_addr, tL2CAP_LE_CFG_INFO* p_cfg, in L2CA_ConnectLECocReq() 146 std::vector<uint16_t> L2CA_ConnectCreditBasedReq(uint16_t psm, const RawAddress& p_bd_addr, in L2CA_ConnectCreditBasedReq()
|
/aosp_15_r20/packages/modules/Bluetooth/system/stack/l2cap/ |
D | l2cap_api.cc | 27 uint16_t psm, const tL2CAP_APPL_INFO& p_cb_info, bool enable_snoop, in L2CA_Register() 35 uint16_t psm, const tL2CAP_APPL_INFO& p_cb_info, bool enable_snoop, in L2CA_RegisterWithSecurity() 42 void bluetooth::stack::l2cap::Impl::L2CA_Deregister(uint16_t psm) { ::L2CA_Deregister(psm); } in L2CA_Deregister() 48 void bluetooth::stack::l2cap::Impl::L2CA_FreeLePSM(uint16_t psm) { return ::L2CA_FreeLePSM(psm); } in L2CA_FreeLePSM() 50 [[nodiscard]] uint16_t bluetooth::stack::l2cap::Impl::L2CA_ConnectReq(uint16_t psm, in L2CA_ConnectReq() 56 uint16_t psm, const RawAddress& p_bd_addr, uint16_t sec_level) { in L2CA_ConnectReqWithSecurity() 61 uint16_t psm, const tL2CAP_APPL_INFO& p_cb_info, uint16_t sec_level, in L2CA_RegisterLECoc() 66 void bluetooth::stack::l2cap::Impl::L2CA_DeregisterLECoc(uint16_t psm) { in L2CA_DeregisterLECoc() 71 uint16_t psm, const RawAddress& p_bd_addr, tL2CAP_LE_CFG_INFO* p_cfg, uint16_t sec_level) { in L2CA_ConnectLECocReq() 91 uint16_t psm, const RawAddress& p_bd_addr, tL2CAP_LE_CFG_INFO* p_cfg) { in L2CA_ConnectCreditBasedReq()
|
D | l2c_api.cc | 61 uint16_t L2CA_RegisterWithSecurity(uint16_t psm, const tL2CAP_APPL_INFO& p_cb_info, in L2CA_RegisterWithSecurity() 106 uint16_t L2CA_Register(uint16_t psm, const tL2CAP_APPL_INFO& p_cb_info, bool enable_snoop, in L2CA_Register() argument 180 void L2CA_Deregister(uint16_t psm) { in L2CA_Deregister() 224 uint16_t psm = l2cb.le_dyn_psm; in L2CA_AllocateLePSM() local 267 void L2CA_FreeLePSM(uint16_t psm) { in L2CA_FreeLePSM() 281 uint16_t L2CA_ConnectReqWithSecurity(uint16_t psm, const RawAddress& p_bd_addr, in L2CA_ConnectReqWithSecurity() 300 uint16_t L2CA_ConnectReq(uint16_t psm, const RawAddress& p_bd_addr) { in L2CA_ConnectReq() 378 uint16_t L2CA_RegisterLECoc(uint16_t psm, const tL2CAP_APPL_INFO& p_cb_info, uint16_t sec_level, in L2CA_RegisterLECoc() 446 void L2CA_DeregisterLECoc(uint16_t psm) { in L2CA_DeregisterLECoc() 496 uint16_t L2CA_ConnectLECocReq(uint16_t psm, const RawAddress& p_bd_addr, tL2CAP_LE_CFG_INFO* p_cfg, in L2CA_ConnectLECocReq() [all …]
|
/aosp_15_r20/packages/modules/Bluetooth/system/blueberry/facade/l2cap/le/ |
D | facade.proto | 22 uint32 psm = 1; field 29 uint32 psm = 1; field 35 uint32 psm = 2; field 44 uint32 psm = 2; field 56 uint32 psm = 1; field 63 uint32 psm = 2; field
|
/aosp_15_r20/external/pigweed/pw_bluetooth_sapphire/host/l2cap/ |
H A D | le_dynamic_channel.cc | 64 Psm psm, ChannelId local_cid, ChannelParameters params) { in MakeOutbound() 69 Psm psm, in MakeInbound() 78 uint16_t psm, in OnRxLeCreditBasedConnectionRequest() 149 Psm psm, in MakeOutbound() 165 Psm psm, in MakeInbound() 184 Psm psm, in LeDynamicChannel()
|
H A D | dynamic_channel_registry_test.cc | 30 Psm psm, in FakeDynamicChannel() 132 DynamicChannelPtr MakeOutbound(Psm psm, in MakeOutbound() 138 DynamicChannelPtr MakeInbound(Psm psm, in MakeInbound() 148 Psm psm, ChannelId local_cid, ChannelId remote_cid) { in MakeChannelInternal() 246 auto service_request_cb = [&service_request_cb_called](Psm psm) { in TEST() 277 std::move(open_result_cb)](Psm psm) mutable { in TEST() 313 std::move(open_result_cb)](Psm psm) mutable { in TEST()
|
H A D | bredr_dynamic_channel.cc | 66 Psm psm, ChannelId local_cid, ChannelParameters params) { in MakeOutbound() 72 Psm psm, in MakeInbound() 81 Psm psm, in OnRxConnReq() 326 Psm psm, in MakeOutbound() 343 Psm psm, in MakeInbound() 824 Psm psm, in BrEdrDynamicChannel()
|
H A D | fake_l2cap.cc | 52 l2cap::Psm psm, in ExpectOutboundL2capChannel() 65 l2cap::Psm psm, in TriggerInboundL2capChannel() 174 l2cap::Psm psm, in OpenL2capChannel() 235 bool FakeL2cap::RegisterService(l2cap::Psm psm, in RegisterService() 244 void FakeL2cap::UnregisterService(l2cap::Psm psm) { in UnregisterService()
|
H A D | channel_manager.cc | 141 Psm psm; member 283 Psm psm, in OpenL2capChannel() 299 bool ChannelManagerImpl::RegisterService(Psm psm, in RegisterService() 322 void ChannelManagerImpl::UnregisterService(Psm psm) { services_.erase(psm); } in UnregisterService() 458 hci_spec::ConnectionHandle, Psm psm) { in QueryService()
|
/aosp_15_r20/packages/modules/Bluetooth/system/blueberry/facade/l2cap/classic/ |
D | facade.proto | 68 uint32 psm = 2; field 73 uint32 psm = 1; field 98 uint32 psm = 1; field 105 uint32 psm = 1; field 112 uint32 psm = 2; field 118 uint32 psm = 2; field
|
/aosp_15_r20/packages/modules/Bluetooth/system/stack/test/common/ |
D | mock_l2cap_layer.cc | 37 uint16_t L2CA_Register(uint16_t psm, const tL2CAP_APPL_INFO& p_cb_info, bool enable_snoop, in L2CA_Register() argument 44 uint16_t L2CA_ConnectReq(uint16_t psm, const RawAddress& bd_addr) { in L2CA_ConnectReq() 64 uint16_t L2CA_RegisterLECoc(uint16_t psm, const tL2CAP_APPL_INFO& cb_info, uint16_t sec_level, in L2CA_RegisterLECoc() 69 void L2CA_DeregisterLECoc(uint16_t psm) { return l2cap_interface->DeregisterLECoc(psm); } in L2CA_DeregisterLECoc() 75 std::vector<uint16_t> L2CA_ConnectCreditBasedReq(uint16_t psm, const RawAddress& bd_addr, in L2CA_ConnectCreditBasedReq()
|
/aosp_15_r20/packages/modules/Bluetooth/android/pandora/server/src/ |
D | L2cap.kt | 67 val psm = in connect() constant 101 val psm = in waitConnection() constant
|
/aosp_15_r20/packages/modules/Bluetooth/system/stack/l2cap/internal/ |
D | l2c_api.h | 81 #define L2C_INVALID_PSM(psm) (((psm) & 0x0101) != 0x0001) argument 82 #define L2C_IS_VALID_PSM(psm) (((psm) & 0x0101) == 0x0001) argument 83 #define L2C_IS_VALID_LE_PSM(psm) (((psm) > 0x0000) && ((psm) < 0x0100)) argument
|
/aosp_15_r20/packages/modules/Bluetooth/system/osi/src/ |
D | stack_power_telemetry.cc | 72 ChannelType PsmToChannelType(const uint16_t& psm) { in PsmToChannelType() 101 int32_t psm = 0; member 545 void power_telemetry::PowerTelemetry::LogChannelConnected(uint16_t psm, int32_t src_id, in LogChannelConnected() 579 void power_telemetry::PowerTelemetry::LogChannelDisconnected(uint16_t psm, int32_t src_id, in LogChannelDisconnected() 607 void power_telemetry::PowerTelemetry::LogTxBytes(uint16_t psm, int32_t src_id, int32_t dst_id, in LogTxBytes() 639 void power_telemetry::PowerTelemetry::LogRxBytes(uint16_t psm, int32_t src_id, int32_t dst_id, in LogRxBytes()
|
/aosp_15_r20/packages/modules/Bluetooth/system/stack/fuzzers/ |
D | bnep_fuzzer.cc | 66 [](uint16_t psm, const RawAddress& p_bd_addr, uint16_t sec_level) { in FakeBtStack() 78 test::mock::stack_l2cap_api::L2CA_Deregister.body = [](uint16_t psm) {}; in FakeBtStack()
|
D | avrc_fuzzer.cc | 74 [](uint16_t psm, const RawAddress& p_bd_addr, uint16_t sec_level) { in FakeBtStack() 92 test::mock::stack_l2cap_api::L2CA_Deregister.body = [](uint16_t psm) {}; in FakeBtStack()
|
D | sdp_fuzzer.cc | 79 [](uint16_t psm, const RawAddress& raw_address) { return kDummyCID; }; in FakeL2cap() 81 [](uint16_t psm, const RawAddress& p_bd_addr, uint16_t sec_level) { in FakeL2cap() 94 uint16_t sec_level) { in FakeL2cap()
|
/aosp_15_r20/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ |
H A D | ShadowBluetoothDevice.java | 285 protected BluetoothSocket createInsecureL2capChannel(int psm) throws IOException { in createInsecureL2capChannel() 292 protected BluetoothSocket createL2capChannel(int psm) throws IOException { in createL2capChannel() 521 BluetoothSocket createInsecureL2capChannel(int psm); in createInsecureL2capChannel() 524 BluetoothSocket createL2capChannel(int psm); in createL2capChannel()
|
/aosp_15_r20/external/pigweed/pw_bluetooth_sapphire/host/testing/ |
H A D | fake_l2cap.cc | 44 void FakeL2cap::RegisterService(l2cap::Psm psm, in RegisterService() 53 l2cap::Psm psm, in RegisterDynamicChannel() 111 bool FakeL2cap::ServiceRegisteredForPsm(l2cap::Psm psm) { in ServiceRegisteredForPsm()
|
/aosp_15_r20/packages/modules/Bluetooth/system/stack/btm/ |
D | btm_sec_cb.cc | 99 tBTM_SEC_SERV_REC* tBTM_SEC_CB::find_first_serv_rec(bool is_originator, uint16_t psm) { in find_first_serv_rec() 205 uint16_t sec_level, uint16_t psm, uint32_t mx_proto_id, in AddService() 339 uint8_t tBTM_SEC_CB::RemoveServiceByPsm(uint16_t psm) { in RemoveServiceByPsm()
|
/aosp_15_r20/packages/apps/DeviceDiagnostics/DeviceDiagnosticsLib/src/main/java/com/android/devicediagnostics/bluetooth/ |
D | BluetoothHelpers.kt | 73 class BluetoothConnectionData(val psm: Int = 0, val challenge: ByteArray) { constant in com.android.devicediagnostics.bluetooth.BluetoothConnectionData 88 val psm = obj.getInt(JSON_PSM_KEY) in fromJson() constant
|
/aosp_15_r20/packages/modules/Bluetooth/system/stack/test/ |
D | stack_avctp_test.cc | 57 uint16_t /* g */) { in SetUp() 157 [](uint16_t psm, const RawAddress /* bd_addr */, uint16_t /* sec_level */) { in TEST_F() argument
|
/aosp_15_r20/external/python/bumble/apps/ |
D | l2cap_bridge.py | 43 def __init__(self, psm, max_credits, mtu, mps, tcp_host, tcp_port): argument 160 def __init__(self, psm, max_credits, mtu, mps, address, tcp_host, tcp_port): argument 308 psm, argument
|
/aosp_15_r20/packages/modules/Bluetooth/system/stack/include/ |
D | l2cap_types.h | 31 #define L2C_INVALID_PSM(psm) (((psm) & 0x0101) != 0x0001) argument 32 #define L2C_IS_VALID_PSM(psm) (((psm) & 0x0101) == 0x0001) argument 33 #define L2C_IS_VALID_LE_PSM(psm) (((psm) > 0x0000) && ((psm) < 0x0100)) argument
|