Searched refs:channel_ (Results 1 – 6 of 6) sorted by relevance
/system/bt/gd/l2cap/le/ |
D | facade.cc | 87 if (service_helper->second->channel_ == nullptr) { in CloseDynamicChannel() 90 auto address = service_helper->second->channel_->GetDevice().GetAddress(); in CloseDynamicChannel() 96 service_helper->second->channel_->Close(); in CloseDynamicChannel() 146 if (channel_ != nullptr) { in ~L2capDynamicChannelHelper() 147 channel_->GetQueueUpEnd()->UnregisterDequeue(); in ~L2capDynamicChannelHelper() 148 channel_ = nullptr; in ~L2capDynamicChannelHelper() 157 …if (!channel_open_cv_.wait_for(lock, kChannelOpenTimeout, [this] { return channel_ != nullptr; }))… in Connect() 175 channel_ = std::move(channel); in on_connection_open() 178 channel_->RegisterOnCloseCallback( in on_connection_open() 180 channel_->GetQueueUpEnd()->RegisterDequeue( in on_connection_open() [all …]
|
/system/bt/gd/l2cap/classic/ |
D | facade.cc | 279 channel_->GetQueueUpEnd()->UnregisterDequeue(); in ~L2capDynamicChannelHelper() 280 channel_ = nullptr; in ~L2capDynamicChannelHelper() 296 …if (!channel_open_cv_.wait_for(lock, std::chrono::seconds(2), [this] { return channel_ != nullptr;… in Connect() 302 if (channel_ == nullptr) { in Disconnect() 304 …if (!channel_open_cv_.wait_for(lock, std::chrono::seconds(2), [this] { return channel_ != nullptr;… in Disconnect() 309 channel_->Close(); in Disconnect() 322 channel_ = std::move(channel); in on_connection_open() 323 …enqueue_buffer_ = std::make_unique<os::EnqueueBuffer<BasePacketBuilder>>(channel_->GetQueueUpEnd()… in on_connection_open() 326 channel_->RegisterOnCloseCallback( in on_connection_open() 329 channel_->GetQueueUpEnd()->RegisterDequeue( in on_connection_open() [all …]
|
/system/bt/gd/security/channel/ |
D | security_manager_channel_unittest.cc | 230 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::__anon46832d850111::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 …]
|
/system/bt/gd/security/internal/ |
D | security_manager_impl.cc | 460 if (storage.channel_->GetDevice() == device) { in FindStoredLeChannel() 469 if (it->channel_->GetDevice() == device) { in EraseStoredLeChannel() 484 std::unique_ptr<l2cap::le::FixedChannel>& channel = stored_chan->channel_; in OnSmpCommandLe() 517 stored_chan->channel_->Acquire(); in OnSmpCommandLe() 573 auto& channel = stored_channel.channel_; in OnConnectionOpenLe() 590 auto& channel = stored_channel->channel_; in ConnectionIsReadyStartPairing() 593 stored_channel->channel_->Acquire(); in ConnectionIsReadyStartPairing() 644 stored_chan->channel_->GetQueueUpEnd()->UnregisterDequeue(); in OnConnectionClosedLe() 697 stored_chan->channel_->Release(); in OnPairingFinished() 704 NotifyDeviceBondFailed(stored_chan->channel_->GetDevice(), failure); in OnPairingFinished()
|
D | security_manager_impl.h | 50 std::unique_ptr<l2cap::le::FixedChannel> channel_; member 70 stored_chan.channel_->GetQueueUpEnd()->UnregisterDequeue(); in ~SecurityManagerImpl()
|
/system/bt/gd/security/pairing/ |
D | classic_pairing_handler_unittest.cc | 163 channel_ = new FakeSecurityManagerChannel(handler_, hci_layer_); in SetUp() 168 channel_, in SetUp() 177 channel_->SetChannelListener(channel_callback_); in SetUp() 178 security_interface_ = new FakeSecurityInterface(handler_, channel_); in SetUp() 179 channel_->SetSecurityInterface(security_interface_); in SetUp() 183 channel_->SetChannelListener(nullptr); in TearDown() 188 delete channel_; in TearDown() 242 channel::SecurityManagerChannel* channel_ = nullptr; member in bluetooth::security::pairing::__anon5fd063b40111::ClassicPairingHandlerTest
|