Lines Matching full:eventitem
200 struct epoll_event eventItem;
201 memset(&eventItem, 0, sizeof(eventItem));
202 eventItem.events = EPOLLIN;
203 eventItem.data.u32 = EPOLL_ID_INOTIFY;
204 result = epoll_ctl(mEpollFd, EPOLL_CTL_ADD, mINotifyFd, &eventItem);
222 eventItem.data.u32 = EPOLL_ID_WAKE;
223 result = epoll_ctl(mEpollFd, EPOLL_CTL_ADD, mWakeReadPipeFd, &eventItem);
782 const struct epoll_event& eventItem = mPendingEventItems[mPendingEventIndex++];
783 if (eventItem.data.u32 == EPOLL_ID_INOTIFY) {
784 if (eventItem.events & EPOLLIN) {
787 ALOGW("Received unexpected epoll event 0x%08x for INotify.", eventItem.events);
792 if (eventItem.data.u32 == EPOLL_ID_WAKE) {
793 if (eventItem.events & EPOLLIN) {
803 eventItem.events);
808 ssize_t deviceIndex = mDevices.indexOfKey(eventItem.data.u32);
811 eventItem.events, eventItem.data.u32);
816 if (eventItem.events & EPOLLIN) {
932 } else if (eventItem.events & EPOLLHUP) {
939 eventItem.events, device->identifier.name.string());
1316 struct epoll_event eventItem;
1317 memset(&eventItem, 0, sizeof(eventItem));
1318 eventItem.events = EPOLLIN;
1320 eventItem.events |= EPOLLWAKEUP;
1322 eventItem.data.u32 = deviceId;
1323 if (epoll_ctl(mEpollFd, EPOLL_CTL_ADD, fd, &eventItem)) {