Home
last modified time | relevance | path

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

/hardware/libhardware/modules/input/evdev/
DInputHub.cpp436 struct epoll_event eventItem; in InputHub() local
437 memset(&eventItem, 0, sizeof(eventItem)); in InputHub()
438 eventItem.events = EPOLLIN; in InputHub()
440 eventItem.events |= EPOLLWAKEUP; in InputHub()
442 eventItem.data.u32 = mINotifyFd; in InputHub()
443 int result = epoll_ctl(mEpollFd, EPOLL_CTL_ADD, mINotifyFd, &eventItem); in InputHub()
453 eventItem.data.u32 = mWakeEventFd; in InputHub()
454 result = epoll_ctl(mEpollFd, EPOLL_CTL_ADD, mWakeEventFd, &eventItem); in InputHub()
540 const struct epoll_event& eventItem = pendingEventItems[i]; in poll() local
542 int dataFd = static_cast<int>(eventItem.data.u32); in poll()
[all …]