Lines Matching refs:channel_

85     if (service_helper->second->channel_ == nullptr) {  in CloseDynamicChannel()
88 auto address = service_helper->second->channel_->GetDevice().GetAddress(); in CloseDynamicChannel()
94 service_helper->second->channel_->Close(); in CloseDynamicChannel()
144 if (channel_ != nullptr) { in ~L2capDynamicChannelHelper()
145 channel_->GetQueueUpEnd()->UnregisterDequeue(); in ~L2capDynamicChannelHelper()
146 channel_ = nullptr; in ~L2capDynamicChannelHelper()
155 …if (!channel_open_cv_.wait_for(lock, std::chrono::seconds(2), [this] { return channel_ != nullptr;… in Connect()
173 channel_ = std::move(channel); in on_connection_open()
176 channel_->RegisterOnCloseCallback( in on_connection_open()
178 channel_->GetQueueUpEnd()->RegisterDequeue( in on_connection_open()
186 channel_->GetQueueUpEnd()->UnregisterDequeue(); in on_close_callback()
188 channel_ = nullptr; in on_close_callback()
194 channel_ = nullptr; in on_connect_fail()
201 auto packet = channel_->GetQueueUpEnd()->TryDequeue(); in on_incoming_packet()
210 if (channel_ == nullptr) { in SendPacket()
212 …if (!channel_open_cv_.wait_for(lock, std::chrono::seconds(2), [this] { return channel_ != nullptr;… in SendPacket()
219 channel_->GetQueueUpEnd()->RegisterEnqueue( in SendPacket()
234 channel_->GetQueueUpEnd()->UnregisterEnqueue(); in enqueue_callback()
244 std::unique_ptr<DynamicChannel> channel_ = nullptr; member in bluetooth::l2cap::le::L2capLeModuleFacadeService::L2capDynamicChannelHelper
262 service_helper->second->channel_->Release(); in SetFixedChannel()
294 if (channel_ != nullptr) { in ~L2capFixedChannelHelper()
295 channel_->GetQueueUpEnd()->UnregisterDequeue(); in ~L2capFixedChannelHelper()
296 channel_->Release(); in ~L2capFixedChannelHelper()
297 channel_ = nullptr; in ~L2capFixedChannelHelper()
305 …if (!channel_open_cv_.wait_for(lock, std::chrono::seconds(2), [this] { return channel_ != nullptr;… in Connect()
323 channel_ = std::move(channel); in on_connection_open()
324 channel_->RegisterOnCloseCallback( in on_connection_open()
326 channel_->Acquire(); in on_connection_open()
329 channel_->GetQueueUpEnd()->RegisterDequeue( in on_connection_open()
337 channel_->GetQueueUpEnd()->UnregisterDequeue(); in on_close_callback()
339 channel_ = nullptr; in on_close_callback()
345 channel_ = nullptr; in on_connect_fail()
351 auto packet = channel_->GetQueueUpEnd()->TryDequeue(); in on_incoming_packet()
360 if (channel_ == nullptr) { in SendPacket()
362 …if (!channel_open_cv_.wait_for(lock, std::chrono::seconds(2), [this] { return channel_ != nullptr;… in SendPacket()
369 channel_->GetQueueUpEnd()->RegisterEnqueue( in SendPacket()
384 channel_->GetQueueUpEnd()->UnregisterEnqueue(); in enqueue_callback()
394 std::unique_ptr<FixedChannel> channel_ = nullptr; member in bluetooth::l2cap::le::L2capLeModuleFacadeService::L2capFixedChannelHelper
406 dynamic_channel_helper->channel_->GetLinkOptions()->UpdateConnectionParameter( in SendConnectionParameterUpdate()