/frameworks/base/services/core/jni/ |
com_android_server_AlarmManagerService.cpp | 87 AlarmImplTimerFd(int fds[N_ANDROID_TIMERFDS], int epollfd, int rtc_id) : 88 AlarmImpl(fds, N_ANDROID_TIMERFDS), epollfd(epollfd), rtc_id(rtc_id) { } 96 int epollfd; member in class:android::AlarmImplTimerFd 140 epoll_ctl(epollfd, EPOLL_CTL_DEL, fds[i], NULL); 142 close(epollfd); 220 int nevents = epoll_wait(epollfd, events, N_ANDROID_TIMERFDS, -1); 360 int epollfd; local 363 epollfd = epoll_create(N_ANDROID_TIMERFDS); 364 if (epollfd < 0) [all...] |
/system/core/healthd/ |
healthd.cpp | 63 static int epollfd; variable 144 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, fd, &ev) == -1) { 288 nevents = epoll_wait(epollfd, events, eventct, timeout); 312 epollfd = epoll_create(MAX_EPOLL_EVENTS); 313 if (epollfd == -1) {
|
healthd_mode_charger.cpp | 680 int epollfd; local 688 epollfd = ev_get_epollfd(); 689 healthd_register_event(epollfd, charger_event_handler);
|
/system/core/lmkd/ |
lmkd.c | 77 static int epollfd; variable 422 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, ctrl_dfd, &epev) == -1) { 709 ret = epoll_ctl(epollfd, EPOLL_CTL_ADD, evfd, &epev); 738 epollfd = epoll_create(MAX_EPOLL_EVENTS); 739 if (epollfd == -1) { 758 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, ctrl_lfd, &epev) == -1) { 789 nevents = epoll_wait(epollfd, events, maxevents, -1);
|
/external/wpa_supplicant_8/src/utils/ |
eloop.c | 92 int epollfd; member in struct:eloop_data 166 eloop.epollfd = epoll_create1(0); 167 if (eloop.epollfd < 0) { 216 if (epoll_ctl(eloop.epollfd, EPOLL_CTL_ADD, sock, &ev) < 0) { 406 if (epoll_ctl(eloop.epollfd, EPOLL_CTL_DEL, sock, NULL) < 0) { 1141 res = epoll_wait(eloop.epollfd, eloop.epoll_events, 1285 close(eloop.epollfd); [all...] |