Home
last modified time | relevance | path

Searched refs:DynamicChannelImpl (Results 1 – 14 of 14) sorted by relevance

/system/bt/gd/l2cap/internal/
Ddynamic_channel_impl.cc32 DynamicChannelImpl::DynamicChannelImpl(Psm psm, Cid cid, Cid remote_cid, l2cap::internal::ILink* li… in DynamicChannelImpl() function in bluetooth::l2cap::internal::DynamicChannelImpl
43 hci::AddressWithType DynamicChannelImpl::GetDevice() const { in GetDevice()
47 void DynamicChannelImpl::RegisterOnCloseCallback(DynamicChannel::OnCloseCallback on_close_callback)… in RegisterOnCloseCallback()
57 void DynamicChannelImpl::Close() { in Close()
61 void DynamicChannelImpl::OnClosed(hci::ErrorCode status) { in OnClosed()
72 std::string DynamicChannelImpl::ToString() { in ToString()
Ddynamic_channel_allocator.h34 class DynamicChannelImpl; variable
48 std::shared_ptr<DynamicChannelImpl> AllocateChannel(Psm psm, Cid remote_cid);
50 …std::shared_ptr<DynamicChannelImpl> AllocateReservedChannel(Cid reserved_cid, Psm psm, Cid remote_…
61 std::shared_ptr<DynamicChannelImpl> FindChannelByCid(Cid cid);
62 std::shared_ptr<DynamicChannelImpl> FindChannelByRemoteCid(Cid cid);
73 std::unordered_map<Cid, std::shared_ptr<DynamicChannelImpl>> channels_;
Ddynamic_channel_allocator.cc30 std::shared_ptr<DynamicChannelImpl> DynamicChannelAllocator::AllocateChannel(Psm psm, Cid remote_ci… in AllocateChannel()
46 …channels_.try_emplace(cid, std::make_shared<DynamicChannelImpl>(psm, cid, remote_cid, link_, l2cap… in AllocateChannel()
55 std::shared_ptr<DynamicChannelImpl> DynamicChannelAllocator::AllocateReservedChannel(Cid reserved_c… in AllocateReservedChannel()
64 …reserved_cid, std::make_shared<DynamicChannelImpl>(psm, reserved_cid, remote_cid, link_, l2cap_han… in AllocateReservedChannel()
105 std::shared_ptr<DynamicChannelImpl> DynamicChannelAllocator::FindChannelByCid(Cid cid) { in FindChannelByCid()
113 std::shared_ptr<DynamicChannelImpl> DynamicChannelAllocator::FindChannelByRemoteCid(Cid remote_cid)… in FindChannelByRemoteCid()
Ddynamic_channel_impl.h35 class DynamicChannelImpl : public l2cap::internal::ChannelImpl {
37DynamicChannelImpl(Psm psm, Cid cid, Cid remote_cid, l2cap::internal::ILink* link, os::Handler* l2…
39 virtual ~DynamicChannelImpl() = default;
90 DISALLOW_COPY_AND_ASSIGN(DynamicChannelImpl);
Ddynamic_channel_impl_test.cc74DynamicChannelImpl dynamic_channel_impl(0x01, kFirstDynamicChannel, kFirstDynamicChannel, &mock_cl… in TEST_F()
84DynamicChannelImpl dynamic_channel_impl(0x01, kFirstDynamicChannel, kFirstDynamicChannel, &mock_cl… in TEST_F()
106DynamicChannelImpl dynamic_channel_impl(0x01, kFirstDynamicChannel, kFirstDynamicChannel, &mock_cl… in TEST_F()
129DynamicChannelImpl dynamic_channel_impl(0x01, kFirstDynamicChannel, kFirstDynamicChannel, &mock_cl… in TEST_F()
154DynamicChannelImpl dynamic_channel_impl(0x01, kFirstDynamicChannel, kFirstDynamicChannel, &mock_cl… in TEST_F()
/system/bt/gd/l2cap/
Ddynamic_channel.h30 class DynamicChannelImpl; variable
40 …DynamicChannel(std::shared_ptr<l2cap::internal::DynamicChannelImpl> impl, os::Handler* l2cap_handl… in DynamicChannel()
76 std::shared_ptr<l2cap::internal::DynamicChannelImpl> impl_;
Ddynamic_channel.cc30 …impl_.get(), &l2cap::internal::DynamicChannelImpl::RegisterOnCloseCallback, std::move(on_close_cal… in RegisterOnCloseCallback()
34 l2cap_handler_->CallOn(impl_.get(), &l2cap::internal::DynamicChannelImpl::Close); in Close()
/system/bt/gd/l2cap/le/
Ddynamic_channel.h31 …DynamicChannel(std::shared_ptr<l2cap::internal::DynamicChannelImpl> impl, os::Handler* l2cap_handl… in DynamicChannel()
/system/bt/gd/l2cap/le/internal/
Dlink.h111 …virtual std::shared_ptr<l2cap::internal::DynamicChannelImpl> AllocateDynamicChannel(Psm psm, Cid r…
113 …virtual std::shared_ptr<l2cap::internal::DynamicChannelImpl> AllocateReservedDynamicChannel(Cid re…
Dlink.cc185 std::shared_ptr<l2cap::internal::DynamicChannelImpl> Link::AllocateDynamicChannel(Psm psm, Cid remo… in AllocateDynamicChannel()
196 std::shared_ptr<l2cap::internal::DynamicChannelImpl> Link::AllocateReservedDynamicChannel(Cid reser… in AllocateReservedDynamicChannel()
/system/bt/gd/l2cap/classic/internal/
Dlink_mock.h44 …MOCK_METHOD(std::shared_ptr<l2cap::internal::DynamicChannelImpl>, AllocateDynamicChannel, (Psm psm…
Dlink.h122 …virtual std::shared_ptr<l2cap::internal::DynamicChannelImpl> AllocateDynamicChannel(Psm psm, Cid r…
124 …virtual std::shared_ptr<l2cap::internal::DynamicChannelImpl> AllocateReservedDynamicChannel(Cid re…
Dlink.cc208 std::shared_ptr<l2cap::internal::DynamicChannelImpl> Link::AllocateDynamicChannel(Psm psm, Cid remo… in AllocateDynamicChannel()
217 std::shared_ptr<l2cap::internal::DynamicChannelImpl> Link::AllocateReservedDynamicChannel(Cid reser… in AllocateReservedDynamicChannel()
/system/bt/gd/shim/
Dl2cap_test.cc370 std::shared_ptr<l2cap::internal::DynamicChannelImpl> impl = in TEST_F()
371 …std::make_shared<l2cap::internal::DynamicChannelImpl>(psm, local_cid, remote_cid, &test_link_, han… in TEST_F()