Home
last modified time | relevance | path

Searched refs:epollfd (Results 1 – 3 of 3) sorted by relevance

/system/core/healthd/
Dhealthd.cpp61 static int epollfd; variable
142 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, fd, &ev) == -1) { in healthd_register_event()
286 nevents = epoll_wait(epollfd, events, eventct, timeout); in healthd_mainloop()
310 epollfd = epoll_create(MAX_EPOLL_EVENTS); in healthd_init()
311 if (epollfd == -1) { in healthd_init()
Dhealthd_mode_charger.cpp680 int epollfd; in healthd_mode_charger_init() local
688 epollfd = ev_get_epollfd(); in healthd_mode_charger_init()
689 healthd_register_event(epollfd, charger_event_handler); in healthd_mode_charger_init()
/system/core/lmkd/
Dlmkd.c77 static int epollfd; variable
434 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, ctrl_dfd, &epev) == -1) { in ctrl_connect_handler()
721 ret = epoll_ctl(epollfd, EPOLL_CTL_ADD, evfd, &epev); in init_mp()
750 epollfd = epoll_create(MAX_EPOLL_EVENTS); in init()
751 if (epollfd == -1) { in init()
770 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, ctrl_lfd, &epev) == -1) { in init()
801 nevents = epoll_wait(epollfd, events, maxevents, -1); in mainloop()