/system/bt/gd/l2cap/internal/ |
D | fixed_channel_allocator.h | 37 …FixedChannelAllocator(LinkType* link, os::Handler* l2cap_handler) : link_(link), l2cap_handler_(l2… in FixedChannelAllocator() 38 ASSERT(link_ != nullptr); in FixedChannelAllocator() 47 …ASSERT_LOG(!IsChannelAllocated((cid)), "Cid 0x%x for link %s is already in use", cid, link_->ToStr… in AllocateChannel() 49 …auto elem = channels_.try_emplace(cid, std::make_shared<FixedChannelImplType>(cid, link_, l2cap_ha… in AllocateChannel() 50 …ASSERT_LOG(elem.second, "Failed to create channel for cid 0x%x link %s", cid, link_->ToString().c_… in AllocateChannel() 57 …ASSERT_LOG(IsChannelAllocated(cid), "Channel is not in use: cid %d, link %s", cid, link_->ToString… in FreeChannel() 66 …ASSERT_LOG(IsChannelAllocated(cid), "Channel is not in use: cid %d, link %s", cid, link_->ToString… in FindChannel() 91 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() 60 link_->SendDisconnectionRequest(cid_, remote_cid_); in Close() 68 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() 103 …std::make_unique<ErtmController>(link_, channel_id_, remote_channel_id_, queue_end_, handler_, sch… in UpdateClassicConfiguration()
|
D | dynamic_channel_allocator.cc | 47 …channels_.try_emplace(cid, std::make_shared<DynamicChannelImpl>(psm, cid, remote_cid, link_, l2cap… in AllocateChannel() 49 link_->GetDevice().ToString().c_str()); in AllocateChannel() 66 …reserved_cid, std::make_shared<DynamicChannelImpl>(psm, reserved_cid, remote_cid, link_, l2cap_han… in AllocateReservedChannel() 68 link_->GetDevice().ToString().c_str()); in AllocateReservedChannel() 91 … 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() 71 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() 121 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 | sender.h | 79 ILink* link_; variable
|
D | data_pipeline_manager.cc | 33 std::forward_as_tuple(handler_, link_, scheduler_.get(), channel, mode)); in AttachChannel()
|
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_;
|
D | enhanced_retransmission_mode_channel_data_controller.cc | 34 …: link_(link), cid_(cid), remote_cid_(remote_cid), enqueue_buffer_(channel_queue_end), handler_(ha… in ErtmController() 1021 link_->SendDisconnectionRequest(cid_, remote_cid_); in close_channel()
|
/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()
|
D | signalling_manager.cc | 41 : handler_(handler), link_(link), data_pipeline_manager_(data_pipeline_manager), in LeSignallingManager() 44 ASSERT(link_ != nullptr); in LeSignallingManager() 45 signalling_channel_ = link_->AllocateFixedChannel(kLeSignallingCid, {}); in LeSignallingManager() 60 …l_id_, LeCommandCode::LE_CREDIT_BASED_CONNECTION_REQUEST, psm, local_cid, {}, mtu, link_->GetMps(), in SendConnectionRequest() 61 link_->GetInitialCredit()}; in SendConnectionRequest() 154 auto local_mps = link_->GetMps(); in OnConnectionRequest() 156 auto new_channel = link_->AllocateDynamicChannel(psm, remote_cid, {}); in OnConnectionRequest() 164 send_connection_response(signal_id, remote_cid, local_mtu, local_mps, link_->GetInitialCredit(), in OnConnectionRequest() 189 link_->OnOutgoingConnectionRequestFail(command_just_sent_.source_cid_); in OnConnectionResponse() 194 …link_->AllocateReservedDynamicChannel(command_just_sent_.source_cid_, command_just_sent_.psm_, rem… in OnConnectionResponse() [all …]
|
D | fixed_channel_impl.h | 83 Link* link_; variable
|
D | signalling_manager.h | 103 Link* link_; variable
|
/system/bt/gd/l2cap/classic/internal/ |
D | fixed_channel_impl.cc | 32 : cid_(cid), device_(link->GetDevice()), link_(link), l2cap_handler_(l2cap_handler) { in FixedChannelImpl() 34 ASSERT(link_ != nullptr); in FixedChannelImpl() 56 link_ = nullptr; in OnClosed() 79 link_->RefreshRefCount(); in Acquire() 94 link_->RefreshRefCount(); in Release()
|
D | link_test.cc | 78 link_ = new Link(signalling_handler_, std::unique_ptr<MockAclConnection>(raw_acl_connection_), in SetUp() 84 delete link_; in TearDown() 110 Link* link_; member in bluetooth::l2cap::classic::internal::__anon6f889d9c0111::L2capClassicLinkTest 124 link_->SendConnectionRequest(kPsm, kCid, std::move(pending_dynamic_channel_connection)); in TEST_F() 125 link_->OnAclDisconnected(hci::ErrorCode::UNKNOWN_HCI_COMMAND); in TEST_F()
|
D | signalling_manager.cc | 40 : handler_(handler), link_(link), data_pipeline_manager_(data_pipeline_manager), in ClassicSignallingManager() 44 ASSERT(link_ != nullptr); in ClassicSignallingManager() 45 signalling_channel_ = link_->AllocateFixedChannel(kClassicSignallingCid, {}); in ClassicSignallingManager() 146 auto new_channel = link_->AllocateDynamicChannel(psm, remote_cid, {}); in OnConnectionRequest() 163 if (link_->GetRemoteSupportsFcs()) { in OnConnectionRequest() 221 link_->OnOutgoingConnectionRequestFail(cid); in OnConnectionResponse() 226 auto new_channel = link_->AllocateReservedDynamicChannel(cid, pending_psm, remote_cid, {}); in OnConnectionResponse() 229 link_->OnOutgoingConnectionRequestFail(cid); in OnConnectionResponse() 235 auto initial_config = link_->GetConfigurationForInitialConfiguration(new_channel->GetCid()); in OnConnectionResponse() 243 if (!link_->GetRemoteSupportsFcs()) { in OnConnectionResponse() [all …]
|
D | fixed_channel_impl.h | 85 Link* link_; variable
|
D | signalling_manager.h | 110 Link* link_; variable
|