Home
last modified time | relevance | path

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

/system/core/healthd/
Dhealthd_common.cpp73 static int epollfd; variable
100 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, fd, &ev) == -1) { in healthd_register_event()
250 nevents = epoll_wait(epollfd, events, eventct, timeout); in healthd_mainloop()
268 epollfd = epoll_create(MAX_EPOLL_EVENTS); in healthd_init()
269 if (epollfd == -1) { in healthd_init()
Dhealthd_mode_charger.cpp619 int epollfd; in healthd_mode_charger_init() local
627 epollfd = ev_get_epollfd(); in healthd_mode_charger_init()
628 healthd_register_event(epollfd, charger_event_handler, EVENT_WAKEUP_FD); in healthd_mode_charger_init()
/system/core/lmkd/
Dlmkd.c95 static int epollfd; variable
460 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, ctrl_dfd, &epev) == -1) { in ctrl_connect_handler()
780 ret = epoll_ctl(epollfd, EPOLL_CTL_ADD, evfd, &epev); in init_mp_common()
819 epollfd = epoll_create(MAX_EPOLL_EVENTS); in init()
820 if (epollfd == -1) { in init()
839 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, ctrl_lfd, &epev) == -1) { in init()
872 nevents = epoll_wait(epollfd, events, maxevents, -1); in mainloop()