Home
last modified time | relevance | path

Searched refs:l2cap_handler_ (Results 1 – 25 of 36) sorted by relevance

12

/system/bt/gd/l2cap/classic/internal/
Dfixed_channel_impl_test.cc49 l2cap_handler_ = new os::Handler(thread_); in SetUp()
53 l2cap_handler_->Clear(); in TearDown()
54 delete l2cap_handler_; in TearDown()
59 os::Handler* l2cap_handler_ = nullptr; member in bluetooth::l2cap::classic::internal::L2capClassicFixedChannelImplTest
68 EXPECT_CALL(*mock_acl_connection, RegisterCallbacks(_, l2cap_handler_)).Times(1); in TEST_F()
69 MockLink mock_classic_link(l2cap_handler_, &mock_parameter_provider, in TEST_F()
75 FixedChannelImpl fixed_channel_impl(kSmpBrCid, &mock_classic_link, l2cap_handler_); in TEST_F()
85 EXPECT_CALL(*mock_acl_connection, RegisterCallbacks(_, l2cap_handler_)).Times(1); in TEST_F()
86 MockLink mock_classic_link(l2cap_handler_, &mock_parameter_provider, in TEST_F()
92 FixedChannelImpl fixed_channel_impl(kSmpBrCid, &mock_classic_link, l2cap_handler_); in TEST_F()
[all …]
Dsignalling_manager_test.cc48 l2cap_handler_ = new os::Handler(thread_); in SetUp()
52 l2cap_handler_->Clear(); in TearDown()
53 delete l2cap_handler_; in TearDown()
58 os::Handler* l2cap_handler_ = nullptr; member in bluetooth::l2cap::classic::internal::__anon769070cc0111::L2capClassicSignallingManagerTest
Ddynamic_channel_service_manager_test.cc49 l2cap_handler_ = new os::Handler(thread_); in SetUp()
50 manager_ = new DynamicChannelServiceManagerImpl{l2cap_handler_}; in SetUp()
55 l2cap_handler_->Clear(); in TearDown()
56 delete l2cap_handler_; in TearDown()
73 os::Handler* l2cap_handler_ = nullptr; member in bluetooth::l2cap::classic::internal::__anona8b890510111::L2capDynamicServiceManagerTest
Dlink_manager_test.cc73 l2cap_handler_ = new os::Handler(thread_); in SetUp()
81 l2cap_handler_->Clear(); in TearDown()
82 delete l2cap_handler_; in TearDown()
87 os::Handler* l2cap_handler_ = nullptr; member in bluetooth::l2cap::classic::internal::__anon72515f720111::L2capClassicLinkManagerTest
111 …LinkManager classic_link_manager(l2cap_handler_, &mock_acl_manager, &mock_classic_fixed_channel_se… in TEST_F()
114 EXPECT_EQ(hci_callback_handler, l2cap_handler_); in TEST_F()
134 EXPECT_CALL(*acl_connection, RegisterCallbacks(_, l2cap_handler_)).Times(1); in TEST_F()
200 …LinkManager classic_link_manager(l2cap_handler_, &mock_acl_manager, &mock_classic_fixed_channel_se… in TEST_F()
203 EXPECT_EQ(hci_callback_handler, l2cap_handler_); in TEST_F()
234 …LinkManager classic_link_manager(l2cap_handler_, &mock_acl_manager, &mock_classic_fixed_channel_se… in TEST_F()
[all …]
Dfixed_channel_impl.cc31 : cid_(cid), device_(link->GetDevice()), link_(link), l2cap_handler_(l2cap_handler) { in FixedChannelImpl()
34 ASSERT(l2cap_handler_ != nullptr); in FixedChannelImpl()
56 l2cap_handler_ = nullptr; in OnClosed()
Dlink_manager.h49 : l2cap_handler_(l2cap_handler), acl_manager_(acl_manager), in LinkManager()
52 acl_manager_->RegisterCallbacks(this, l2cap_handler_); in LinkManager()
132 os::Handler* l2cap_handler_; variable
/system/bt/gd/l2cap/internal/
Ddynamic_channel_impl_test.cc48 l2cap_handler_ = new os::Handler(thread_); in SetUp()
52 l2cap_handler_->Clear(); in TearDown()
53 delete l2cap_handler_; in TearDown()
58 os::Handler* l2cap_handler_ = nullptr; member in bluetooth::l2cap::internal::L2capClassicDynamicChannelImplTest
71 MockLink mock_classic_link(l2cap_handler_, &mock_parameter_provider); in TEST_F()
75 l2cap_handler_); in TEST_F()
81 MockLink mock_classic_link(l2cap_handler_, &mock_parameter_provider); in TEST_F()
85 l2cap_handler_); in TEST_F()
103 MockLink mock_classic_link(l2cap_handler_, &mock_parameter_provider); in TEST_F()
107 l2cap_handler_); in TEST_F()
[all …]
Dfixed_channel_allocator.h43 …FixedChannelAllocator(LinkType* link, os::Handler* l2cap_handler) : link_(link), l2cap_handler_(l2… in FixedChannelAllocator()
45 ASSERT(l2cap_handler_ != nullptr); in FixedChannelAllocator()
55 …m = channels_.try_emplace(cid, std::make_shared<FixedChannelImplType>(cid, link_, l2cap_handler_)); in AllocateChannel()
99 os::Handler* l2cap_handler_; variable
Ddynamic_channel_allocator.h48 : link_(link), l2cap_handler_(l2cap_handler) { in DynamicChannelAllocator()
50 ASSERT(l2cap_handler_ != nullptr); in DynamicChannelAllocator()
79 os::Handler* l2cap_handler_; variable
Ddynamic_channel_impl.cc34 : psm_(psm), cid_(cid), remote_cid_(remote_cid), link_(link), l2cap_handler_(l2cap_handler), in DynamicChannelImpl()
39 ASSERT(l2cap_handler_ != nullptr); in DynamicChannelImpl()
70 l2cap_handler_ = nullptr; in OnClosed()
/system/bt/gd/l2cap/le/
Dl2cap_le_module.cc54 : l2cap_handler_(l2cap_handler), acl_manager_(acl_manager) { in impl()
57 os::Handler* l2cap_handler_; member
60 internal::FixedChannelServiceManagerImpl fixed_channel_service_manager_impl_{l2cap_handler_};
61 internal::DynamicChannelServiceManagerImpl dynamic_channel_service_manager_impl_{l2cap_handler_};
62 internal::LinkManager link_manager_{l2cap_handler_,
90 … &pimpl_->link_manager_, pimpl_->l2cap_handler_)); in GetFixedChannelManager()
95 … &pimpl_->dynamic_channel_service_manager_impl_, &pimpl_->link_manager_, pimpl_->l2cap_handler_)); in GetDynamicChannelManager()
Dfixed_channel.cc30l2cap_handler_->Post(common::BindOnce(&internal::FixedChannelImpl::RegisterOnCloseCallback, impl_,… in RegisterOnCloseCallback()
35 l2cap_handler_->Post(common::BindOnce(&internal::FixedChannelImpl::Acquire, impl_)); in Acquire()
39 l2cap_handler_->Post(common::BindOnce(&internal::FixedChannelImpl::Release, impl_)); in Release()
Dfixed_channel.h45 : impl_(std::move(impl)), l2cap_handler_(l2cap_handler) { in FixedChannel()
47 ASSERT(l2cap_handler_ != nullptr); in FixedChannel()
93 os::Handler* l2cap_handler_; variable
Dlink_options.cc30 : acl_connection_(acl_connection), link_(link), l2cap_handler_(l2cap_handler) {} in LinkOptions()
54l2cap_handler_->Post(common::BindOnce(&internal::Link::SendConnectionParameterUpdate, common::Unre… in UpdateConnectionParameter()
/system/bt/gd/l2cap/le/internal/
Dfixed_channel_impl_test.cc50 l2cap_handler_ = new os::Handler(thread_); in SetUp()
54 l2cap_handler_->Clear(); in TearDown()
55 delete l2cap_handler_; in TearDown()
60 os::Handler* l2cap_handler_ = nullptr; member in bluetooth::l2cap::le::internal::L2capLeFixedChannelImplTest
68 MockLink mock_le_link(l2cap_handler_, &mock_parameter_provider, in TEST_F()
73 FixedChannelImpl fixed_channel_impl(kSmpBrCid, &mock_le_link, l2cap_handler_); in TEST_F()
82 MockLink mock_le_link(l2cap_handler_, &mock_parameter_provider, in TEST_F()
86 FixedChannelImpl fixed_channel_impl(kSmpBrCid, &mock_le_link, l2cap_handler_); in TEST_F()
107 MockLink mock_le_link(l2cap_handler_, &mock_parameter_provider, in TEST_F()
111 FixedChannelImpl fixed_channel_impl(kSmpBrCid, &mock_le_link, l2cap_handler_); in TEST_F()
[all …]
Ddynamic_channel_service_manager_test.cc48 l2cap_handler_ = new os::Handler(thread_); in SetUp()
49 manager_ = new DynamicChannelServiceManagerImpl{l2cap_handler_}; in SetUp()
54 l2cap_handler_->Clear(); in TearDown()
55 delete l2cap_handler_; in TearDown()
71 os::Handler* l2cap_handler_ = nullptr; member in bluetooth::l2cap::le::internal::L2capLeDynamicServiceManagerTest
Dfixed_channel_impl.cc40 : cid_(cid), device_(link->GetDevice()), link_(link), l2cap_handler_(l2cap_handler) { in FixedChannelImpl()
43 ASSERT(l2cap_handler_ != nullptr); in FixedChannelImpl()
65 l2cap_handler_ = nullptr; in OnClosed()
Dlink.h155 os::Handler* l2cap_handler_;
156 …rnal::FixedChannelAllocator<FixedChannelImpl, Link> fixed_channel_allocator_{this, l2cap_handler_};
157 l2cap::internal::DynamicChannelAllocator dynamic_channel_allocator_{this, l2cap_handler_};
164 os::Alarm link_idle_disconnect_alarm_{l2cap_handler_};
165 LinkOptions link_options_{acl_connection_.get(), this, l2cap_handler_};
Dlink_manager.h51 : l2cap_handler_(l2cap_handler), in LinkManager()
56 acl_manager_->RegisterLeCallbacks(this, l2cap_handler_); in LinkManager()
104 os::Handler* l2cap_handler_;
Dlink_manager_test.cc69 l2cap_handler_ = new os::Handler(thread_); in SetUp()
78 l2cap_handler_->Clear(); in TearDown()
79 delete l2cap_handler_; in TearDown()
86 os::Handler* l2cap_handler_ = nullptr; member in bluetooth::l2cap::le::internal::__anon889d2ba10111::L2capLeLinkManagerTest
103 l2cap_handler_, in TEST_F()
109 EXPECT_EQ(hci_callback_handler, l2cap_handler_); in TEST_F()
213 l2cap_handler_, in TEST_F()
219 EXPECT_EQ(hci_callback_handler, l2cap_handler_); in TEST_F()
250 l2cap_handler_, in TEST_F()
256 EXPECT_EQ(hci_callback_handler, l2cap_handler_); in TEST_F()
[all …]
/system/bt/gd/l2cap/classic/
Dl2cap_classic_module.cc47 : l2cap_handler_(l2cap_handler), acl_manager_(acl_manager) { in impl()
51 os::Handler* l2cap_handler_; member
54 internal::FixedChannelServiceManagerImpl fixed_channel_service_manager_impl_{l2cap_handler_};
55 internal::DynamicChannelServiceManagerImpl dynamic_channel_service_manager_impl_{l2cap_handler_};
56 …internal::LinkManager link_manager_{l2cap_handler_, acl_manager_, &fixed_channel_service_manager_i…
110 … &pimpl_->link_manager_, pimpl_->l2cap_handler_)); in GetFixedChannelManager()
115 … &pimpl_->dynamic_channel_service_manager_impl_, &pimpl_->link_manager_, pimpl_->l2cap_handler_)); in GetDynamicChannelManager()
Dfixed_channel.cc30l2cap_handler_->Post(common::BindOnce(&internal::FixedChannelImpl::RegisterOnCloseCallback, impl_,… in RegisterOnCloseCallback()
35 l2cap_handler_->Post(common::BindOnce(&internal::FixedChannelImpl::Acquire, impl_)); in Acquire()
39 l2cap_handler_->Post(common::BindOnce(&internal::FixedChannelImpl::Release, impl_)); in Release()
Dfixed_channel.h44 : impl_(std::move(impl)), l2cap_handler_(l2cap_handler) { in FixedChannel()
46 ASSERT(l2cap_handler_ != nullptr); in FixedChannel()
85 os::Handler* l2cap_handler_; variable
/system/bt/gd/l2cap/
Ddynamic_channel.h41 : impl_(std::move(impl)), l2cap_handler_(l2cap_handler) { in DynamicChannel()
43 ASSERT(l2cap_handler_ != nullptr); in DynamicChannel()
83 os::Handler* l2cap_handler_; variable
Ddynamic_channel.cc29 l2cap_handler_->CallOn( in RegisterOnCloseCallback()
34 l2cap_handler_->CallOn(impl_.get(), &l2cap::internal::DynamicChannelImpl::Close); in Close()

12