Home
last modified time | relevance | path

Searched defs:psm (Results 1 – 25 of 91) sorted by relevance

1234

/packages/modules/Bluetooth/system/blueberry/facade/l2cap/le/
Dfacade.proto22 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
/packages/modules/Bluetooth/system/blueberry/tests/gd/l2cap/le/
Ddual_l2cap_test.py100 def _open_le_coc_from_dut(self, psm=0x33, our_scid=None): argument
106 def _open_channel_from_dut(self, psm=0x33, our_scid=None): argument
117 def _open_unconfigured_channel_from_cert(self, signal_id=1, scid=0x0101, psm=0x33): argument
124 def _open_channel_from_cert(self, signal_id=1, scid=0x0101, psm=0x33): argument
132 …def _open_le_coc_from_cert(self, signal_id=1, scid=0x0101, psm=0x35, mtu=1000, mps=100, initial_cr… argument
Dcert_le_l2cap.py107 def open_channel(self, signal_id, psm, scid, mtu=1000, mps=100, initial_credit=6): argument
120 …def open_channel_with_expected_result(self, psm=0x33, result=LeCreditBasedConnectionResponseResult… argument
127 psm=0x33, argument
139 def verify_and_reject_open_channel_from_remote(self, psm=0x33): argument
/packages/modules/Bluetooth/system/gd/l2cap/le/internal/
Ddynamic_channel_service_manager_impl.cc29 void DynamicChannelServiceManagerImpl::Register(Psm psm, in Register()
48 void DynamicChannelServiceManagerImpl::Unregister(Psm psm, DynamicChannelService::OnUnregisteredCal… in Unregister()
62 DynamicChannelServiceImpl* DynamicChannelServiceManagerImpl::GetService(Psm psm) { in GetService()
Ddynamic_channel_service_manager_test.cc82 Psm psm = 0x41; in TEST_F() local
98 Psm psm = 0x0100; in TEST_F() local
Dsignalling_manager.cc59 void LeSignallingManager::SendConnectionRequest(Psm psm, Cid local_cid, Mtu mtu) { in SendConnectionRequest()
66 void LeSignallingManager::on_security_result_for_outgoing(Psm psm, Cid local_cid, Mtu mtu, bool res… in on_security_result_for_outgoing()
113 void LeSignallingManager::SendEnhancedConnectionRequest(Psm psm, std::vector<Cid> local_cid, Mtu mt… in SendEnhancedConnectionRequest()
178 void LeSignallingManager::OnConnectionRequest(SignalId signal_id, Psm psm, Cid remote_cid, Mtu mtu,… in OnConnectionRequest()
214 void LeSignallingManager::on_security_result_for_incoming(Psm psm, PendingConnection request, bool … in on_security_result_for_incoming()
/packages/modules/Bluetooth/system/gd/l2cap/classic/internal/
Ddynamic_channel_service_manager_impl.cc28 void DynamicChannelServiceManagerImpl::Register(Psm psm, in Register()
51 void DynamicChannelServiceManagerImpl::Unregister(Psm psm, DynamicChannelService::OnUnregisteredCal… in Unregister()
64 DynamicChannelServiceImpl* DynamicChannelServiceManagerImpl::GetService(Psm psm) { in GetService()
Dsignalling_manager.cc91 void ClassicSignallingManager::SendConnectionRequest(Psm psm, Cid local_cid) { in SendConnectionRequest()
104 SecurityEnforcementType type, Psm psm, Cid local_cid, bool result) { in on_security_result_for_outgoing()
172 void ClassicSignallingManager::OnConnectionRequest(SignalId signal_id, Psm psm, Cid remote_cid) { in OnConnectionRequest()
210 Psm psm, Cid remote_cid, SignalId signal_id, bool result) { in on_security_result_for_incoming()
388 auto psm = channel->GetPsm(); in SendInitialConfigRequest() local
931 auto psm = command_just_sent_.psm_; in handle_send_next_command() local
Dlink.cc144 void Link::SendConnectionRequest(Psm psm, Cid local_cid) { in SendConnectionRequest()
148 void Link::SendConnectionRequest(Psm psm, Cid local_cid, in SendConnectionRequest()
186 auto psm = pending_dynamic_psm_list_.begin(); in connect_to_pending_dynamic_channels() local
226 std::shared_ptr<l2cap::internal::DynamicChannelImpl> Link::AllocateDynamicChannel(Psm psm, Cid remo… in AllocateDynamicChannel()
235 …2cap::internal::DynamicChannelImpl> Link::AllocateReservedDynamicChannel(Cid reserved_cid, Psm psm, in AllocateReservedDynamicChannel()
/packages/modules/Bluetooth/system/stack/test/common/
Dmock_l2cap_layer.cc35 uint16_t L2CA_Register(uint16_t psm, const tL2CAP_APPL_INFO& p_cb_info, in L2CA_Register()
43 uint16_t L2CA_ConnectReq(uint16_t psm, const RawAddress& bd_addr) { in L2CA_ConnectReq()
72 uint16_t L2CA_RegisterLECoc(uint16_t psm, const tL2CAP_APPL_INFO& cb_info, in L2CA_RegisterLECoc()
77 void L2CA_DeregisterLECoc(uint16_t psm) { in L2CA_DeregisterLECoc()
85 std::vector<uint16_t> L2CA_ConnectCreditBasedReq(uint16_t psm, in L2CA_ConnectCreditBasedReq()
/packages/modules/Bluetooth/system/blueberry/facade/l2cap/classic/
Dfacade.proto68 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
/packages/modules/Bluetooth/system/blueberry/tests/gd/cert/
Dpy_l2cap.py36 def __init__(self, device, psm, l2cap_stream): argument
63 def __init__(self, grpc_response_future, device, psm, l2cap_stream): argument
90 …def register_dynamic_channel(self, psm=0x33, mode=l2cap_facade_pb2.RetransmissionFlowControlMode.B… argument
95 …def connect_dynamic_channel_to_cert(self, psm=0x33, mode=l2cap_facade_pb2.RetransmissionFlowContro… argument
179 def __init__(self, device, cert_address, psm, l2cap_stream): argument
205 def __init__(self, grpc_response_future, device, cert_address, psm, le_l2cap_stream): argument
235 def register_coc(self, cert_address, psm=0x33, security_level=SecurityLevel.NO_SECURITY): argument
240 def connect_coc_to_cert(self, cert_address, psm=0x33): argument
Dcaptures.py105 def ConnectionRequest(psm): argument
132 def CreditBasedConnectionRequest(psm): argument
/packages/modules/Bluetooth/system/test/mock/
Dmock_stack_l2cap_api.cc98 uint16_t L2CA_Register2(uint16_t psm, const tL2CAP_APPL_INFO& p_cb_info, in L2CA_Register2()
107 uint16_t L2CA_Register(uint16_t psm, const tL2CAP_APPL_INFO& p_cb_info, in L2CA_Register()
116 void L2CA_Deregister(uint16_t psm) { in L2CA_Deregister()
124 void L2CA_FreeLePSM(uint16_t psm) { in L2CA_FreeLePSM()
128 uint16_t L2CA_ConnectReq2(uint16_t psm, const RawAddress& p_bd_addr, in L2CA_ConnectReq2()
134 uint16_t L2CA_ConnectReq(uint16_t psm, const RawAddress& p_bd_addr) { in L2CA_ConnectReq()
138 uint16_t L2CA_RegisterLECoc(uint16_t psm, const tL2CAP_APPL_INFO& p_cb_info, in L2CA_RegisterLECoc()
144 void L2CA_DeregisterLECoc(uint16_t psm) { in L2CA_DeregisterLECoc()
148 uint16_t L2CA_ConnectLECocReq(uint16_t psm, const RawAddress& p_bd_addr, in L2CA_ConnectLECocReq()
165 std::vector<uint16_t> L2CA_ConnectCreditBasedReq(uint16_t psm, in L2CA_ConnectCreditBasedReq()
Dmock_main_shim_l2cap_api.cc121 void bluetooth::shim::L2CA_Deregister(uint16_t psm) { in L2CA_Deregister()
125 uint16_t bluetooth::shim::L2CA_ConnectReq(uint16_t psm, in L2CA_ConnectReq()
146 uint16_t psm, const RawAddress& p_bd_addr, tL2CAP_LE_CFG_INFO* p_cfg) { in L2CA_ConnectCreditBasedReq()
295 void bluetooth::shim::L2CA_FreeLePSM(uint16_t psm) { in L2CA_FreeLePSM()
299 uint16_t bluetooth::shim::L2CA_RegisterLECoc(uint16_t psm, in L2CA_RegisterLECoc()
307 void bluetooth::shim::L2CA_DeregisterLECoc(uint16_t psm) { in L2CA_DeregisterLECoc()
311 uint16_t bluetooth::shim::L2CA_ConnectLECocReq(uint16_t psm, in L2CA_ConnectLECocReq()
/packages/modules/Bluetooth/system/gd/l2cap/internal/
Ddynamic_channel_allocator_test.cc62 Psm psm = 0x03; in TEST_F() local
67 Psm psm = 0x03; in TEST_F() local
78 Psm psm = 0x03; in TEST_F() local
Ddynamic_channel_allocator.cc30 std::shared_ptr<DynamicChannelImpl> DynamicChannelAllocator::AllocateChannel(Psm psm, Cid remote_ci… in AllocateChannel()
56 …ptr<DynamicChannelImpl> DynamicChannelAllocator::AllocateReservedChannel(Cid reserved_cid, Psm psm, in AllocateReservedChannel()
/packages/modules/Bluetooth/system/stack/l2cap/
Dl2c_api.cc66 uint16_t L2CA_Register2(uint16_t psm, const tL2CAP_APPL_INFO& p_cb_info, in L2CA_Register2()
113 uint16_t L2CA_Register(uint16_t psm, const tL2CAP_APPL_INFO& p_cb_info, in L2CA_Register()
196 void L2CA_Deregister(uint16_t psm) { in L2CA_Deregister()
251 uint16_t psm = l2cb.le_dyn_psm; in L2CA_AllocateLePSM() local
295 void L2CA_FreeLePSM(uint16_t psm) { in L2CA_FreeLePSM()
313 uint16_t L2CA_ConnectReq2(uint16_t psm, const RawAddress& p_bd_addr, in L2CA_ConnectReq2()
332 uint16_t L2CA_ConnectReq(uint16_t psm, const RawAddress& p_bd_addr) { in L2CA_ConnectReq()
417 uint16_t L2CA_RegisterLECoc(uint16_t psm, const tL2CAP_APPL_INFO& p_cb_info, in L2CA_RegisterLECoc()
490 void L2CA_DeregisterLECoc(uint16_t psm) { in L2CA_DeregisterLECoc()
539 uint16_t L2CA_ConnectLECocReq(uint16_t psm, const RawAddress& p_bd_addr, in L2CA_ConnectLECocReq()
[all …]
/packages/modules/Bluetooth/system/gd/l2cap/fuzz/
Dfuzz_dynamic_channel_manager.h43 l2cap::Psm psm, in ConnectChannel()
50 l2cap::Psm psm, in RegisterService()
/packages/modules/Bluetooth/system/gd/l2cap/classic/
Ddynamic_channel_manager.cc30 Psm psm, in ConnectChannel()
43 Psm psm, in RegisterService()
Ddynamic_channel_service.h53 …DynamicChannelService(Psm psm, internal::DynamicChannelServiceManagerImpl* manager, os::Handler* h… in DynamicChannelService()
/packages/modules/Bluetooth/system/gd/l2cap/le/
Ddynamic_channel_manager.cc28 … DynamicChannelConfigurationOption configuration_option, Psm psm, in ConnectChannel()
44 bool DynamicChannelManager::RegisterService(Psm psm, DynamicChannelConfigurationOption configuratio… in RegisterService()
Ddynamic_channel_service.h53 …DynamicChannelService(Psm psm, internal::DynamicChannelServiceManagerImpl* manager, os::Handler* h… in DynamicChannelService()
/packages/modules/Bluetooth/system/main/shim/
Dl2c_api.cc76 uint16_t add_classic_cid_token_entry(uint16_t psm) { in add_classic_cid_token_entry()
310 void remove_classic_dynamic_channel_helper(uint16_t psm) { in remove_classic_dynamic_channel_helper()
753 void L2CA_Deregister(uint16_t psm) { in L2CA_Deregister()
764 uint16_t L2CA_ConnectReq(uint16_t psm, const RawAddress& raw_address) { in L2CA_ConnectReq()
776 auto psm = classic_cid_token_to_channel_map_[cid]; in L2CA_DisconnectReq() local
791 auto psm = classic_cid_token_to_channel_map_[cid]; in L2CA_DataWrite() local
815 std::vector<uint16_t> L2CA_ConnectCreditBasedReq(uint16_t psm, in L2CA_ConnectCreditBasedReq()
1140 auto psm = classic_cid_token_to_channel_map_[lcid]; in L2CA_GetRemoteCid() local
1150 auto psm = classic_cid_token_to_channel_map_[cid]; in L2CA_SetTxPriority() local
1175 auto psm = classic_cid_token_to_channel_map_[lcid]; in L2CA_FlushChannel() local
[all …]
/packages/modules/Bluetooth/system/gd/l2cap/
Dpsm.h27 constexpr bool IsPsmValid(Psm psm) { in IsPsmValid()

1234