Home
last modified time | relevance | path

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

12345678910

/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/core/init/
Depoll.h40 typedef std::function<void()> Handler; typedef
43 Result<void> RegisterHandler(int fd, Handler handler, uint32_t events = EPOLLIN);
45 Result<std::vector<std::shared_ptr<Handler>>> Wait(
50 std::map<int, std::shared_ptr<Handler>> epoll_handlers_;
Depoll.cpp41 Result<void> Epoll::RegisterHandler(int fd, Handler handler, uint32_t events) { in RegisterHandler()
73 Result<std::vector<std::shared_ptr<Epoll::Handler>>> Epoll::Wait( in Wait()
85 std::vector<std::shared_ptr<Handler>> pending_functions; in Wait()
87 auto sp = *reinterpret_cast<std::shared_ptr<Handler>*>(ev[i].data.ptr); in Wait()
/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/l2cap/le/
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.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;
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()
60 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/
Dlink_manager.h46 os::Handler* l2cap_handler, in LinkManager()
60 os::Handler* handler_;
89 void RegisterLinkPropertyListener(os::Handler* handler, LinkPropertyListener* listener);
104 os::Handler* l2cap_handler_;
115 os::Handler* link_property_callback_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);
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;
/system/bt/gd/l2cap/classic/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;
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_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;
Dlink_manager.h45 LinkManager(os::Handler* l2cap_handler, hci::AclManager* acl_manager, in LinkManager()
56 os::Handler* handler_;
109 …void RegisterLinkSecurityInterfaceListener(os::Handler* handler, LinkSecurityInterfaceListener* li…
115 void RegisterLinkPropertyListener(os::Handler* handler, LinkPropertyListener* listener);
132 os::Handler* l2cap_handler_;
144 os::Handler* link_security_interface_listener_handler_ = nullptr;
147 os::Handler* link_property_callback_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/fuzz/
Dchannel_fuzz_controller.cc24 using os::Handler;
26 ChannelFuzzController::ChannelFuzzController(Handler* l2cap_handler, std::shared_ptr<DynamicChannel… in ChannelFuzzController()
31 ChannelFuzzController::ChannelFuzzController(Handler* l2cap_handler, std::shared_ptr<FixedChannelIm… in ChannelFuzzController()
/system/bt/gd/security/
Dsecurity_manager.h98 void SetUserInterfaceHandler(UI* user_interface, os::Handler* handler);
115 void RegisterCallbackListener(ISecurityManagerListener* listener, os::Handler* handler);
130 …SecurityManager(os::Handler* security_handler, internal::SecurityManagerImpl* security_manager_imp… in SecurityManager()
134 os::Handler* security_handler_ = nullptr;
/system/bt/gd/os/
Dmock_queue.h40 virtual void RegisterEnqueue(Handler* handler, EnqueueCallback callback) { in RegisterEnqueue()
59 Handler* registered_handler = nullptr;
69 virtual void RegisterDequeue(Handler* handler, DequeueCallback callback) { in RegisterDequeue()
94 Handler* registered_handler = nullptr;
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_;

12345678910