/system/bt/gd/os/linux_generic/ |
D | handler.cc | 38 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/ |
D | epoll.h | 40 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_;
|
D | epoll.cpp | 41 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/ |
D | bidi_queue_unittest.cc | 26 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/ |
D | fixed_channel_service.h | 44 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_;
|
D | fixed_channel_manager.h | 105 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;
|
D | dynamic_channel_service.h | 44 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_;
|
D | fixed_channel.h | 44 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_;
|
D | dynamic_channel_manager.h | 100 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/ |
D | fixed_channel_service.h | 44 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_;
|
D | fixed_channel_manager.h | 108 …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;
|
D | fixed_channel.h | 43 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/ |
D | link_manager.h | 46 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;
|
D | fixed_channel_service_impl.h | 33 os::Handler* user_handler_ = nullptr; 46 FixedChannelServiceImpl(os::Handler* user_handler, in FixedChannelServiceImpl() 51 os::Handler* user_handler_ = nullptr;
|
D | fixed_channel_service_manager_impl.h | 33 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;
|
D | dynamic_channel_service_manager_impl.h | 34 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/ |
D | fixed_channel_service_impl.h | 33 os::Handler* user_handler_ = nullptr; 46 FixedChannelServiceImpl(os::Handler* user_handler, in FixedChannelServiceImpl() 51 os::Handler* user_handler_ = nullptr;
|
D | signalling_manager_test.cc | 38 static void SyncHandler(os::Handler* handler) { in SyncHandler() 48 l2cap_handler_ = new os::Handler(thread_); in SetUp() 58 os::Handler* l2cap_handler_ = nullptr;
|
D | fixed_channel_service_manager_impl.h | 33 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;
|
D | link_manager.h | 45 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;
|
D | fixed_channel_impl.h | 36 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/ |
D | channel_fuzz_controller.cc | 24 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/ |
D | security_manager.h | 98 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/ |
D | mock_queue.h | 40 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;
|
D | queue_benchmark.cc | 34 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_;
|