Home
last modified time | relevance | path

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

12

/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()
129 link_->OnOutgoingConnectionRequestFail(command_just_sent_.source_cid_, in OnCommandReject()
143 if (link_->GetRole() == hci::Role::PERIPHERAL) { in OnConnectionParameterUpdateRequest()
150 …if (!link_->CheckConnectionParameters(interval_min, interval_max, peripheral_latency, timeout_mult… in OnConnectionParameterUpdateRequest()
157 link_->UpdateConnectionParameterFromRemote( in OnConnectionParameterUpdateRequest()
209 link_->GetDevice(), in OnConnectionRequest()
[all …]
Dfixed_channel_impl.h87 Link* link_; variable
/system/bt/gd/l2cap/internal/
Dfixed_channel_allocator.h43 …FixedChannelAllocator(LinkType* link, os::Handler* l2cap_handler) : link_(link), l2cap_handler_(l2… in FixedChannelAllocator()
44 ASSERT(link_ != nullptr); in FixedChannelAllocator()
53 …ASSERT_LOG(!IsChannelAllocated((cid)), "Cid 0x%x for link %s is already in use", cid, link_->ToStr… in AllocateChannel()
55 …auto elem = channels_.try_emplace(cid, std::make_shared<FixedChannelImplType>(cid, link_, l2cap_ha… in AllocateChannel()
56 …ASSERT_LOG(elem.second, "Failed to create channel for cid 0x%x link %s", cid, link_->ToString().c_… in AllocateChannel()
63 …ASSERT_LOG(IsChannelAllocated(cid), "Channel is not in use: cid %d, link %s", cid, link_->ToString… in FreeChannel()
72 …ASSERT_LOG(IsChannelAllocated(cid), "Channel is not in use: cid %d, link %s", cid, link_->ToString… in FindChannel()
98 LinkType* link_; variable
Ddynamic_channel_impl.cc34 : psm_(psm), cid_(cid), remote_cid_(remote_cid), link_(link), l2cap_handler_(l2cap_handler), in DynamicChannelImpl()
38 ASSERT(link_ != nullptr); in DynamicChannelImpl()
57 if (link_ == nullptr) { in Close()
61 link_->SendDisconnectionRequest(cid_, remote_cid_); in Close()
69 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()
64 link_->OnPendingPacketChange(channel_id_, false); in OnPacketSent()
92 link_->OnPendingPacketChange(channel_id_, true); in dequeue_callback()
107 …std::make_unique<ErtmController>(link_, channel_id_, remote_channel_id_, queue_end_, handler_, sch… in UpdateClassicConfiguration()
Ddynamic_channel_allocator.cc44 …channels_.try_emplace(cid, std::make_shared<DynamicChannelImpl>(psm, cid, remote_cid, link_, l2cap… in AllocateChannel()
46 link_->GetDevice().ToString().c_str()); in AllocateChannel()
60 …reserved_cid, std::make_shared<DynamicChannelImpl>(psm, reserved_cid, remote_cid, link_, l2cap_han… in AllocateReservedChannel()
62 link_->GetDevice().ToString().c_str()); in AllocateReservedChannel()
85 … LOG_INFO("Channel is not in use: cid %d, device %s", cid, link_->GetDevice().ToString().c_str()); in FreeChannel()
Ddynamic_channel_allocator.h48 : link_(link), l2cap_handler_(l2cap_handler) { in DynamicChannelAllocator()
49 ASSERT(link_ != nullptr); in DynamicChannelAllocator()
78 l2cap::internal::ILink* link_; variable
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()
74 ILink* link_; variable
Ddynamic_channel_impl.h70 link_->SetChannelTxPriority(cid_, high_priority); in SetChannelTxPriority()
80 l2cap::internal::ILink* link_; variable
Dsender_test.cc81 sender_ = new Sender(queue_handler_, &link_, &scheduler_, mock_channel_); in SetUp()
101 testing::MockILink link_; member in bluetooth::l2cap::internal::__anoncea1feda0111::L2capSenderTest
Dsender.h80 ILink* link_; variable
Ddata_pipeline_manager.cc33 std::forward_as_tuple(handler_, link_, scheduler_.get(), channel, mode)); in AttachChannel()
Dle_credit_based_channel_data_controller.h68 ILink* link_; variable
Denhanced_retransmission_mode_channel_data_controller.h57 ILink* link_;
/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::__anon1392d1f80111::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()
116 link_->OnOutgoingConnectionRequestFail(local_cid, connection_result); in on_security_result_for_outgoing()
119 if (type == SecurityEnforcementType::LINK_KEY && !link_->IsAuthenticated() && in on_security_result_for_outgoing()
122 link_->Encrypt(); in on_security_result_for_outgoing()
203 link_->GetDevice(), in OnConnectionRequest()
227 link_->OnOutgoingConnectionRequestFail(0, connection_result); in on_security_result_for_incoming()
[all …]
Dfixed_channel_impl.h85 Link* link_; variable
Dsignalling_manager.h123 Link* link_; variable
/system/bt/gd/l2cap/le/
Ddynamic_channel.h37 : l2cap::DynamicChannel(impl, l2cap_handler), link_(link), mtu_(mtu) {} in DynamicChannel()
49 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