/frameworks/base/services/core/jni/ |
com_android_server_AlarmManagerService.cpp | 85 AlarmImplTimerFd(int fds[N_ANDROID_TIMERFDS], int epollfd, int rtc_id) : 86 AlarmImpl(fds, N_ANDROID_TIMERFDS), epollfd(epollfd), rtc_id(rtc_id) { } 94 int epollfd; member in class:android::AlarmImplTimerFd 138 epoll_ctl(epollfd, EPOLL_CTL_DEL, fds[i], NULL); 140 close(epollfd); 218 int nevents = epoll_wait(epollfd, events, N_ANDROID_TIMERFDS, -1); 358 int epollfd; local 361 epollfd = epoll_create(N_ANDROID_TIMERFDS); 362 if (epollfd < 0) [all...] |
/system/core/healthd/ |
healthd.cpp | 61 static int epollfd; variable 142 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, fd, &ev) == -1) { 286 nevents = epoll_wait(epollfd, events, eventct, timeout); 310 epollfd = epoll_create(MAX_EPOLL_EVENTS); 311 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 434 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, ctrl_dfd, &epev) == -1) { 721 ret = epoll_ctl(epollfd, EPOLL_CTL_ADD, evfd, &epev); 750 epollfd = epoll_create(MAX_EPOLL_EVENTS); 751 if (epollfd == -1) { 770 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, ctrl_lfd, &epev) == -1) { 801 nevents = epoll_wait(epollfd, events, maxevents, -1);
|
/external/wpa_supplicant_8/src/utils/ |
eloop.c | 82 int epollfd; member in struct:eloop_data 153 eloop.epollfd = epoll_create1(0); 154 if (eloop.epollfd < 0) { 283 if (epoll_ctl(eloop.epollfd, EPOLL_CTL_ADD, sock, &ev) < 0) { 322 if (epoll_ctl(eloop.epollfd, EPOLL_CTL_DEL, sock, NULL) < 0) { 962 res = epoll_wait(eloop.epollfd, eloop.epoll_events, 1069 close(eloop.epollfd);
|