• Home
  • Raw
  • Download

Lines Matching refs:channel_

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()
188 channel_->GetQueueUpEnd()->UnregisterDequeue(); in on_close_callback()
190 channel_ = nullptr; in on_close_callback()
196 channel_ = nullptr; in on_connect_fail()
203 auto packet = channel_->GetQueueUpEnd()->TryDequeue(); in on_incoming_packet()
212 if (channel_ == nullptr) { in SendPacket()
214 …if (!channel_open_cv_.wait_for(lock, kChannelOpenTimeout, [this] { return channel_ != nullptr; }))… in SendPacket()
221 channel_->GetQueueUpEnd()->RegisterEnqueue( in SendPacket()
236 channel_->GetQueueUpEnd()->UnregisterEnqueue(); in enqueue_callback()
246 std::unique_ptr<DynamicChannel> channel_ = nullptr; member in bluetooth::l2cap::le::L2capLeModuleFacadeService::L2capDynamicChannelHelper
264 service_helper->second->channel_->Release(); in SetFixedChannel()
296 if (channel_ != nullptr) { in ~L2capFixedChannelHelper()
297 channel_->GetQueueUpEnd()->UnregisterDequeue(); in ~L2capFixedChannelHelper()
298 channel_->Release(); in ~L2capFixedChannelHelper()
299 channel_ = nullptr; in ~L2capFixedChannelHelper()
307 …if (!channel_open_cv_.wait_for(lock, kChannelOpenTimeout, [this] { return channel_ != nullptr; }))… in Connect()
325 channel_ = std::move(channel); in on_connection_open()
326 channel_->RegisterOnCloseCallback( in on_connection_open()
328 channel_->Acquire(); in on_connection_open()
331 channel_->GetQueueUpEnd()->RegisterDequeue( in on_connection_open()
339 channel_->GetQueueUpEnd()->UnregisterDequeue(); in on_close_callback()
341 channel_ = nullptr; in on_close_callback()
347 channel_ = nullptr; in on_connect_fail()
353 auto packet = channel_->GetQueueUpEnd()->TryDequeue(); in on_incoming_packet()
362 if (channel_ == nullptr) { in SendPacket()
364 …if (!channel_open_cv_.wait_for(lock, kChannelOpenTimeout, [this] { return channel_ != nullptr; }))… in SendPacket()
371 channel_->GetQueueUpEnd()->RegisterEnqueue( in SendPacket()
386 channel_->GetQueueUpEnd()->UnregisterEnqueue(); in enqueue_callback()
396 std::unique_ptr<FixedChannel> channel_ = nullptr; member in bluetooth::l2cap::le::L2capLeModuleFacadeService::L2capFixedChannelHelper
408 dynamic_channel_helper->channel_->GetLinkOptions()->UpdateConnectionParameter( in SendConnectionParameterUpdate()