Home
last modified time | relevance | path

Searched refs:revents (Results 1 – 19 of 19) sorted by relevance

/device/google/cuttlefish/host/commands/log_tee/
Dlog_tee.cpp100 .revents = 0, in main()
106 .revents = 0, in main()
126 if (poll_fds[0].revents) { in main()
184 if (poll_fds[1].revents) { in main()
/device/google/cuttlefish/common/libs/utils/
Dsocket2socket_proxy.cpp132 server_poll[SERVER].revents = 0; in ProxyServer()
133 server_poll[STOP].revents = 0; in ProxyServer()
140 if (server_poll[STOP].revents & POLLIN) { in ProxyServer()
145 if (!(server_poll[SERVER].revents & POLLIN)) { in ProxyServer()
/device/amlogic/yukawa/hal/hdmicec/
Dhdmi_cec.c352 ufds[0].revents = 0; in event_thread()
353 ufds[1].revents = 0; in event_thread()
354 ufds[2].revents = 0; in event_thread()
361 if (ufds[2].revents == POLLIN) /* Exit */ in event_thread()
364 if (ufds[1].revents == POLLERR) { /* CEC Event */ in event_thread()
396 if (ufds[0].revents == POLLIN) { /* CEC Driver */ in event_thread()
/device/google/cuttlefish/host/commands/run_cvd/
Dboot_state_machine.cc310 if (poll_shared_fd[2].revents & POLLIN) { in ThreadLoop()
318 if (poll_shared_fd[0].revents & POLLHUP) { in ThreadLoop()
325 if (poll_shared_fd[0].revents & POLLIN) { in ThreadLoop()
343 if (poll_shared_fd[1].revents & POLLIN) { in ThreadLoop()
359 if (poll_shared_fd[1].revents & POLLHUP) { in ThreadLoop()
/device/google/cuttlefish/guest/commands/bt_vhci_forwarder/
Dmain.cpp149 if (fds[1].revents & POLLHUP) { in main()
154 if (fds[1].revents & (POLLIN | POLLERR)) { in main()
176 if (fds[0].revents & (POLLIN | POLLERR)) { in main()
/device/google/cuttlefish/common/libs/fs/
Dshared_fd.cpp124 pollfds[IN].revents = 0; in CopyFrom()
127 pollfds[OUT].revents = 0; in CopyFrom()
131 pollfds[STOP].revents = 0; in CopyFrom()
138 if (stop && pollfds[STOP].revents & POLLIN) { in CopyFrom()
141 if (pollfds[OUT].revents != 0) { in CopyFrom()
347 native_pollfds[i].revents = 0; in Poll()
351 fds[i].revents = native_pollfds[i].revents; in Poll()
Dshared_fd.h415 short revents; member
/device/linaro/poplar/wifi/wifi_hal/
Dwifi_hal.cpp475 pfd[0].revents = 0; in wifi_event_loop()
476 pfd[1].revents = 0; in wifi_event_loop()
481 } else if (pfd[0].revents & POLLERR) { in wifi_event_loop()
486 } else if (pfd[0].revents & POLLHUP) { in wifi_event_loop()
489 } else if (pfd[0].revents & POLLIN) { in wifi_event_loop()
492 } else if (pfd[1].revents & POLLIN) { in wifi_event_loop()
507 ALOGE("Unknown event - %0x, %0x", pfd[0].revents, pfd[1].revents); in wifi_event_loop()
/device/google/trout/hal/sensors/2.1/
DMultiPoll.cpp24 pollfd pfd{.fd = fd, .events = POLLIN, .revents = 0}; in addDescriptor()
41 if (fd.revents & POLLIN) { in poll()
DSensor.cpp194 if (mPollFdIio.revents & POLLIN) { in pollForEvents()
/device/google/contexthub/contexthubhal/
Dnanohubhal.cpp132 if ((pfd.revents & POLLIN)) { in discard_inotify_evt()
252 if (myFds[IDX_NANOHUB].revents & POLLIN) { // we have data in runDeviceRx()
302 if (myFds[IDX_CLOSE_PIPE].revents & POLLIN) { // we have been asked to die in runDeviceRx()
/device/google/cuttlefish/host/commands/casimir_control_server/
Dcasimir_controller.cpp136 .revents = 0, in ReadExact()
140 CF_EXPECT_EQ(poll_fd.revents, EPOLLIN, in ReadExact()
/device/google/contexthub/sensorhal/
Dhubconnection.cpp141 mPollFds[0].revents = 0; in HubConnection()
159 mPollFds[mNumPollFds].revents = 0; in HubConnection()
173 mPollFds[mNumPollFds].revents = 0; in HubConnection()
991 if ((ret > 0) && (pfd->revents & POLLIN)) { in waitOnNanohubLock()
1501 if (mInotifyPollIndex >= 0 && mPollFds[mInotifyPollIndex].revents & POLLIN) { in threadLoop()
1507 if (mMagBiasPollIndex >= 0 && mPollFds[mMagBiasPollIndex].revents & POLLERR) { in threadLoop()
1519 if (mDoubleTouchPollIndex >= 0 && mPollFds[mDoubleTouchPollIndex].revents & POLLERR) { in threadLoop()
1530 if (mPollFds[0].revents & POLLIN) { in threadLoop()
1803 mPollFds[mNumPollFds].revents = 0; in initNanohubLock()
/device/generic/goldfish/wifi/wifi_hal/
Dnetlink.cpp119 if ((fd.revents & POLLIN) == 0) { in eventLoop()
/device/linaro/dragonboard/shared/utils/qrtr/lib/
Dqrtr.c184 fds.revents = 0; in qrtr_poll()
/device/linaro/dragonboard/shared/utils/qrtr/src/
Dwaiter.c87 if (pfd[i].revents & (POLLERR | POLLIN)) { in pollset_wait()
/device/google/contexthub/util/nanotool/
Dandroidcontexthub.cpp257 if (pollfds[i].revents & POLLIN) { in ReadEvent()
/device/google/cuttlefish_vmm/qemu/x86_64-linux-gnu/usr/share/qemu/
Dtrace-events-all154 poll_add(void *ctx, void *node, int fd, unsigned revents) "ctx %p node %p fd %d revents 0x%x"
717 alsa_revents(int revents) "revents = %d"
/device/google/cuttlefish_vmm/qemu/aarch64-linux-gnu/usr/share/qemu/
Dtrace-events-all154 poll_add(void *ctx, void *node, int fd, unsigned revents) "ctx %p node %p fd %d revents 0x%x"
717 alsa_revents(int revents) "revents = %d"