/system/nvram/hal/ |
D | fake_nvram.cpp | 157 poll_fds[0].revents = 0; in ProcessMessages() 160 if (poll_fds[0].revents & POLLIN) { in ProcessMessages() 172 poll_fds[poll_fds_count].revents = 0; in ProcessMessages() 187 if (poll_fds[i].revents & POLLIN) { in ProcessMessages() 197 poll_fds[i].revents = 0; in ProcessMessages()
|
/system/core/trusty/keymaster/ipc/ |
D | trusty_keymaster_ipc.cpp | 99 pfd.revents = 0; in trusty_keymaster_call_2() 113 } else if (pfd.revents != POLLOUT) { in trusty_keymaster_call_2() 114 ALOGW("unexpected poll() result: %d", pfd.revents); in trusty_keymaster_call_2() 168 pfd.revents = 0; in trusty_keymaster_call_2() 182 } else if (pfd.revents != POLLIN) { in trusty_keymaster_call_2() 183 ALOGW("unexpected poll() result: %d", pfd.revents); in trusty_keymaster_call_2()
|
/system/core/fs_mgr/libsnapshot/snapuserd/user-space-merge/ |
D | snapuserd_server.cpp | 288 if (watched_fds_[0].revents) { in Run() 294 if (iter->revents && !HandleClient(iter->fd, iter->revents)) { in Run() 324 bool UserSnapshotServer::HandleClient(android::base::borrowed_fd fd, int revents) { in HandleClient() argument 329 if (str.empty() && (revents & POLLHUP)) { in HandleClient() 334 LOG(ERROR) << "Encountered error handling client message, revents: " << revents; in HandleClient()
|
D | snapuserd_server.h | 62 bool HandleClient(android::base::borrowed_fd fd, int revents);
|
/system/netd/client/ |
D | NetdClientTest.cpp | 52 if (fds[SERVERFD].revents & POLLERR) return; in serverLoop() 53 if (fds[SERVERFD].revents & POLLIN) { in serverLoop()
|
/system/core/libsysutils/src/ |
D | SocketListener.cpp | 175 if (fds[0].revents & (POLLIN | POLLERR)) { in runListener() 183 if (mListen && (fds[1].revents & (POLLIN | POLLERR))) { in runListener() 202 if (p.revents & (POLLIN | POLLERR)) { in runListener()
|
/system/netd/server/ |
D | IptablesRestoreController.cpp | 73 return (ret == 1) && !(pollfd.revents & POLLERR); in outputReady() 281 if (pollfd.revents & POLLIN) { in drainAndWaitForAck() 313 if (pollfd.revents & POLLHUP) { in drainAndWaitForAck()
|
/system/logging/logd/ |
D | logd_test.cpp | 76 struct pollfd p = {.fd = sock, .events = POLLIN, .revents = 0}; in send_to_control() 82 ASSERT_TRUE(p.revents & POLLIN) in send_to_control() 559 struct pollfd p = {.fd = sock2, .events = POLLIN, .revents = 0}; in TEST() 563 EXPECT_TRUE(p.revents & POLLIN); in TEST() 564 EXPECT_FALSE(p.revents & POLL_ERR); in TEST()
|
D | main.cpp | 166 if ((ret == 0) || !(p.revents & POLLIN)) return -ETIME; in issueReinit()
|
/system/media/audio_utils/include/audio_utils/ |
D | FdToString.h | 111 if (retval <= 0 || (pfd.revents & POLLIN) != POLLIN) break; in reader() 218 if (retval <= 0 || (pfd.revents & POLLIN) != POLLIN) break;
|
/system/chre/host/common/ |
D | socket_server.cc | 258 if (mPollFds[kListenIndex].revents & POLLIN) { in serviceSocket() 267 if (mPollFds[i].revents & POLLIN) { in serviceSocket()
|
/system/core/init/ |
D | uevent_listener.cpp | 195 ufd.revents = 0; in Poll() 213 if (ufd.revents & POLLIN) { in Poll()
|
D | subcontext.cpp | 126 ufd[0].revents = 0; in MainLoop()
|
/system/core/fs_mgr/ |
D | file_wait.cpp | 157 .revents = 0, in WaitImpl() 167 if (event.revents & POLLERR) { in WaitImpl()
|
/system/core/trusty/metrics/ |
D | metrics.cpp | 69 if (!(pfd.revents & POLLIN)) { in WaitForEvent()
|
D | metrics_test.cpp | 123 ASSERT_TRUE(pfds[1].revents & POLLIN); in TEST_F()
|
/system/connectivity/wificond/tests/ |
D | shell_utils.cpp | 105 if (shell_output.revents & POLLHUP) { in RunShellCommand()
|
/system/teeui/libteeui/src/ |
D | evdev.cpp | 141 if (fds[i].revents & receiver.eventFlags) { in start() 142 receiver.handleEvent(fds[i].revents); in start()
|
/system/logging/logwrapper/ |
D | logwrap.cpp | 398 if (poll_fds[0].revents & POLLIN) { in parent() 441 if (!received_messages || (poll_fds[0].revents & POLLHUP)) { in parent() 453 int flags = (poll_fds[0].revents & POLLHUP) ? 0 : WNOHANG; in parent()
|
/system/core/toolbox/ |
D | getevent.c | 659 if(ufds[0].revents & POLLIN) { in getevent_main() 663 if(ufds[i].revents) { in getevent_main() 664 if(ufds[i].revents & POLLIN) { in getevent_main()
|
/system/core/libusbhost/ |
D | usbhost.c | 745 struct pollfd p = {.fd = dev->fd, .events = POLLOUT, .revents = 0}; in usb_request_wait() 749 if (res != 1 || p.revents != POLLOUT) { in usb_request_wait() 750 D("[ poll - event %d, error %d]\n", p.revents, errno); in usb_request_wait()
|
/system/core/debuggerd/client/ |
D | debuggerd_client.cpp | 262 .fd = pipe_read.get(), .events = POLLIN, .revents = 0, in debuggerd_trigger_dump()
|
/system/logging/liblog/ |
D | logd_reader.cpp | 117 if (!(p.revents & POLLIN)) { in SendLogdControlMessage()
|
/system/testing/gtest_extras/gtest_isolated/ |
D | Isolate.cpp | 275 if (pfd->revents & POLLIN) { in ReadTestsOutput() 283 pfd->revents = 0; in ReadTestsOutput()
|
/system/core/libsync/ |
D | sync.c | 140 if (fds.revents & (POLLERR | POLLNVAL)) { in sync_wait()
|