Home
last modified time | relevance | path

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

/system/core/libutils/
DLooper.cpp144 struct epoll_event eventItem; in rebuildEpollLocked() local
145 memset(& eventItem, 0, sizeof(epoll_event)); // zero out unused members of data field union in rebuildEpollLocked()
146 eventItem.events = EPOLLIN; in rebuildEpollLocked()
147 eventItem.data.fd = mWakeEventFd.get(); in rebuildEpollLocked()
148 int result = epoll_ctl(mEpollFd.get(), EPOLL_CTL_ADD, mWakeEventFd.get(), &eventItem); in rebuildEpollLocked()
154 struct epoll_event eventItem; in rebuildEpollLocked() local
155 request.initEventItem(&eventItem); in rebuildEpollLocked()
157 int epollResult = epoll_ctl(mEpollFd.get(), EPOLL_CTL_ADD, request.fd, &eventItem); in rebuildEpollLocked()
462 struct epoll_event eventItem; in addFd() local
463 request.initEventItem(&eventItem); in addFd()
[all …]
/system/core/libutils/include/utils/
DLooper.h432 void initEventItem(struct epoll_event* eventItem) const;
485 static void initEpollEvent(struct epoll_event* eventItem);