Home
last modified time | relevance | path

Searched refs:fdevent_context (Results 1 – 4 of 4) sorted by relevance

/system/core/adb/fdevent/
Dfdevent.cpp63 fdevent* fdevent_context::Create(unique_fd fd, std::variant<fd_func, fd_func2> func, void* arg) { in Create()
89 unique_fd fdevent_context::Destroy(fdevent* fde) { in Destroy()
105 void fdevent_context::Add(fdevent* fde, unsigned events) { in Add()
110 void fdevent_context::Del(fdevent* fde, unsigned events) { in Del()
115 void fdevent_context::SetTimeout(fdevent* fde, std::optional<std::chrono::milliseconds> timeout) { in SetTimeout()
121 std::optional<std::chrono::milliseconds> fdevent_context::CalculatePollDuration() { in CalculatePollDuration()
147 void fdevent_context::HandleEvents(const std::vector<fdevent_event>& events) { in HandleEvents()
154 void fdevent_context::FlushRunQueue() { in FlushRunQueue()
171 void fdevent_context::CheckMainThread() { in CheckMainThread()
177 void fdevent_context::Run(std::function<void()> fn) { in Run()
[all …]
Dfdevent_epoll.h35 struct fdevent_context_epoll final : public fdevent_context {
Dfdevent.h69 struct fdevent_context { struct
71 virtual ~fdevent_context() = default;
Dfdevent_poll.h47 struct fdevent_context_poll final : public fdevent_context {