Home
last modified time | relevance | path

Searched refs:channel_ (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Bluetooth/system/gd/l2cap/le/
Dfacade.cc100 if (service_helper->second->channel_ == nullptr) { in CloseDynamicChannel()
103 auto address = service_helper->second->channel_->GetDevice().GetAddress(); in CloseDynamicChannel()
112 service_helper->second->channel_->Close(); in CloseDynamicChannel()
164 if (channel_ != nullptr) { in ~L2capDynamicChannelHelper()
165 channel_->GetQueueUpEnd()->UnregisterDequeue(); in ~L2capDynamicChannelHelper()
166 channel_ = nullptr; in ~L2capDynamicChannelHelper()
175 …if (!channel_open_cv_.wait_for(lock, kChannelOpenTimeout, [this] { return channel_ != nullptr; }))… in Connect()
193 channel_ = std::move(channel); in on_connection_open()
196 channel_->RegisterOnCloseCallback( in on_connection_open()
198 channel_->GetQueueUpEnd()->RegisterDequeue( in on_connection_open()
[all …]
/packages/modules/Bluetooth/system/gd/security/channel/
Dsecurity_manager_channel_unittest.cc230 channel_ = new FakeSecurityManagerChannel(handler_, hci_layer_); in SetUp()
231 channel_->SetChannelListener(callback_); in SetUp()
232 security_interface_ = new FakeSecurityInterface(handler_, channel_); in SetUp()
233 channel_->SetSecurityInterface(security_interface_); in SetUp()
237 channel_->SetChannelListener(nullptr); in TearDown()
242 delete channel_; in TearDown()
256 SecurityManagerChannel* channel_ = nullptr; member in bluetooth::security::channel::__anonef73f6740111::SecurityManagerChannelTest
278 channel_->SendCommand(std::move(packet)); in TEST_F()
294 channel_->SendCommand(std::move(packet)); in TEST_F()
327 channel_->SendCommand(std::move(packet)); in TEST_F()
[all …]
/packages/modules/Bluetooth/system/gd/l2cap/classic/
Dfacade.cc314 channel_->GetQueueUpEnd()->UnregisterDequeue(); in ~L2capDynamicChannelHelper()
315 channel_ = nullptr; in ~L2capDynamicChannelHelper()
331 …if (!channel_open_cv_.wait_for(lock, std::chrono::seconds(2), [this] { return channel_ != nullptr;… in Connect()
337 if (channel_ == nullptr) { in Disconnect()
339 …if (!channel_open_cv_.wait_for(lock, std::chrono::seconds(2), [this] { return channel_ != nullptr;… in Disconnect()
344 channel_->Close(); in Disconnect()
358 channel_ = std::move(channel); in on_connection_open()
359 …enqueue_buffer_ = std::make_unique<os::EnqueueBuffer<BasePacketBuilder>>(channel_->GetQueueUpEnd()… in on_connection_open()
362 channel_->RegisterOnCloseCallback( in on_connection_open()
365 channel_->GetQueueUpEnd()->RegisterDequeue( in on_connection_open()
[all …]
/packages/modules/Bluetooth/tools/rootcanal/
DREADME.md61 - _HCI channel_
62 - _Test channel_
63 - _BR_EDR Phy channel_
64 - _LE Phy channel_
/packages/modules/Bluetooth/system/gd/security/internal/
Dsecurity_manager_impl.cc476 if (storage.channel_->GetDevice() == device) { in FindStoredLeChannel()
485 if (it->channel_->GetDevice() == device) { in EraseStoredLeChannel()
500 std::unique_ptr<l2cap::le::FixedChannel>& channel = stored_chan->channel_; in OnSmpCommandLe()
533 stored_chan->channel_->Acquire(); in OnSmpCommandLe()
589 auto& channel = stored_channel.channel_; in OnConnectionOpenLe()
606 auto& channel = stored_channel->channel_; in ConnectionIsReadyStartPairing()
609 stored_channel->channel_->Acquire(); in ConnectionIsReadyStartPairing()
661 stored_chan->channel_->GetQueueUpEnd()->UnregisterDequeue(); in OnConnectionClosedLe()
716 stored_chan->channel_->Release(); in OnPairingFinished()
726 NotifyDeviceBondFailed(stored_chan->channel_->GetDevice(), failure); in OnPairingFinished()
Dsecurity_manager_impl.h55 std::unique_ptr<l2cap::le::FixedChannel> channel_; member
75 stored_chan.channel_->GetQueueUpEnd()->UnregisterDequeue(); in ~SecurityManagerImpl()
/packages/modules/Bluetooth/system/gd/security/pairing/
Dclassic_pairing_handler_unittest.cc164 channel_ = new FakeSecurityManagerChannel(handler_, hci_layer_); in SetUp()
169 channel_, in SetUp()
178 channel_->SetChannelListener(channel_callback_); in SetUp()
179 security_interface_ = new FakeSecurityInterface(handler_, channel_); in SetUp()
180 channel_->SetSecurityInterface(security_interface_); in SetUp()
184 channel_->SetChannelListener(nullptr); in TearDown()
189 delete channel_; in TearDown()
243 channel::SecurityManagerChannel* channel_ = nullptr; member in bluetooth::security::pairing::__anonba444ac30111::ClassicPairingHandlerTest