Home
last modified time | relevance | path

Searched refs:link_ (Results 1 – 25 of 26) sorted by relevance

12

/system/bt/gd/l2cap/internal/
Dfixed_channel_allocator.h36 …FixedChannelAllocator(LinkType* link, os::Handler* l2cap_handler) : link_(link), l2cap_handler_(l2… in FixedChannelAllocator()
37 ASSERT(link_ != nullptr); in FixedChannelAllocator()
46 …ASSERT_LOG(!IsChannelAllocated((cid)), "Cid 0x%x for link %s is already in use", cid, link_->ToStr… in AllocateChannel()
48 …auto elem = channels_.try_emplace(cid, std::make_shared<FixedChannelImplType>(cid, link_, l2cap_ha… in AllocateChannel()
49 …ASSERT_LOG(elem.second, "Failed to create channel for cid 0x%x link %s", cid, link_->ToString().c_… in AllocateChannel()
56 …ASSERT_LOG(IsChannelAllocated(cid), "Channel is not in use: cid %d, link %s", cid, link_->ToString… in FreeChannel()
65 …ASSERT_LOG(IsChannelAllocated(cid), "Channel is not in use: cid %d, link %s", cid, link_->ToString… in FindChannel()
90 LinkType* link_;
Ddynamic_channel_impl.cc34 : psm_(psm), cid_(cid), remote_cid_(remote_cid), link_(link), l2cap_handler_(l2cap_handler), in DynamicChannelImpl()
39 ASSERT(link_ != nullptr); in DynamicChannelImpl()
58 link_->SendDisconnectionRequest(cid_, remote_cid_); in Close()
66 link_ = nullptr; in OnClosed()
Dsender.cc33 : handler_(handler), link_(link), queue_end_(channel->GetQueueDownEnd()), scheduler_(scheduler), in Sender()
42 : handler_(handler), link_(link), queue_end_(channel->GetQueueDownEnd()), scheduler_(scheduler), in Sender()
49 …std::make_unique<ErtmController>(link_, channel_id_, remote_channel_id_, queue_end_, handler_, sch… in Sender()
51 …data_controller_ = std::make_unique<LeCreditBasedDataController>(link_, channel_id_, remote_channe… in Sender()
105 …std::make_unique<ErtmController>(link_, channel_id_, remote_channel_id_, queue_end_, handler_, sch… in UpdateClassicConfiguration()
Ddynamic_channel_allocator.cc46 …channels_.try_emplace(cid, std::make_shared<DynamicChannelImpl>(psm, cid, remote_cid, link_, l2cap… in AllocateChannel()
48 link_->GetDevice().ToString().c_str()); in AllocateChannel()
64 …reserved_cid, std::make_shared<DynamicChannelImpl>(psm, reserved_cid, remote_cid, link_, l2cap_han… in AllocateReservedChannel()
66 link_->GetDevice().ToString().c_str()); in AllocateReservedChannel()
89 … LOG_INFO("Channel is not in use: psm %d, device %s", cid, link_->GetDevice().ToString().c_str()); in FreeChannel()
Ddynamic_channel_allocator.h41 : link_(link), l2cap_handler_(l2cap_handler) { in DynamicChannelAllocator()
42 ASSERT(link_ != nullptr); in DynamicChannelAllocator()
70 l2cap::internal::ILink* link_;
Dle_credit_based_channel_data_controller.cc32 link_(link) {} in LeCreditBasedDataController()
98 link_->SendDisconnectionRequest(cid_, remote_cid_); in OnPdu()
101 link_->SendLeCredit(cid_, 1); in OnPdu()
122 link_->SendDisconnectionRequest(cid_, remote_cid_); in OnCredit()
Ddata_pipeline_manager.h59 …: handler_(handler), link_(link), scheduler_(std::make_unique<Fifo>(this, link_queue_up_end, handl… in DataPipelineManager()
73 ILink* link_; variable
Ddata_pipeline_manager.cc33 std::forward_as_tuple(handler_, link_, scheduler_.get(), channel, mode)); in AttachChannel()
Dsender.h80 ILink* link_; variable
Ddynamic_channel_impl.h76 l2cap::internal::ILink* link_; variable
Dle_credit_based_channel_data_controller.h68 ILink* link_; variable
Denhanced_retransmission_mode_channel_data_controller.h57 ILink* link_;
/system/bt/gd/l2cap/le/internal/
Dfixed_channel_impl.cc32 return link_->GetRole(); in GetRole()
36 return link_->GetAclConnection(); in GetAclConnection()
40 : cid_(cid), device_(link->GetDevice()), link_(link), l2cap_handler_(l2cap_handler) { in FixedChannelImpl()
42 ASSERT(link_ != nullptr); in FixedChannelImpl()
64 link_ = nullptr; in OnClosed()
87 link_->RefreshRefCount(); in Acquire()
102 link_->RefreshRefCount(); in Release()
114 return link_->GetLinkOptions(); in GetLinkOptions()
Dsignalling_manager.cc41 : handler_(handler), link_(link), data_pipeline_manager_(data_pipeline_manager), in LeSignallingManager()
44 ASSERT(link_ != nullptr); in LeSignallingManager()
46link_->AllocateFixedChannel(kLeSignallingCid, SecurityPolicy::NO_SECURITY_WHATSOEVER_PLAINTEXT_TRA… in LeSignallingManager()
61 link_->GetDevice(), in SendConnectionRequest()
73 next_signal_id_, psm, local_cid, mtu, link_->GetMps(), link_->GetInitialCredit()); in on_security_result_for_outgoing()
125 link_->OnOutgoingConnectionRequestFail(command_just_sent_.source_cid_, in OnCommandReject()
136 if (link_->GetRole() == hci::Role::SLAVE) { in OnConnectionParameterUpdateRequest()
143 …if (!link_->CheckConnectionParameters(interval_min, interval_max, slave_latency, timeout_multiplie… in OnConnectionParameterUpdateRequest()
150link_->UpdateConnectionParameterFromRemote(signal_id, interval_min, interval_max, slave_latency, t… in OnConnectionParameterUpdateRequest()
208 link_->GetDevice(), in OnConnectionRequest()
[all …]
Dfixed_channel_impl.h87 Link* link_; variable
Dsignalling_manager.h152 Link* link_; variable
/system/bt/gd/l2cap/classic/internal/
Dfixed_channel_impl.cc31 : cid_(cid), device_(link->GetDevice()), link_(link), l2cap_handler_(l2cap_handler) { in FixedChannelImpl()
33 ASSERT(link_ != nullptr); in FixedChannelImpl()
55 link_ = nullptr; in OnClosed()
78 link_->RefreshRefCount(); in Acquire()
93 link_->RefreshRefCount(); in Release()
Dlink_test.cc80link_ = new Link(signalling_handler_, std::unique_ptr<MockClassicAclConnection>(raw_acl_connection… in SetUp()
86 delete link_; in TearDown()
113 Link* link_; member in bluetooth::l2cap::classic::internal::__anon00f1d3110111::L2capClassicLinkTest
135 link_->SendConnectionRequest(kPsm, kCid, std::move(pending_dynamic_channel_connection)); in TEST_F()
136 link_->OnAclDisconnected(hci::ErrorCode::UNKNOWN_HCI_COMMAND); in TEST_F()
Dsignalling_manager.cc56 : handler_(handler), link_(link), data_pipeline_manager_(data_pipeline_manager), in ClassicSignallingManager()
60 ASSERT(link_ != nullptr); in ClassicSignallingManager()
61 signalling_channel_ = link_->AllocateFixedChannel(kClassicSignallingCid); in ClassicSignallingManager()
83 link_->OnRemoteExtendedFeatureReceived(false, false); in OnCommandReject()
93 link_->GetDevice(), in SendConnectionRequest()
110 link_->OnOutgoingConnectionRequestFail(local_cid, connection_result); in on_security_result_for_outgoing()
191 link_->GetDevice(), in OnConnectionRequest()
215 link_->OnOutgoingConnectionRequestFail(0, connection_result); in on_security_result_for_incoming()
218 auto new_channel = link_->AllocateDynamicChannel(psm, remote_cid); in on_security_result_for_incoming()
230 link_->SendInitialConfigRequestOrQueue(new_channel->GetCid()); in on_security_result_for_incoming()
[all …]
Dfixed_channel_impl.h85 Link* link_; variable
Dsignalling_manager.h118 Link* link_; variable
/system/bt/gd/l2cap/le/
Ddynamic_channel.h33 : l2cap::DynamicChannel(impl, l2cap_handler), link_(link) {} in DynamicChannel()
43 internal::Link* link_;
Dlink_options.cc30 : acl_connection_(acl_connection), link_(link), l2cap_handler_(l2cap_handler) {} in LinkOptions()
54 …_->Post(common::BindOnce(&internal::Link::SendConnectionParameterUpdate, common::Unretained(link_), in UpdateConnectionParameter()
Ddynamic_channel.cc24 return link_->GetLinkOptions(); in GetLinkOptions()
Dlink_options.h80 internal::Link* link_ = nullptr; variable

12