Home
last modified time | relevance | path

Searched refs:epoll_fd (Results 1 – 2 of 2) sorted by relevance

/hardware/interfaces/usb/1.0/default/
DUsb.cpp353 int epoll_fd, uevent_fd; in work() local
375 epoll_fd = epoll_create(64); in work()
376 if (epoll_fd == -1) { in work()
381 if (epoll_ctl(epoll_fd, EPOLL_CTL_ADD, uevent_fd, &ev) == -1) { in work()
389 nevents = epoll_wait(epoll_fd, events, 64, -1); in work()
408 if (epoll_fd >= 0) in work()
409 close(epoll_fd); in work()
/hardware/interfaces/gnss/common/utils/default/include/v2_1/
DGnssTemplate.h191 int epoll_fd = epoll_create1(0); in getLocationFromHW() local
192 epoll_ctl(epoll_fd, EPOLL_CTL_ADD, mGnssFd, &ev); in getLocationFromHW()
195 int epoll_ret = epoll_wait(epoll_fd, events, 1, mMinIntervalMs); in getLocationFromHW()