Searched refs:epollFd (Results 1 – 5 of 5) sorted by relevance
/hardware/interfaces/usb/gadget/1.2/default/lib/ |
D | MonitorFfs.cpp | 46 unique_fd epollFd(epoll_create(2)); in MonitorFfs() local 47 if (epollFd == -1) { in MonitorFfs() 58 if (addEpollFd(epollFd, inotifyFd) == -1) abort(); in MonitorFfs() 60 if (addEpollFd(epollFd, eventFd) == -1) abort(); in MonitorFfs() 62 mEpollFd = std::move(epollFd); in MonitorFfs()
|
/hardware/interfaces/usb/gadget/1.1/default/lib/ |
D | MonitorFfs.cpp | 46 unique_fd epollFd(epoll_create(2)); in MonitorFfs() local 47 if (epollFd == -1) { in MonitorFfs() 58 if (addEpollFd(epollFd, inotifyFd) == -1) abort(); in MonitorFfs() 60 if (addEpollFd(epollFd, eventFd) == -1) abort(); in MonitorFfs() 62 mEpollFd = std::move(epollFd); in MonitorFfs()
|
/hardware/google/pixel/usb/ |
D | MonitorFfs.cpp | 62 unique_fd epollFd(epoll_create(2)); in MonitorFfs() local 63 if (epollFd == -1) { in MonitorFfs() 74 if (addEpollFd(epollFd, inotifyFd) == -1) in MonitorFfs() 77 if (addEpollFd(epollFd, eventFd) == -1) in MonitorFfs() 80 mEpollFd = std::move(epollFd); in MonitorFfs()
|
D | UsbOverheatEvent.cpp | 72 unique_fd epollFd(epoll_create(2)); in UsbOverheatEvent() local 73 if (epollFd == -1) { in UsbOverheatEvent() 84 if (addEpollFdWakeUp(epollFd, timerFd) == -1) { in UsbOverheatEvent() 89 if (addEpollFdWakeUp(epollFd, eventFd) == -1) { in UsbOverheatEvent() 94 epoll_fd_ = std::move(epollFd); in UsbOverheatEvent()
|
/hardware/google/pixel/vibrator/common/ |
D | HardwareBase.h | 144 unique_fd epollFd{epoll_create(1)}; in poll() 157 if (epoll_ctl(epollFd, EPOLL_CTL_ADD, fileFd, &event)) { in poll() 163 epollRet = epoll_wait(epollFd, &event, 1, timeoutMs); in poll()
|