Home
last modified time | relevance | path

Searched refs:user_handler_ (Results 1 – 23 of 23) sorted by relevance

/system/bt/gd/l2cap/le/internal/
Dfixed_channel_service_manager_test.cc49 user_handler_ = new os::Handler(thread_); in SetUp()
53 user_handler_->Clear(); in TearDown()
54 delete user_handler_; in TearDown()
62user_handler_->Post(common::BindOnce(&std::promise<void>::set_value, common::Unretained(&promise))… in sync_user_handler()
68 os::Handler* user_handler_ = nullptr; member in bluetooth::l2cap::le::internal::L2capLeServiceManagerTest
75 .user_handler_ = user_handler_, in TEST_F()
84 manager_->Unregister(cid, common::BindOnce([] {}), user_handler_); in TEST_F()
90 .user_handler_ = user_handler_, in TEST_F()
Ddynamic_channel_service_manager_test.cc47 user_handler_ = new os::Handler(thread_); in SetUp()
56 user_handler_->Clear(); in TearDown()
57 delete user_handler_; in TearDown()
64user_handler_->Post(common::BindOnce(&std::promise<void>::set_value, common::Unretained(&promise))… in sync_user_handler()
70 os::Handler* user_handler_ = nullptr; member in bluetooth::l2cap::le::internal::L2capLeDynamicServiceManagerTest
78 .user_handler_ = user_handler_, in TEST_F()
88 manager_->Unregister(psm, common::BindOnce([] {}), user_handler_); in TEST_F()
94 .user_handler_ = user_handler_, in TEST_F()
Dfixed_channel_impl.cc48 ASSERT_LOG(user_handler_ == nullptr, "OnCloseCallback can only be registered once"); in RegisterOnCloseCallback()
54 user_handler_ = user_handler; in RegisterOnCloseCallback()
66 if (user_handler_ == nullptr) { in OnClosed()
70 user_handler_->Post(common::BindOnce(std::move(on_close_callback_), status)); in OnClosed()
71 user_handler_ = nullptr; in OnClosed()
76 ASSERT_LOG(user_handler_ != nullptr, "Must register OnCloseCallback before calling any methods"); in Acquire()
91 ASSERT_LOG(user_handler_ != nullptr, "Must register OnCloseCallback before calling any methods"); in Release()
Dfixed_channel_service_impl.h33 os::Handler* user_handler_ = nullptr; member
39 user_handler_->Post(common::BindOnce(on_connection_open_callback_, std::move(channel))); in NotifyChannelCreation()
48 …: user_handler_(user_handler), on_connection_open_callback_(std::move(on_connection_open_callback)… in FixedChannelServiceImpl()
51 os::Handler* user_handler_ = nullptr;
Ddynamic_channel_service_impl.h36 os::Handler* user_handler_ = nullptr; member
44 user_handler_->Post(common::BindOnce(on_connection_open_callback_, std::move(channel))); in NotifyChannelCreation()
62 …: user_handler_(user_handler), on_connection_open_callback_(std::move(on_connection_open_callback)… in DynamicChannelServiceImpl()
66 os::Handler* user_handler_ = nullptr;
Dfixed_channel_service_manager_impl.cc33 pending_registration.user_handler_->Post( in Register()
38 pending_registration.user_handler_->Post( in Register()
43 FixedChannelServiceImpl(pending_registration.user_handler_, in Register()
46 pending_registration.user_handler_->Post( in Register()
Dlink_manager_test.cc70 user_handler_ = new os::Handler(thread_); in SetUp()
80 user_handler_->Clear(); in TearDown()
81 delete user_handler_; in TearDown()
87 os::Handler* user_handler_ = nullptr; member in bluetooth::l2cap::le::internal::__anon889d2ba10111::L2capLeLinkManagerTest
121 .handler_ = user_handler_, in TEST_F()
167 .handler_ = user_handler_, in TEST_F()
171 SyncHandler(user_handler_); in TEST_F()
180 .handler_ = user_handler_, in TEST_F()
229 .handler_ = user_handler_, in TEST_F()
233 SyncHandler(user_handler_); in TEST_F()
[all …]
Ddynamic_channel_service_manager_impl.cc33 pending_registration.user_handler_->Post(common::BindOnce( in Register()
38 psm, DynamicChannelServiceImpl(pending_registration.user_handler_, in Register()
42 pending_registration.user_handler_->Post( in Register()
Dfixed_channel_impl.h91 os::Handler* user_handler_ = nullptr; variable
/system/bt/gd/l2cap/classic/internal/
Dfixed_channel_service_manager_test.cc49 user_handler_ = new os::Handler(thread_); in SetUp()
53 user_handler_->Clear(); in TearDown()
54 delete user_handler_; in TearDown()
62user_handler_->Post(common::BindOnce(&std::promise<void>::set_value, common::Unretained(&promise))… in sync_user_handler()
68 os::Handler* user_handler_ = nullptr; member in bluetooth::l2cap::classic::internal::L2capClassicFixedServiceManagerTest
75 .user_handler_ = user_handler_, in TEST_F()
84 manager_->Unregister(cid, common::BindOnce([] {}), user_handler_); in TEST_F()
90 .user_handler_ = user_handler_, in TEST_F()
Ddynamic_channel_service_manager_test.cc48 user_handler_ = new os::Handler(thread_); in SetUp()
57 user_handler_->Clear(); in TearDown()
58 delete user_handler_; in TearDown()
65 user_handler_->CallOn(&promise, &std::promise<void>::set_value); in sync_user_handler()
72 os::Handler* user_handler_ = nullptr; member in bluetooth::l2cap::classic::internal::__anona8b890510111::L2capDynamicServiceManagerTest
80 .user_handler_ = user_handler_, in TEST_F()
83user_handler_->BindOnceOn(this, &L2capDynamicServiceManagerTest::OnServiceRegistered, true)}; in TEST_F()
90 manager_->Unregister(cid, user_handler_->BindOnce([] {})); in TEST_F()
98user_handler_->BindOnceOn(this, &L2capDynamicServiceManagerTest::OnServiceRegistered, false)}; in TEST_F()
Dfixed_channel_impl.cc39 ASSERT_LOG(user_handler_ == nullptr, "OnCloseCallback can only be registered once"); in RegisterOnCloseCallback()
45 user_handler_ = user_handler; in RegisterOnCloseCallback()
57 if (user_handler_ == nullptr) { in OnClosed()
61 user_handler_->Post(common::BindOnce(std::move(on_close_callback_), status)); in OnClosed()
62 user_handler_ = nullptr; in OnClosed()
67 ASSERT_LOG(user_handler_ != nullptr, "Must register OnCloseCallback before calling any methods"); in Acquire()
82 ASSERT_LOG(user_handler_ != nullptr, "Must register OnCloseCallback before calling any methods"); in Release()
Dfixed_channel_service_impl.h33 os::Handler* user_handler_ = nullptr; member
39 user_handler_->Post(common::BindOnce(on_connection_open_callback_, std::move(channel))); in NotifyChannelCreation()
48 …: user_handler_(user_handler), on_connection_open_callback_(std::move(on_connection_open_callback)… in FixedChannelServiceImpl()
51 os::Handler* user_handler_ = nullptr;
Dfixed_channel_service_manager_impl.cc33 pending_registration.user_handler_->Post( in Register()
38 pending_registration.user_handler_->Post( in Register()
43 FixedChannelServiceImpl(pending_registration.user_handler_, in Register()
46 pending_registration.user_handler_->Post( in Register()
Ddynamic_channel_service_impl.h36 os::Handler* user_handler_ = nullptr; member
Dfixed_channel_impl.h89 os::Handler* user_handler_ = nullptr; variable
/system/bt/gd/l2cap/internal/
Dbasic_mode_channel_data_controller_test.cc55 user_handler_ = new os::Handler(thread_); in SetUp()
61 user_handler_->Clear(); in TearDown()
63 delete user_handler_; in TearDown()
68 os::Handler* user_handler_ = nullptr; member in bluetooth::l2cap::internal::__anondc822bb30111::BasicModeDataControllerTest
Dsender_test.cc75 user_handler_ = new os::Handler(thread_); in SetUp()
86 user_handler_->Clear(); in TearDown()
89 delete user_handler_; in TearDown()
94 os::Handler* user_handler_ = nullptr; member in bluetooth::l2cap::internal::__anoncea1feda0111::L2capSenderTest
Dle_credit_based_channel_data_controller_test.cc55 user_handler_ = new os::Handler(thread_); in SetUp()
61 user_handler_->Clear(); in TearDown()
63 delete user_handler_; in TearDown()
68 os::Handler* user_handler_ = nullptr; member in bluetooth::l2cap::internal::__anon3d1371360111::LeCreditBasedDataControllerTest
Denhanced_retransmission_mode_channel_data_controller_test.cc57 user_handler_ = new os::Handler(thread_); in SetUp()
63 user_handler_->Clear(); in TearDown()
65 delete user_handler_; in TearDown()
70 os::Handler* user_handler_ = nullptr; member in bluetooth::l2cap::internal::__anonee177b270111::ErtmDataControllerTest
/system/bt/gd/l2cap/classic/
Dfixed_channel_manager.cc41 .user_handler_ = handler, in RegisterService()
/system/bt/gd/l2cap/le/
Dfixed_channel_manager.cc41 .user_handler_ = handler, in RegisterService()
Ddynamic_channel_manager.cc49 .user_handler_ = handler, in RegisterService()