Home | History | Annotate | Download | only in utils

Lines Matching refs:pollEvents

282         short pollEvents = requestedFd.revents;
283 if (pollEvents) {
285 if (pollEvents & POLLIN) {
288 LOGW("Ignoring unexpected poll events 0x%x on wake read pipe.", pollEvents);
292 if (pollEvents & POLLIN) events |= ALOOPER_EVENT_INPUT;
293 if (pollEvents & POLLOUT) events |= ALOOPER_EVENT_OUTPUT;
294 if (pollEvents & POLLERR) events |= ALOOPER_EVENT_ERROR;
295 if (pollEvents & POLLHUP) events |= ALOOPER_EVENT_HANGUP;
296 if (pollEvents & POLLNVAL) events |= ALOOPER_EVENT_INVALID;
502 int pollEvents = 0;
503 if (events & ALOOPER_EVENT_INPUT) pollEvents |= POLLIN;
504 if (events & ALOOPER_EVENT_OUTPUT) pollEvents |= POLLOUT;
510 requestedFd.events = pollEvents;