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::__anon1796e9a50111::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::__anon97f2e1ca0111::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::__anon2b48698b0111::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.h45 : l2cap_handler_(l2cap_handler), acl_manager_(acl_manager), in LinkManager()
48 acl_manager_->RegisterCallbacks(this, l2cap_handler_); in LinkManager()
91 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.h36 …FixedChannelAllocator(LinkType* link, os::Handler* l2cap_handler) : link_(link), l2cap_handler_(l2… in FixedChannelAllocator()
38 ASSERT(l2cap_handler_ != nullptr); in FixedChannelAllocator()
48 …m = channels_.try_emplace(cid, std::make_shared<FixedChannelImplType>(cid, link_, l2cap_handler_)); in AllocateChannel()
91 os::Handler* l2cap_handler_; variable
Ddynamic_channel_allocator.h41 : link_(link), l2cap_handler_(l2cap_handler) { in DynamicChannelAllocator()
43 ASSERT(l2cap_handler_ != nullptr); in DynamicChannelAllocator()
71 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()
40 ASSERT(l2cap_handler_ != nullptr); in DynamicChannelImpl()
67 l2cap_handler_ = nullptr; in OnClosed()
/system/bt/gd/l2cap/le/
Dl2cap_le_module.cc40 : l2cap_handler_(l2cap_handler), acl_manager_(acl_manager) { in impl()
43 os::Handler* l2cap_handler_; member
46 internal::FixedChannelServiceManagerImpl fixed_channel_service_manager_impl_{l2cap_handler_};
47 internal::DynamicChannelServiceManagerImpl dynamic_channel_service_manager_impl_{l2cap_handler_};
48 …internal::LinkManager link_manager_{l2cap_handler_, acl_manager_, &fixed_channel_service_manager_i…
73 … &pimpl_->link_manager_, pimpl_->l2cap_handler_)); in GetFixedChannelManager()
78 … &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
Dlink.h139 os::Handler* l2cap_handler_;
140 …rnal::FixedChannelAllocator<FixedChannelImpl, Link> fixed_channel_allocator_{this, l2cap_handler_};
141 l2cap::internal::DynamicChannelAllocator dynamic_channel_allocator_{this, l2cap_handler_};
148 os::Alarm link_idle_disconnect_alarm_{l2cap_handler_};
149 LinkOptions link_options_{acl_connection_.get(), this, l2cap_handler_};
Dlink_manager.h45 …: l2cap_handler_(l2cap_handler), acl_manager_(acl_manager), fixed_channel_service_manager_(service… in LinkManager()
47 acl_manager_->RegisterLeCallbacks(this, l2cap_handler_); in LinkManager()
80 os::Handler* l2cap_handler_;
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_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::__anon6e36421a0111::L2capLeLinkManagerTest
102 …LinkManager le_link_manager(l2cap_handler_, &mock_acl_manager, &mock_le_fixed_channel_service_mana… in TEST_F()
105 EXPECT_EQ(hci_callback_handler, l2cap_handler_); in TEST_F()
201 …LinkManager le_link_manager(l2cap_handler_, &mock_acl_manager, &mock_le_fixed_channel_service_mana… in TEST_F()
204 EXPECT_EQ(hci_callback_handler, l2cap_handler_); in TEST_F()
234 …LinkManager le_link_manager(l2cap_handler_, &mock_acl_manager, &mock_le_fixed_channel_service_mana… in TEST_F()
237 EXPECT_EQ(hci_callback_handler, l2cap_handler_); in TEST_F()
[all …]
/system/bt/gd/l2cap/classic/
Dl2cap_classic_module.cc45 : l2cap_handler_(l2cap_handler), acl_manager_(acl_manager) { in impl()
48 os::Handler* l2cap_handler_; member
51 internal::FixedChannelServiceManagerImpl fixed_channel_service_manager_impl_{l2cap_handler_};
52 internal::DynamicChannelServiceManagerImpl dynamic_channel_service_manager_impl_{l2cap_handler_};
53 …internal::LinkManager link_manager_{l2cap_handler_, acl_manager_, &fixed_channel_service_manager_i…
102 … &pimpl_->link_manager_, pimpl_->l2cap_handler_)); in GetFixedChannelManager()
107 … &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()
77 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