Home
last modified time | relevance | path

Searched refs:epoll_ (Results 1 – 5 of 5) sorted by relevance

/system/core/init/
Dkeychords.cpp40 Keychords::Keychords() : epoll_(nullptr), inotify_fd_(-1) {} in Keychords()
44 epoll_->UnregisterHandler(inotify_fd_); in ~Keychords()
189 if (auto result = epoll_->RegisterHandler(fd, [this, fd]() { this->LambdaHandler(fd); }); in GeteventEnable()
215 epoll_->UnregisterHandler(fd); in GeteventCloseDevice()
274 epoll_->RegisterHandler(inotify_fd_, [this]() { this->InotifyHandler(); }); in GeteventOpenDevice()
287 epoll_ = epoll; in Start()
Dmount_handler.h53 Epoll* epoll_; variable
Dkeychords_test.cpp199 Epoll epoll_; member in android::init::__anon8ab3744a0111::TestFrame
207 if (!epoll_.Open().ok()) return; in TestFrame()
209 keychords_.Start(&epoll_, [this](const std::vector<int>& keycodes) { in TestFrame()
215 auto pending_functions = epoll_.Wait(wait); in RelaxForMs()
Dmount_handler.cpp115 MountHandler::MountHandler(Epoll* epoll) : epoll_(epoll), fp_(fopen("/proc/mounts", "re"), fclose) { in MountHandler()
123 if (fp_) epoll_->UnregisterHandler(fileno(fp_.get())); in ~MountHandler()
Dkeychords.h84 Epoll* epoll_; variable