Home
last modified time | relevance | path

Searched refs:Handler (Results 1 – 25 of 208) sorted by relevance

123456789

/system/bt/gd/os/linux_generic/
Dhandler.cc38 Handler::Handler(Thread* thread) in Handler() function in bluetooth::os::Handler
42 fd_, common::Bind(&Handler::handle_next_event, common::Unretained(this)), common::Closure()); in Handler()
45 Handler::~Handler() { in ~Handler()
56 void Handler::Post(OnceClosure closure) { in Post()
70 void Handler::Clear() { in Clear()
87 void Handler::WaitUntilStopped(std::chrono::milliseconds timeout) { in WaitUntilStopped()
92 void Handler::handle_next_event() { in handle_next_event()
/system/bt/gd/common/
Dbidi_queue_unittest.cc26 using ::bluetooth::os::Handler;
37 up_handler_ = new Handler(up_thread_); in SetUp()
39 down_handler_ = new Handler(down_thread_); in SetUp()
50 Handler* up_handler_;
52 Handler* down_handler_;
62 …explicit TestBidiQueueEnd(BidiQueueEnd<TA, TB>* end, Handler* handler) : handler_(handler), end_(e… in TestBidiQueueEnd()
115 Handler* handler_;
/system/bt/gd/security/
Dsecurity_manager.h76 void SetUserInterfaceHandler(UI* user_interface, os::Handler* handler);
93 void RegisterCallbackListener(ISecurityManagerListener* listener, os::Handler* handler);
107 …SecurityManager(os::Handler* security_handler, internal::SecurityManagerImpl* security_manager_imp… in SecurityManager()
111 os::Handler* security_handler_ = nullptr;
/system/bt/gd/l2cap/classic/internal/
Dlink_manager.h41 LinkManager(os::Handler* l2cap_handler, hci::AclManager* acl_manager, in LinkManager()
52 os::Handler* handler_;
80 …void RegisterLinkSecurityInterfaceListener(os::Handler* handler, LinkSecurityInterfaceListener* li…
91 os::Handler* l2cap_handler_;
103 os::Handler* link_security_interface_listener_handler_ = nullptr;
Dsignalling_manager_test.cc38 static void SyncHandler(os::Handler* handler) { in SyncHandler()
48 l2cap_handler_ = new os::Handler(thread_); in SetUp()
58 os::Handler* l2cap_handler_ = nullptr;
Dfixed_channel_service_impl.h33 os::Handler* user_handler_ = nullptr;
46 FixedChannelServiceImpl(os::Handler* user_handler, in FixedChannelServiceImpl()
51 os::Handler* user_handler_ = nullptr;
Dfixed_channel_service_manager_impl.h33 explicit FixedChannelServiceManagerImpl(os::Handler* l2cap_layer_handler) in FixedChannelServiceManagerImpl()
40 …id Unregister(Cid cid, FixedChannelService::OnUnregisteredCallback callback, os::Handler* handler);
47 os::Handler* l2cap_layer_handler_ = nullptr;
Dfixed_channel_impl.h36 FixedChannelImpl(Cid cid, Link* link, os::Handler* l2cap_handler);
44 …virtual void RegisterOnCloseCallback(os::Handler* user_handler, FixedChannel::OnCloseCallback on_c…
86 os::Handler* l2cap_handler_;
89 os::Handler* user_handler_ = nullptr;
/system/bt/gd/l2cap/le/
Dfixed_channel_manager.h105 os::Handler* handler);
127 OnConnectionOpenCallback on_connection_open, os::Handler* handler);
134 os::Handler* l2cap_layer_handler) in FixedChannelManager()
138 os::Handler* l2cap_layer_handler_ = nullptr;
Dfixed_channel_service.h44 void Unregister(OnUnregisteredCallback on_unregistered, os::Handler* on_unregistered_handler);
49 …FixedChannelService(Cid cid, internal::FixedChannelServiceManagerImpl* manager, os::Handler* handl… in FixedChannelService()
53 os::Handler* l2cap_layer_handler_;
Ddynamic_channel_service.h44 void Unregister(OnUnregisteredCallback on_unregistered, os::Handler* on_unregistered_handler);
51 …DynamicChannelService(Psm psm, internal::DynamicChannelServiceManagerImpl* manager, os::Handler* h… in DynamicChannelService()
61 os::Handler* l2cap_layer_handler_;
Dfixed_channel.h44 FixedChannel(std::shared_ptr<internal::FixedChannelImpl> impl, os::Handler* l2cap_handler) in FixedChannel()
61 void RegisterOnCloseCallback(os::Handler* user_handler, OnCloseCallback on_close_callback);
93 os::Handler* l2cap_handler_;
Ddynamic_channel_manager.h100 os::Handler* handler);
125 OnConnectionOpenCallback on_connection_open, os::Handler* handler);
132 internal::LinkManager* link_manager, os::Handler* l2cap_layer_handler) in DynamicChannelManager()
140 os::Handler* l2cap_layer_handler_ = nullptr;
/system/bt/gd/l2cap/classic/
Dfixed_channel_service.h44 void Unregister(OnUnregisteredCallback on_unregistered, os::Handler* on_unregistered_handler);
49 …FixedChannelService(Cid cid, internal::FixedChannelServiceManagerImpl* manager, os::Handler* handl… in FixedChannelService()
53 os::Handler* l2cap_layer_handler_;
Dfixed_channel_manager.h108 …tServices(hci::Address device, OnConnectionFailureCallback on_fail_callback, os::Handler* handler);
130 OnConnectionOpenCallback on_connection_open, os::Handler* handler);
140 os::Handler* l2cap_layer_handler) in FixedChannelManager()
145 os::Handler* l2cap_layer_handler_ = nullptr;
Dfixed_channel.h43 FixedChannel(std::shared_ptr<internal::FixedChannelImpl> impl, os::Handler* l2cap_handler) in FixedChannel()
60 void RegisterOnCloseCallback(os::Handler* user_handler, OnCloseCallback on_close_callback);
85 os::Handler* l2cap_handler_;
/system/bt/gd/l2cap/le/internal/
Dfixed_channel_service_impl.h33 os::Handler* user_handler_ = nullptr;
46 FixedChannelServiceImpl(os::Handler* user_handler, in FixedChannelServiceImpl()
51 os::Handler* user_handler_ = nullptr;
Dfixed_channel_service_manager_impl.h33 explicit FixedChannelServiceManagerImpl(os::Handler* l2cap_layer_handler) in FixedChannelServiceManagerImpl()
40 …id Unregister(Cid cid, FixedChannelService::OnUnregisteredCallback callback, os::Handler* handler);
46 os::Handler* l2cap_layer_handler_ = nullptr;
Ddynamic_channel_service_manager_impl.h34 explicit DynamicChannelServiceManagerImpl(os::Handler* l2cap_layer_handler) in DynamicChannelServiceManagerImpl()
42 … Unregister(Psm psm, DynamicChannelService::OnUnregisteredCallback callback, os::Handler* handler);
58 os::Handler* l2cap_layer_handler_ = nullptr;
Dfixed_channel_impl.h37 FixedChannelImpl(Cid cid, Link* link, os::Handler* l2cap_handler);
50 …virtual void RegisterOnCloseCallback(os::Handler* user_handler, FixedChannel::OnCloseCallback on_c…
88 os::Handler* l2cap_handler_;
91 os::Handler* user_handler_ = nullptr;
/system/bt/gd/os/
Dqueue_benchmark.cc34 enqueue_handler_ = new Handler(enqueue_thread_); in SetUp()
36 dequeue_handler_ = new Handler(dequeue_thread_); in SetUp()
52 Handler* enqueue_handler_;
54 Handler* dequeue_handler_;
59 …explicit TestEnqueueEnd(int64_t count, Queue<std::string>* queue, Handler* handler, std::promise<v… in TestEnqueueEnd()
97 Handler* handler_;
109 …explicit TestDequeueEnd(int64_t count, Queue<std::string>* queue, Handler* handler, std::promise<v… in TestDequeueEnd()
131 Handler* handler_;
Dqueue.h42 virtual void RegisterEnqueue(Handler* handler, EnqueueCallback callback) = 0;
52 virtual void RegisterDequeue(Handler* handler, DequeueCallback callback) = 0;
71 void RegisterEnqueue(Handler* handler, EnqueueCallback callback) override;
76 void RegisterDequeue(Handler* handler, DequeueCallback callback) override;
97 Handler* handler_;
116 void Enqueue(std::unique_ptr<T> t, os::Handler* handler) { in Enqueue()
/system/bt/gd/l2cap/internal/
Ddynamic_channel_impl_test.cc38 static void SyncHandler(os::Handler* handler) { in SyncHandler()
48 l2cap_handler_ = new os::Handler(thread_); in SetUp()
58 os::Handler* l2cap_handler_ = nullptr;
88 auto user_handler = std::make_unique<os::Handler>(thread_); in TEST_F()
113 auto user_handler = std::make_unique<os::Handler>(thread_); in TEST_F()
133 auto user_handler = std::make_unique<os::Handler>(thread_); in TEST_F()
158 auto user_handler = std::make_unique<os::Handler>(thread_); in TEST_F()
Dscheduler_fifo_test.cc53 void sync_handler(os::Handler* handler) { in sync_handler()
74 user_handler_ = new os::Handler(thread_); in SetUp()
75 queue_handler_ = new os::Handler(thread_); in SetUp()
91 os::Handler* user_handler_ = nullptr;
92 os::Handler* queue_handler_ = nullptr;
Dbasic_mode_channel_data_controller_test.cc43 void sync_handler(os::Handler* handler) { in sync_handler()
55 user_handler_ = new os::Handler(thread_); in SetUp()
56 queue_handler_ = new os::Handler(thread_); in SetUp()
68 os::Handler* user_handler_ = nullptr;
69 os::Handler* queue_handler_ = nullptr;

123456789