/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() 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 …]
|
D | fixed_channel_impl.h | 87 Link* link_; variable
|
/system/bt/gd/l2cap/internal/ |
D | fixed_channel_allocator.h | 43 …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
|
D | dynamic_channel_impl.cc | 34 : 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()
|
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() 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()
|
D | dynamic_channel_allocator.cc | 44 …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()
|
D | dynamic_channel_allocator.h | 48 : link_(link), l2cap_handler_(l2cap_handler) { in DynamicChannelAllocator() 49 ASSERT(link_ != nullptr); in DynamicChannelAllocator() 78 l2cap::internal::ILink* link_; variable
|
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() 74 ILink* link_; variable
|
D | dynamic_channel_impl.h | 70 link_->SetChannelTxPriority(cid_, high_priority); in SetChannelTxPriority() 80 l2cap::internal::ILink* link_; variable
|
D | sender_test.cc | 81 sender_ = new Sender(queue_handler_, &link_, &scheduler_, mock_channel_); in SetUp() 101 testing::MockILink link_; member in bluetooth::l2cap::internal::__anoncea1feda0111::L2capSenderTest
|
D | sender.h | 80 ILink* link_; variable
|
D | data_pipeline_manager.cc | 33 std::forward_as_tuple(handler_, link_, scheduler_.get(), channel, mode)); in AttachChannel()
|
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/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::__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()
|
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() 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 …]
|
D | fixed_channel_impl.h | 85 Link* link_; variable
|
D | signalling_manager.h | 123 Link* link_; variable
|
/system/bt/gd/l2cap/le/ |
D | dynamic_channel.h | 37 : l2cap::DynamicChannel(impl, l2cap_handler), link_(link), mtu_(mtu) {} in DynamicChannel() 49 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
|