Lines Matching refs:eventItem

921     struct epoll_event eventItem = {};  in EventHub()  local
922 eventItem.events = EPOLLIN | EPOLLWAKEUP; in EventHub()
923 eventItem.data.fd = mINotifyFd; in EventHub()
924 int result = epoll_ctl(mEpollFd, EPOLL_CTL_ADD, mINotifyFd, &eventItem); in EventHub()
942 eventItem.data.fd = mWakeReadPipeFd; in EventHub()
943 result = epoll_ctl(mEpollFd, EPOLL_CTL_ADD, mWakeReadPipeFd, &eventItem); in EventHub()
1940 const struct epoll_event& eventItem = mPendingEventItems[mPendingEventIndex++]; in getEvents() local
1941 if (eventItem.data.fd == mINotifyFd) { in getEvents()
1942 if (eventItem.events & EPOLLIN) { in getEvents()
1945 ALOGW("Received unexpected epoll event 0x%08x for INotify.", eventItem.events); in getEvents()
1950 if (eventItem.data.fd == mWakeReadPipeFd) { in getEvents()
1951 if (eventItem.events & EPOLLIN) { in getEvents()
1961 eventItem.events); in getEvents()
1966 Device* device = getDeviceByFdLocked(eventItem.data.fd); in getEvents()
1968 ALOGE("Received unexpected epoll event 0x%08x for unknown fd %d.", eventItem.events, in getEvents()
1969 eventItem.data.fd); in getEvents()
1973 if (device->videoDevice && eventItem.data.fd == device->videoDevice->getFd()) { in getEvents()
1974 if (eventItem.events & EPOLLIN) { in getEvents()
1980 } else if (eventItem.events & EPOLLHUP) { in getEvents()
1987 ALOGW("Received unexpected epoll event 0x%08x for device %s.", eventItem.events, in getEvents()
1994 if (eventItem.events & EPOLLIN) { in getEvents()
2034 } else if (eventItem.events & EPOLLHUP) { in getEvents()
2040 ALOGW("Received unexpected epoll event 0x%08x for device %s.", eventItem.events, in getEvents()
2165 struct epoll_event eventItem = {}; in registerFdForEpoll() local
2166 eventItem.events = EPOLLIN | EPOLLWAKEUP; in registerFdForEpoll()
2167 eventItem.data.fd = fd; in registerFdForEpoll()
2168 if (epoll_ctl(mEpollFd, EPOLL_CTL_ADD, fd, &eventItem)) { in registerFdForEpoll()