/system/bt/gd/l2cap/internal/ |
D | fixed_channel_allocator.h | 36 …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_;
|
D | dynamic_channel_impl.cc | 34 : 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()
|
D | sender.cc | 33 : 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()
|
D | dynamic_channel_allocator.cc | 46 …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()
|
D | dynamic_channel_allocator.h | 41 : link_(link), l2cap_handler_(l2cap_handler) { in DynamicChannelAllocator() 42 ASSERT(link_ != nullptr); in DynamicChannelAllocator() 70 l2cap::internal::ILink* link_;
|
D | le_credit_based_channel_data_controller.cc | 32 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()
|
D | data_pipeline_manager.h | 59 …: handler_(handler), link_(link), scheduler_(std::make_unique<Fifo>(this, link_queue_up_end, handl… in DataPipelineManager() 73 ILink* link_; variable
|
D | data_pipeline_manager.cc | 33 std::forward_as_tuple(handler_, link_, scheduler_.get(), channel, mode)); in AttachChannel()
|
D | sender.h | 80 ILink* link_; variable
|
D | dynamic_channel_impl.h | 76 l2cap::internal::ILink* link_; variable
|
D | le_credit_based_channel_data_controller.h | 68 ILink* link_; variable
|
D | enhanced_retransmission_mode_channel_data_controller.h | 57 ILink* link_;
|
/system/bt/gd/l2cap/le/internal/ |
D | fixed_channel_impl.cc | 32 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()
|
D | signalling_manager.cc | 41 : handler_(handler), link_(link), data_pipeline_manager_(data_pipeline_manager), in LeSignallingManager() 44 ASSERT(link_ != nullptr); in LeSignallingManager() 46 …link_->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() 150 …link_->UpdateConnectionParameterFromRemote(signal_id, interval_min, interval_max, slave_latency, t… in OnConnectionParameterUpdateRequest() 208 link_->GetDevice(), in OnConnectionRequest() [all …]
|
D | fixed_channel_impl.h | 87 Link* link_; variable
|
D | signalling_manager.h | 152 Link* link_; variable
|
/system/bt/gd/l2cap/classic/internal/ |
D | fixed_channel_impl.cc | 31 : 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()
|
D | link_test.cc | 80 …link_ = 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()
|
D | signalling_manager.cc | 56 : 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 …]
|
D | fixed_channel_impl.h | 85 Link* link_; variable
|
D | signalling_manager.h | 118 Link* link_; variable
|
/system/bt/gd/l2cap/le/ |
D | dynamic_channel.h | 33 : l2cap::DynamicChannel(impl, l2cap_handler), link_(link) {} in DynamicChannel() 43 internal::Link* link_;
|
D | link_options.cc | 30 : acl_connection_(acl_connection), link_(link), l2cap_handler_(l2cap_handler) {} in LinkOptions() 54 …_->Post(common::BindOnce(&internal::Link::SendConnectionParameterUpdate, common::Unretained(link_), in UpdateConnectionParameter()
|
D | dynamic_channel.cc | 24 return link_->GetLinkOptions(); in GetLinkOptions()
|
D | link_options.h | 80 internal::Link* link_ = nullptr; variable
|