Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/reader/
DEventHub.cpp711 struct epoll_event eventItem = {}; in EventHub() local
712 eventItem.events = EPOLLIN | EPOLLWAKEUP; in EventHub()
713 eventItem.data.fd = mINotifyFd; in EventHub()
714 int result = epoll_ctl(mEpollFd, EPOLL_CTL_ADD, mINotifyFd, &eventItem); in EventHub()
732 eventItem.data.fd = mWakeReadPipeFd; in EventHub()
733 result = epoll_ctl(mEpollFd, EPOLL_CTL_ADD, mWakeReadPipeFd, &eventItem); in EventHub()
1623 const struct epoll_event& eventItem = mPendingEventItems[mPendingEventIndex++]; in getEvents() local
1624 if (eventItem.data.fd == mINotifyFd) { in getEvents()
1625 if (eventItem.events & EPOLLIN) { in getEvents()
1628 ALOGW("Received unexpected epoll event 0x%08x for INotify.", eventItem.events); in getEvents()
[all …]