• Home
  • Raw
  • Download

Lines Matching refs:eventItem

269     struct epoll_event eventItem;  in EventHub()  local
270 memset(&eventItem, 0, sizeof(eventItem)); in EventHub()
271 eventItem.events = EPOLLIN; in EventHub()
272 eventItem.data.fd = mINotifyFd; in EventHub()
273 int result = epoll_ctl(mEpollFd, EPOLL_CTL_ADD, mINotifyFd, &eventItem); in EventHub()
291 eventItem.data.fd = mWakeReadPipeFd; in EventHub()
292 result = epoll_ctl(mEpollFd, EPOLL_CTL_ADD, mWakeReadPipeFd, &eventItem); in EventHub()
891 const struct epoll_event& eventItem = mPendingEventItems[mPendingEventIndex++]; in getEvents() local
892 if (eventItem.data.fd == mINotifyFd) { in getEvents()
893 if (eventItem.events & EPOLLIN) { in getEvents()
896 ALOGW("Received unexpected epoll event 0x%08x for INotify.", eventItem.events); in getEvents()
901 if (eventItem.data.fd == mWakeReadPipeFd) { in getEvents()
902 if (eventItem.events & EPOLLIN) { in getEvents()
912 eventItem.events); in getEvents()
917 Device* device = getDeviceByFdLocked(eventItem.data.fd); in getEvents()
920 eventItem.events, eventItem.data.fd); in getEvents()
924 if (device->videoDevice && eventItem.data.fd == device->videoDevice->getFd()) { in getEvents()
925 if (eventItem.events & EPOLLIN) { in getEvents()
931 } else if (eventItem.events & EPOLLHUP) { in getEvents()
939 eventItem.events, device->videoDevice->getName().c_str()); in getEvents()
945 if (eventItem.events & EPOLLIN) { in getEvents()
982 } else if (eventItem.events & EPOLLHUP) { in getEvents()
989 eventItem.events, device->identifier.name.c_str()); in getEvents()
1122 struct epoll_event eventItem = {}; in registerFdForEpoll() local
1123 eventItem.events = EPOLLIN | EPOLLWAKEUP; in registerFdForEpoll()
1124 eventItem.data.fd = fd; in registerFdForEpoll()
1125 if (epoll_ctl(mEpollFd, EPOLL_CTL_ADD, fd, &eventItem)) { in registerFdForEpoll()