Home
last modified time | relevance | path

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

/system/core/libutils/
DLooper.cpp142 struct epoll_event eventItem; in rebuildEpollLocked() local
143 memset(& eventItem, 0, sizeof(epoll_event)); // zero out unused members of data field union in rebuildEpollLocked()
144 eventItem.events = EPOLLIN; in rebuildEpollLocked()
145 eventItem.data.fd = mWakeEventFd.get(); in rebuildEpollLocked()
146 int result = epoll_ctl(mEpollFd.get(), EPOLL_CTL_ADD, mWakeEventFd.get(), &eventItem); in rebuildEpollLocked()
152 struct epoll_event eventItem; in rebuildEpollLocked() local
153 request.initEventItem(&eventItem); in rebuildEpollLocked()
155 int epollResult = epoll_ctl(mEpollFd.get(), EPOLL_CTL_ADD, request.fd, &eventItem); in rebuildEpollLocked()
460 struct epoll_event eventItem; in addFd() local
461 request.initEventItem(&eventItem); in addFd()
[all …]
/system/core/libutils/include/utils/
DLooper.h430 void initEventItem(struct epoll_event* eventItem) const;
484 static void initEpollEvent(struct epoll_event* eventItem);