Home
last modified time | relevance | path

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

/device/google/wahoo/usb/
DUsbGadget.cpp561 unique_fd eventFd(eventfd(0, 0)); in setupFunctions() local
562 if (eventFd == -1) { in setupFunctions()
575 if (addEpollFd(epollFd, eventFd) == -1) return Status::ERROR; in setupFunctions()
579 mEventFd = move(eventFd); in setupFunctions()
/device/google/crosshatch/usb/
DUsbGadget.cpp586 unique_fd eventFd(eventfd(0, 0)); in setupFunctions() local
587 if (eventFd == -1) { in setupFunctions()
600 if (addEpollFd(epollFd, eventFd) == -1) return Status::ERROR; in setupFunctions()
604 mEventFd = move(eventFd); in setupFunctions()
/device/google/bonito/usb/
DUsbGadget.cpp559 unique_fd eventFd(eventfd(0, 0)); in setupFunctions() local
560 if (eventFd == -1) { in setupFunctions()
573 if (addEpollFd(epollFd, eventFd) == -1) return Status::ERROR; in setupFunctions()
577 mEventFd = move(eventFd); in setupFunctions()