Searched refs:pfds (Results 1 - 3 of 3) sorted by relevance
/frameworks/base/cmds/incidentd/src/ |
H A D | FdBuffer.cpp | 42 struct pollfd pfds = {.fd = fd, .events = POLLIN}; local 61 int count = poll(&pfds, 1, remainingTime); 70 if ((pfds.revents & POLLERR) != 0) { 125 struct pollfd pfds[] = { local 158 // wait for any pfds to be ready to perform IO 159 int count = poll(pfds, 3, remainingTime); 171 if ((pfds[i].revents & POLLERR) != 0) { 182 if (cirSize != BUFFER_SIZE && pfds[0].fd != -1) { 196 pfds[0].fd = -1; // reach EOF so don't have to poll pfds[ [all...] |
/frameworks/native/libs/vr/libpdx_uds/ |
H A D | channel_event_set.cpp | 117 std::array<pollfd, 3> pfds = {{{pollin_event_fd_.Get(), POLLIN, 0}, local 120 if (RETRY_EINTR(poll(pfds.data(), pfds.size(), timeout_ms)) < 0) { 130 ((pfds[0].revents & POLLIN) ? EPOLLIN : 0) | 131 ((pfds[1].revents & POLLIN) ? EPOLLHUP : 0) | 132 ((pfds[2].revents & (POLLHUP | POLLRDHUP)) ? EPOLLHUP : 0);
|
/frameworks/base/libs/common_time/ |
H A D | common_time_server.cpp | 208 struct pollfd pfds[2]; local 216 pfds[eventCnt].fd = mWakeupThreadFD; 217 pfds[eventCnt].events = POLLIN; 218 pfds[eventCnt].revents = 0; 224 pfds[eventCnt].fd = mSocket; 225 pfds[eventCnt].events = POLLIN; 226 pfds[eventCnt].revents = 0; 237 rc = poll(pfds, eventCnt, timeout); 258 if (pfds[0].revents) 363 if ((mSocket >= 0) && (eventCnt > 1) && (pfds[ [all...] |
Completed in 100 milliseconds