Home
last modified time | relevance | path

Searched refs:user_handler (Results 1 – 18 of 18) sorted by relevance

/system/bt/gd/l2cap/internal/
Ddynamic_channel_impl_test.cc88 auto user_handler = std::make_unique<os::Handler>(thread_); in TEST_F() local
90 …dynamic_channel_impl.RegisterOnCloseCallback(user_handler->BindOnceOn(my_status, &StatusCapture::c… in TEST_F()
94 SyncHandler(user_handler.get()); in TEST_F()
97 user_handler->Clear(); in TEST_F()
113 auto user_handler = std::make_unique<os::Handler>(thread_); in TEST_F() local
115 …dynamic_channel_impl.RegisterOnCloseCallback(user_handler->BindOnceOn(my_status, &StatusCapture::c… in TEST_F()
117 SyncHandler(user_handler.get()); in TEST_F()
120 user_handler->Clear(); in TEST_F()
133 auto user_handler = std::make_unique<os::Handler>(thread_); in TEST_F() local
135 …dynamic_channel_impl.RegisterOnCloseCallback(user_handler->BindOnceOn(my_status, &StatusCapture::c… in TEST_F()
[all …]
/system/bt/gd/l2cap/le/internal/
Dfixed_channel_impl_test.cc89 auto user_handler = std::make_unique<os::Handler>(thread_); in TEST_F() local
92user_handler.get(), common::testing::BindLambdaForTesting([&](hci::ErrorCode status) { my_status =… in TEST_F()
96 SyncHandler(user_handler.get()); in TEST_F()
99 user_handler->Clear(); in TEST_F()
117 auto user_handler = std::make_unique<os::Handler>(thread_); in TEST_F() local
120user_handler.get(), common::testing::BindLambdaForTesting([&](hci::ErrorCode status) { my_status =… in TEST_F()
121 SyncHandler(user_handler.get()); in TEST_F()
124 user_handler->Clear(); in TEST_F()
139 auto user_handler = std::make_unique<os::Handler>(thread_); in TEST_F() local
142user_handler.get(), common::testing::BindLambdaForTesting([&](hci::ErrorCode status) { my_status =… in TEST_F()
[all …]
Dfixed_channel_service_impl.h46 FixedChannelServiceImpl(os::Handler* user_handler, in FixedChannelServiceImpl() argument
48 …: user_handler_(user_handler), on_connection_open_callback_(std::move(on_connection_open_callback)… in FixedChannelServiceImpl()
Dfixed_channel_impl.cc46 void FixedChannelImpl::RegisterOnCloseCallback(os::Handler* user_handler, in RegisterOnCloseCallback() argument
51 user_handler->Post(common::BindOnce(std::move(on_close_callback), close_reason_)); in RegisterOnCloseCallback()
54 user_handler_ = user_handler; in RegisterOnCloseCallback()
Ddynamic_channel_service_impl.h59 DynamicChannelServiceImpl(os::Handler* user_handler, in DynamicChannelServiceImpl() argument
62 …: user_handler_(user_handler), on_connection_open_callback_(std::move(on_connection_open_callback)… in DynamicChannelServiceImpl()
Dfixed_channel_impl_mock.h32 … (os::Handler * user_handler, FixedChannel::OnCloseCallback on_close_callback), (override));
Dfixed_channel_impl.h50 …virtual void RegisterOnCloseCallback(os::Handler* user_handler, FixedChannel::OnCloseCallback on_c…
/system/bt/gd/l2cap/classic/internal/
Dfixed_channel_impl_test.cc95 auto user_handler = std::make_unique<os::Handler>(thread_); in TEST_F() local
98user_handler.get(), common::testing::BindLambdaForTesting([&](hci::ErrorCode status) { my_status =… in TEST_F()
102 SyncHandler(user_handler.get()); in TEST_F()
105 user_handler->Clear(); in TEST_F()
127 auto user_handler = std::make_unique<os::Handler>(thread_); in TEST_F() local
130user_handler.get(), common::testing::BindLambdaForTesting([&](hci::ErrorCode status) { my_status =… in TEST_F()
131 SyncHandler(user_handler.get()); in TEST_F()
134 user_handler->Clear(); in TEST_F()
154 auto user_handler = std::make_unique<os::Handler>(thread_); in TEST_F() local
157user_handler.get(), common::testing::BindLambdaForTesting([&](hci::ErrorCode status) { my_status =… in TEST_F()
[all …]
Dlink_manager_test.cc103 auto user_handler = std::make_unique<os::Handler>(thread_); in TEST_F() local
126 .handler_ = user_handler.get(), in TEST_F()
162 .handler_ = user_handler.get(), in TEST_F()
166 SyncHandler(user_handler.get()); in TEST_F()
175 .handler_ = user_handler.get(), in TEST_F()
184 user_handler->Clear(); in TEST_F()
193 auto user_handler = std::make_unique<os::Handler>(thread_); in TEST_F() local
213 .handler_ = user_handler.get(), in TEST_F()
217 SyncHandler(user_handler.get()); in TEST_F()
220 user_handler->Clear(); in TEST_F()
[all …]
Dfixed_channel_impl.cc37 void FixedChannelImpl::RegisterOnCloseCallback(os::Handler* user_handler, in RegisterOnCloseCallback() argument
42 user_handler->Post(common::BindOnce(std::move(on_close_callback), close_reason_)); in RegisterOnCloseCallback()
45 user_handler_ = user_handler; in RegisterOnCloseCallback()
Dfixed_channel_service_impl.h46 FixedChannelServiceImpl(os::Handler* user_handler, in FixedChannelServiceImpl() argument
48 …: user_handler_(user_handler), on_connection_open_callback_(std::move(on_connection_open_callback)… in FixedChannelServiceImpl()
Dfixed_channel_impl_mock.h33 … (os::Handler * user_handler, FixedChannel::OnCloseCallback on_close_callback), (override));
Dfixed_channel_impl.h44 …virtual void RegisterOnCloseCallback(os::Handler* user_handler, FixedChannel::OnCloseCallback on_c…
/system/bt/gd/l2cap/classic/
Dfixed_channel.cc29 void FixedChannel::RegisterOnCloseCallback(os::Handler* user_handler, FixedChannel::OnCloseCallback… in RegisterOnCloseCallback() argument
30 …_->Post(common::BindOnce(&internal::FixedChannelImpl::RegisterOnCloseCallback, impl_, user_handler, in RegisterOnCloseCallback()
Dfixed_channel.h60 void RegisterOnCloseCallback(os::Handler* user_handler, OnCloseCallback on_close_callback);
/system/bt/gd/l2cap/le/
Dfixed_channel.cc29 void FixedChannel::RegisterOnCloseCallback(os::Handler* user_handler, FixedChannel::OnCloseCallback… in RegisterOnCloseCallback() argument
30 …_->Post(common::BindOnce(&internal::FixedChannelImpl::RegisterOnCloseCallback, impl_, user_handler, in RegisterOnCloseCallback()
Dfixed_channel.h61 void RegisterOnCloseCallback(os::Handler* user_handler, OnCloseCallback on_close_callback);
/system/bt/gd/docs/testing/
Dgtest.md151 …virtual void RegisterOnCloseCallback(os::Handler* user_handler, FixedChannel::OnCloseCallback on_c…
195 … (os::Handler * user_handler, FixedChannel::OnCloseCallback on_close_callback), (override));