Home
last modified time | relevance | path

Searched refs:psm (Results 1 – 25 of 120) sorted by relevance

12345

/packages/modules/Bluetooth/system/blueberry/tests/gd/l2cap/classic/
Dpts_l2cap_test.py72 psm = 1
73 …under_test.l2cap.OpenChannel(l2cap_facade_pb2.OpenChannelRequest(remote=self.pts_address, psm=psm))
82 psm = 1
85 … l2cap_facade_pb2.SetEnableDynamicChannelRequest(psm=psm, retransmission_mode=retransmission_mode))
95 psm = 1
98 … l2cap_facade_pb2.SetEnableDynamicChannelRequest(psm=psm, retransmission_mode=retransmission_mode))
107 psm = 1
110 … l2cap_facade_pb2.SetEnableDynamicChannelRequest(psm=psm, retransmission_mode=retransmission_mode))
120 psm = 1
123 … l2cap_facade_pb2.SetEnableDynamicChannelRequest(psm=psm, retransmission_mode=retransmission_mode))
[all …]
/packages/modules/Bluetooth/system/stack/l2cap/
Dl2c_api.cc62 uint16_t L2CA_Register2(uint16_t psm, const tL2CAP_APPL_INFO& p_cb_info, in L2CA_Register2() argument
66 auto ret = L2CA_Register(psm, p_cb_info, enable_snoop, p_ertm_info, my_mtu, in L2CA_Register2()
68 BTM_SetSecurityLevel(false, "", 0, sec_level, psm, 0, 0); in L2CA_Register2()
109 uint16_t L2CA_Register(uint16_t psm, const tL2CAP_APPL_INFO& p_cb_info, in L2CA_Register() argument
114 return bluetooth::shim::L2CA_Register(psm, p_cb_info, enable_snoop, in L2CA_Register()
125 uint16_t vpsm = psm; in L2CA_Register()
136 psm, config_cfm_cb, config_ind_cb, data_ind_cb, disconnect_ind_cb); in L2CA_Register()
141 if (L2C_INVALID_PSM(psm)) { in L2CA_Register()
142 LOG_ERROR("L2CAP - invalid PSM value, PSM: 0x%04x", psm); in L2CA_Register()
148 if ((psm >= 0x1001) && (p_cb_info.pL2CA_ConnectInd_Cb == NULL)) { in L2CA_Register()
[all …]
/packages/modules/Bluetooth/system/blueberry/tests/gd/cert/
Dpy_l2cap.py36 def __init__(self, device, psm, l2cap_stream): argument
38 self._psm = psm
48 l2cap_facade_pb2.DynamicChannelPacket(psm=self._psm, payload=payload))
51 self._device.l2cap.CloseChannel(l2cap_facade_pb2.CloseChannelRequest(psm=self._psm))
54 …self._device.l2cap.SetTrafficPaused(l2cap_facade_pb2.SetTrafficPausedRequest(psm=self._psm, paused…
63 def __init__(self, grpc_response_future, device, psm, l2cap_stream): argument
66 self._psm = psm
90 …def register_dynamic_channel(self, psm=0x33, mode=l2cap_facade_pb2.RetransmissionFlowControlMode.B… argument
92 l2cap_facade_pb2.SetEnableDynamicChannelRequest(psm=psm, retransmission_mode=mode))
93 return PyL2capChannel(self._device, psm, self._l2cap_stream)
[all …]
/packages/modules/Bluetooth/system/test/mock/
Dmock_stack_l2cap_api.h77 std::function<uint16_t(uint16_t psm, const tL2CAP_APPL_INFO& p_cb_info,
81 body{[](uint16_t psm, const tL2CAP_APPL_INFO& p_cb_info,
84 uint16_t operator()(uint16_t psm, const tL2CAP_APPL_INFO& p_cb_info, in operator()
88 return body(psm, p_cb_info, enable_snoop, p_ertm_info, my_mtu, in operator()
98 std::function<uint16_t(uint16_t psm, const tL2CAP_APPL_INFO& p_cb_info,
102 body{[](uint16_t psm, const tL2CAP_APPL_INFO& p_cb_info,
105 uint16_t operator()(uint16_t psm, const tL2CAP_APPL_INFO& p_cb_info, in operator()
109 return body(psm, p_cb_info, enable_snoop, p_ertm_info, my_mtu, in operator()
118 std::function<void(uint16_t psm)> body{[](uint16_t psm) {}};
119 void operator()(uint16_t psm) { body(psm); }; in operator()
[all …]
Dmock_stack_l2cap_api.cc115 uint16_t L2CA_Register2(uint16_t psm, const tL2CAP_APPL_INFO& p_cb_info, in L2CA_Register2() argument
121 psm, p_cb_info, enable_snoop, p_ertm_info, my_mtu, required_remote_mtu, in L2CA_Register2()
124 uint16_t L2CA_Register(uint16_t psm, const tL2CAP_APPL_INFO& p_cb_info, in L2CA_Register() argument
130 psm, p_cb_info, enable_snoop, p_ertm_info, my_mtu, required_remote_mtu, in L2CA_Register()
133 void L2CA_Deregister(uint16_t psm) { in L2CA_Deregister() argument
135 test::mock::stack_l2cap_api::L2CA_Deregister(psm); in L2CA_Deregister()
141 void L2CA_FreeLePSM(uint16_t psm) { in L2CA_FreeLePSM() argument
143 test::mock::stack_l2cap_api::L2CA_FreeLePSM(psm); in L2CA_FreeLePSM()
145 uint16_t L2CA_ConnectReq2(uint16_t psm, const RawAddress& p_bd_addr, in L2CA_ConnectReq2() argument
148 return test::mock::stack_l2cap_api::L2CA_ConnectReq2(psm, p_bd_addr, in L2CA_ConnectReq2()
[all …]
Dmock_main_shim_l2cap_api.h127 std::function<void(uint16_t psm)> body{[](uint16_t psm) {}};
128 void operator()(uint16_t psm) { body(psm); }; in operator()
135 std::function<uint16_t(uint16_t psm, const RawAddress& raw_address)> body{
136 [](uint16_t psm, const RawAddress& raw_address) { return 0; }};
137 uint16_t operator()(uint16_t psm, const RawAddress& raw_address) { in operator()
138 return body(psm, raw_address); in operator()
180 std::function<std::vector<uint16_t>(uint16_t psm, const RawAddress& p_bd_addr,
182 body{[this](uint16_t psm, const RawAddress& p_bd_addr,
184 std::vector<uint16_t> operator()(uint16_t psm, const RawAddress& p_bd_addr, in operator()
186 return body(psm, p_bd_addr, p_cfg); in operator()
[all …]
Dmock_main_shim_l2cap_api.cc123 void bluetooth::shim::L2CA_Deregister(uint16_t psm) { in L2CA_Deregister() argument
125 test::mock::main_shim_l2cap_api::L2CA_Deregister(psm); in L2CA_Deregister()
127 uint16_t bluetooth::shim::L2CA_ConnectReq(uint16_t psm, in L2CA_ConnectReq() argument
130 return test::mock::main_shim_l2cap_api::L2CA_ConnectReq(psm, raw_address); in L2CA_ConnectReq()
148 uint16_t psm, const RawAddress& p_bd_addr, tL2CAP_LE_CFG_INFO* p_cfg) { in L2CA_ConnectCreditBasedReq() argument
151 psm, p_bd_addr, p_cfg); in L2CA_ConnectCreditBasedReq()
297 void bluetooth::shim::L2CA_FreeLePSM(uint16_t psm) { in L2CA_FreeLePSM() argument
299 test::mock::main_shim_l2cap_api::L2CA_FreeLePSM(psm); in L2CA_FreeLePSM()
301 uint16_t bluetooth::shim::L2CA_RegisterLECoc(uint16_t psm, in L2CA_RegisterLECoc() argument
306 return test::mock::main_shim_l2cap_api::L2CA_RegisterLECoc(psm, callbacks, in L2CA_RegisterLECoc()
[all …]
/packages/modules/Bluetooth/system/blueberry/tests/gd/l2cap/le/
Dle_l2cap_test.py92 psm=0x33, argument
111 response_future = self.dut_l2cap.connect_coc_to_cert(self.cert_address, psm)
114 cert_channel = self.cert_l2cap.verify_and_respond_open_channel_from_remote(psm)
118 …def _open_channel_from_cert(self, signal_id=1, scid=0x0101, psm=0x33, mtu=1000, mps=100, initial_c… argument
120 dut_channel = self.dut_l2cap.register_coc(self.cert_address, psm)
121 cert_channel = self.cert_l2cap.open_channel(signal_id, psm, scid, mtu, mps, initial_credit)
125 def _open_channel_from_dut(self, psm=0x33): argument
126 response_future = self.dut_l2cap.connect_coc_to_cert(self.cert_address, psm)
127 cert_channel = self.cert_l2cap.verify_and_respond_open_channel_from_remote(psm)
272 … (dut_channel_x, cert_channel_x) = self._open_channel_from_cert(signal_id=1, scid=0x0103, psm=0x33)
[all …]
Ddual_l2cap_test.py101 def _open_le_coc_from_dut(self, psm=0x33, our_scid=None): argument
102 response_future = self.dut_le_l2cap.connect_coc_to_cert(self.cert_address, psm)
103 …cert_channel = self.cert_le_l2cap.verify_and_respond_open_channel_from_remote(psm=psm, our_scid=ou…
107 def _open_channel_from_dut(self, psm=0x33, our_scid=None): argument
108 dut_channel_future = self.dut_l2cap.connect_dynamic_channel_to_cert(psm)
109 … cert_channel = self.cert_l2cap.verify_and_respond_open_channel_from_remote(psm=psm, scid=our_scid)
118 def _open_unconfigured_channel_from_cert(self, signal_id=1, scid=0x0101, psm=0x33): argument
120 dut_channel = self.dut_l2cap.register_dynamic_channel(psm)
121 cert_channel = self.cert_l2cap.open_channel(signal_id, psm, scid)
125 def _open_channel_from_cert(self, signal_id=1, scid=0x0101, psm=0x33): argument
[all …]
/packages/modules/Bluetooth/system/gd/l2cap/classic/internal/
Ddynamic_channel_service_manager_impl.cc28 void DynamicChannelServiceManagerImpl::Register(Psm psm, in Register() argument
30 if (!IsPsmValid(psm)) { in Register()
34 } else if (IsServiceRegistered(psm)) { in Register()
40 psm, in Register()
45 …std::unique_ptr<DynamicChannelService> user_service(new DynamicChannelService(psm, this, l2cap_lay… in Register()
51 void DynamicChannelServiceManagerImpl::Unregister(Psm psm, DynamicChannelService::OnUnregisteredCal… in Unregister() argument
52 if (IsServiceRegistered(psm)) { in Unregister()
53 service_map_.erase(psm); in Unregister()
56 LOG_ERROR("service not registered psm:%d", psm); in Unregister()
60 bool DynamicChannelServiceManagerImpl::IsServiceRegistered(Psm psm) const { in IsServiceRegistered()
[all …]
Dlink.cc144 void Link::SendConnectionRequest(Psm psm, Cid local_cid) { in SendConnectionRequest() argument
145 signalling_manager_.SendConnectionRequest(psm, local_cid); in SendConnectionRequest()
148 void Link::SendConnectionRequest(Psm psm, Cid local_cid, in SendConnectionRequest() argument
153 pending_dynamic_psm_list_.push_back(psm); in SendConnectionRequest()
170 signalling_manager_.SendConnectionRequest(psm, local_cid); in SendConnectionRequest()
186 auto psm = pending_dynamic_psm_list_.begin(); in connect_to_pending_dynamic_channels() local
188 while (psm != pending_dynamic_psm_list_.end()) { in connect_to_pending_dynamic_channels()
189 SendConnectionRequest(*psm, ReserveDynamicChannel(), std::move(*callback)); in connect_to_pending_dynamic_channels()
190 psm++; in connect_to_pending_dynamic_channels()
226 std::shared_ptr<l2cap::internal::DynamicChannelImpl> Link::AllocateDynamicChannel(Psm psm, Cid remo… in AllocateDynamicChannel() argument
[all …]
/packages/modules/Bluetooth/system/gd/l2cap/le/internal/
Ddynamic_channel_service_manager_impl.cc29 void DynamicChannelServiceManagerImpl::Register(Psm psm, in Register() argument
31 if (IsServiceRegistered(psm)) { in Register()
38 psm, DynamicChannelServiceImpl(pending_registration.user_handler_, in Register()
41 …std::unique_ptr<DynamicChannelService> user_service(new DynamicChannelService(psm, this, l2cap_lay… in Register()
48 void DynamicChannelServiceManagerImpl::Unregister(Psm psm, DynamicChannelService::OnUnregisteredCal… in Unregister() argument
50 if (IsServiceRegistered(psm)) { in Unregister()
51 service_map_.erase(psm); in Unregister()
54 LOG_ERROR("service not registered psm:%d", psm); in Unregister()
58 bool DynamicChannelServiceManagerImpl::IsServiceRegistered(Psm psm) const { in IsServiceRegistered()
59 return service_map_.find(psm) != service_map_.end(); in IsServiceRegistered()
[all …]
Ddynamic_channel_service_manager_test.cc82 Psm psm = 0x41; in TEST_F() local
83 EXPECT_FALSE(manager_->IsServiceRegistered(psm)); in TEST_F()
84 manager_->Register(psm, std::move(pending_registration)); in TEST_F()
85 EXPECT_TRUE(manager_->IsServiceRegistered(psm)); in TEST_F()
88 manager_->Unregister(psm, common::BindOnce([] {}), user_handler_); in TEST_F()
89 EXPECT_FALSE(manager_->IsServiceRegistered(psm)); in TEST_F()
98 Psm psm = 0x0100; in TEST_F() local
99 EXPECT_FALSE(manager_->IsServiceRegistered(psm)); in TEST_F()
100 manager_->Register(psm, std::move(pending_registration)); in TEST_F()
101 EXPECT_TRUE(manager_->IsServiceRegistered(psm)); in TEST_F()
Dsignalling_manager.cc59 void LeSignallingManager::SendConnectionRequest(Psm psm, Cid local_cid, Mtu mtu) { in SendConnectionRequest() argument
62 dynamic_service_manager_->GetService(psm)->GetSecurityPolicy(), in SendConnectionRequest()
63 …handler_->BindOnceOn(this, &LeSignallingManager::on_security_result_for_outgoing, psm, local_cid, … 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() argument
73 next_signal_id_, psm, local_cid, mtu, link_->GetMps(), link_->GetInitialCredit()); in on_security_result_for_outgoing()
113 void LeSignallingManager::SendEnhancedConnectionRequest(Psm psm, std::vector<Cid> local_cid, Mtu mt… in SendEnhancedConnectionRequest() argument
178 void LeSignallingManager::OnConnectionRequest(SignalId signal_id, Psm psm, Cid remote_cid, Mtu mtu,… in OnConnectionRequest() argument
181 LOG_WARN("Invalid remote cid received from remote psm:%d remote_cid:%d", psm, remote_cid); in OnConnectionRequest()
187 if (channel_allocator_->IsPsmUsed(psm)) { in OnConnectionRequest()
194 if (!dynamic_service_manager_->IsServiceRegistered(psm)) { in OnConnectionRequest()
[all …]
/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() argument
78 classic_cid_token_to_channel_map_[new_token] = psm; in add_classic_cid_token_entry()
88 void remove_classic_dynamic_channel_helper(uint16_t psm);
91 ClassicDynamicChannelHelper(uint16_t psm, tL2CAP_APPL_INFO appl_info, in ClassicDynamicChannelHelper()
94 : psm_(psm), appl_info_(appl_info), config_(config), policy_(policy) {} in ClassicDynamicChannelHelper()
310 void remove_classic_dynamic_channel_helper(uint16_t psm) { in remove_classic_dynamic_channel_helper() argument
311 if (classic_dynamic_channel_helper_map_.count(psm) != 0 && in remove_classic_dynamic_channel_helper()
312 classic_dynamic_channel_helper_map_[psm]->channels_.empty()) { in remove_classic_dynamic_channel_helper()
313 classic_dynamic_channel_helper_map_.erase(psm); in remove_classic_dynamic_channel_helper()
752 void L2CA_Deregister(uint16_t psm) { in L2CA_Deregister() argument
[all …]
Dl2c_api.h46 uint16_t L2CA_Register(uint16_t psm, const tL2CAP_APPL_INFO& p_cb_info,
61 void L2CA_Deregister(uint16_t psm);
84 void L2CA_FreeLePSM(uint16_t psm);
99 uint16_t L2CA_ConnectReq(uint16_t psm, const RawAddress& p_bd_addr);
115 uint16_t L2CA_RegisterLECoc(uint16_t psm, const tL2CAP_APPL_INFO& p_cb_info,
128 void L2CA_DeregisterLECoc(uint16_t psm);
142 uint16_t L2CA_ConnectLECocReq(uint16_t psm, const RawAddress& p_bd_addr,
185 uint16_t psm, const RawAddress& p_bd_addr, tL2CAP_LE_CFG_INFO* p_cfg);
/packages/modules/Bluetooth/system/stack/include/
Dl2c_api.h106 #define L2C_INVALID_PSM(psm) (((psm)&0x0101) != 0x0001) argument
107 #define L2C_IS_VALID_PSM(psm) (((psm)&0x0101) == 0x0001) argument
108 #define L2C_IS_VALID_LE_PSM(psm) (((psm) > 0x0000) && ((psm) < 0x0100)) argument
292 uint16_t psm, uint16_t peer_mtu,
365 uint16_t L2CA_Register2(uint16_t psm, const tL2CAP_APPL_INFO& p_cb_info,
384 extern uint16_t L2CA_Register(uint16_t psm, const tL2CAP_APPL_INFO& p_cb_info,
399 extern void L2CA_Deregister(uint16_t psm);
422 extern void L2CA_FreeLePSM(uint16_t psm);
424 extern uint16_t L2CA_ConnectReq2(uint16_t psm, const RawAddress& p_bd_addr,
439 extern uint16_t L2CA_ConnectReq(uint16_t psm, const RawAddress& p_bd_addr);
[all …]
/packages/modules/Bluetooth/system/stack/test/common/
Dmock_l2cap_layer.cc30 uint16_t L2CA_Register(uint16_t psm, const tL2CAP_APPL_INFO& p_cb_info, in L2CA_Register() argument
34 VLOG(1) << __func__ << ": psm=" << psm << ", enable_snoop=" << enable_snoop; in L2CA_Register()
35 return l2cap_interface->Register(psm, p_cb_info, enable_snoop, p_ertm_info); in L2CA_Register()
38 uint16_t L2CA_ConnectReq(uint16_t psm, const RawAddress& bd_addr) { in L2CA_ConnectReq() argument
39 return l2cap_interface->ConnectRequest(psm, bd_addr); in L2CA_ConnectReq()
67 uint16_t L2CA_RegisterLECoc(uint16_t psm, const tL2CAP_APPL_INFO& cb_info, in L2CA_RegisterLECoc() argument
69 return l2cap_interface->RegisterLECoc(psm, cb_info, sec_level); in L2CA_RegisterLECoc()
72 void L2CA_DeregisterLECoc(uint16_t psm) { in L2CA_DeregisterLECoc() argument
73 return l2cap_interface->DeregisterLECoc(psm); in L2CA_DeregisterLECoc()
80 std::vector<uint16_t> L2CA_ConnectCreditBasedReq(uint16_t psm, in L2CA_ConnectCreditBasedReq() argument
[all …]
Dmock_l2cap_layer.h31 virtual uint16_t Register(uint16_t psm, const tL2CAP_APPL_INFO& p_cb_info,
34 virtual uint16_t ConnectRequest(uint16_t psm, const RawAddress& bd_addr) = 0;
43 …virtual uint16_t RegisterLECoc(uint16_t psm, const tL2CAP_APPL_INFO &cb_info, uint16_t sec_level) …
44 virtual void DeregisterLECoc(uint16_t psm) = 0;
49 virtual std::vector<uint16_t> ConnectCreditBasedReq(uint16_t psm,
62 uint16_t(uint16_t psm, const tL2CAP_APPL_INFO& p_cb_info,
65 uint16_t(uint16_t psm, const RawAddress& bd_addr));
75 uint16_t(uint16_t psm, const tL2CAP_APPL_INFO &cb_info, uint16_t sec_level));
76 MOCK_METHOD1(DeregisterLECoc, void(uint16_t psm));
84 std::vector<uint16_t> (uint16_t psm,
/packages/modules/Bluetooth/system/gd/l2cap/internal/
Ddynamic_channel_allocator_test.cc62 Psm psm = 0x03; in TEST_F() local
63 EXPECT_FALSE(channel_allocator_->IsPsmUsed(psm)); in TEST_F()
67 Psm psm = 0x03; in TEST_F() local
69 auto channel = channel_allocator_->AllocateChannel(psm, remote_cid); in TEST_F()
71 EXPECT_TRUE(channel_allocator_->IsPsmUsed(psm)); in TEST_F()
74 EXPECT_FALSE(channel_allocator_->IsPsmUsed(psm)); in TEST_F()
78 Psm psm = 0x03; in TEST_F() local
81 auto channel = channel_allocator_->AllocateReservedChannel(reserved, psm, remote_cid); in TEST_F()
84 EXPECT_TRUE(channel_allocator_->IsPsmUsed(psm)); in TEST_F()
87 EXPECT_FALSE(channel_allocator_->IsPsmUsed(psm)); in TEST_F()
Ddynamic_channel_allocator.cc30 std::shared_ptr<DynamicChannelImpl> DynamicChannelAllocator::AllocateChannel(Psm psm, Cid remote_ci… in AllocateChannel() argument
44 …channels_.try_emplace(cid, std::make_shared<DynamicChannelImpl>(psm, cid, remote_cid, link_, l2cap… in AllocateChannel()
45 ASSERT_LOG(elem.second, "Failed to create channel for psm 0x%x device %s", psm, in AllocateChannel()
53 …ptr<DynamicChannelImpl> DynamicChannelAllocator::AllocateReservedChannel(Cid reserved_cid, Psm psm, in AllocateReservedChannel() argument
60 …reserved_cid, std::make_shared<DynamicChannelImpl>(psm, reserved_cid, remote_cid, link_, l2cap_han… in AllocateReservedChannel()
61 ASSERT_LOG(elem.second, "Failed to create channel for psm 0x%x device %s", psm, in AllocateReservedChannel()
92 bool DynamicChannelAllocator::IsPsmUsed(Psm psm) const { in IsPsmUsed()
94 if (channel.second->GetPsm() == psm) { in IsPsmUsed()
/packages/modules/Bluetooth/system/stack/gap/
Dgap_conn.cc59 uint16_t psm; member
90 uint16_t psm, uint8_t l2cap_id);
166 bool is_server, const RawAddress* p_rem_bda, uint16_t psm, in GAP_ConnOpen() argument
244 p_ccb->psm = in GAP_ConnOpen()
245 L2CA_Register2(psm, conn.reg_info, false /* enable_snoop */, in GAP_ConnOpen()
247 if (p_ccb->psm == 0) { in GAP_ConnOpen()
249 psm); in GAP_ConnOpen()
256 p_ccb->psm = in GAP_ConnOpen()
257 L2CA_RegisterLECoc(psm, conn.reg_info, security, p_ccb->local_coc_cfg); in GAP_ConnOpen()
258 if (p_ccb->psm == 0) { in GAP_ConnOpen()
[all …]
/packages/modules/Bluetooth/system/gd/l2cap/classic/
Dfacade.cc66 if (dynamic_channel_helper_map_.find(request->psm()) == dynamic_channel_helper_map_.end()) { in SendDynamicChannelPacket()
70 if (!dynamic_channel_helper_map_[request->psm()]->SendPacket(packet)) { in SendDynamicChannelPacket()
79 auto service_helper = dynamic_channel_helper_map_.find(request->psm()); in OpenChannel()
85 dynamic_channel_helper_map_[request->psm()]->Connect(peer); in OpenChannel()
92 auto psm = request->psm(); in CloseChannel() local
93 if (dynamic_channel_helper_map_.find(request->psm()) == dynamic_channel_helper_map_.end()) { in CloseChannel()
96 dynamic_channel_helper_map_[psm]->Disconnect(); in CloseChannel()
110 …request->psm(), std::make_unique<L2capDynamicChannelHelper>(this, l2cap_layer_, facade_handler_, r… in SetDynamicChannel()
117 auto psm = request->psm(); in SetTrafficPaused() local
118 if (dynamic_channel_helper_map_.find(request->psm()) == dynamic_channel_helper_map_.end()) { in SetTrafficPaused()
[all …]
/packages/modules/Bluetooth/system/bta/jv/
Dbta_jv_act.cc345 p_cb->psm = 0; in bta_jv_free_l2c_cb()
533 bool bta_jv_check_psm(uint16_t psm) { in bta_jv_check_psm() argument
536 if (L2C_IS_VALID_PSM(psm)) { in bta_jv_check_psm()
537 if (psm < 0x1001) { in bta_jv_check_psm()
539 switch (psm) { in bta_jv_check_psm()
603 uint16_t psm = bta_jv_cb.free_psm_list[i]; in bta_jv_get_free_psm() local
604 if (psm != 0) { in bta_jv_get_free_psm()
605 VLOG(2) << __func__ << ": Reusing PSM=" << loghex(psm); in bta_jv_get_free_psm()
607 return psm; in bta_jv_get_free_psm()
613 static void bta_jv_set_free_psm(uint16_t psm) { in bta_jv_set_free_psm() argument
[all …]
/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

12345