/system/core/adb/ |
D | sysdeps_test.cpp | 87 pfd[0].revents = -1; in TEST_F() 88 pfd[1].revents = -1; in TEST_F() 90 EXPECT_EQ(0, pfd[0].revents); in TEST_F() 91 EXPECT_EQ(POLLWRNORM, pfd[1].revents); in TEST_F() 96 pfd[0].revents = -1; in TEST_F() 98 EXPECT_EQ(POLLRDNORM, pfd[0].revents); in TEST_F() 99 pfd[0].revents = -1; in TEST_F() 100 pfd[1].revents = -1; in TEST_F() 102 EXPECT_EQ(POLLRDNORM, pfd[0].revents); in TEST_F() 103 EXPECT_EQ(POLLWRNORM, pfd[1].revents); in TEST_F() [all …]
|
D | fdevent.cpp | 254 if (pollfd.revents != 0) { in fdevent_process() 255 D("for fd %d, revents = %x", pollfd.fd, pollfd.revents); in fdevent_process() 258 if (pollfd.revents & POLLIN) { in fdevent_process() 261 if (pollfd.revents & POLLOUT) { in fdevent_process() 264 if (pollfd.revents & (POLLERR | POLLHUP | POLLNVAL)) { in fdevent_process() 270 if (pollfd.revents & POLLRDHUP) { in fdevent_process()
|
/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/netd/server/ |
D | NetlinkListener.cpp | 113 ASSIGN_OR_RETURN(auto revents, sys.ppoll(fds, events, timeout)); in run() 115 if (revents[0] & POLLIN) { in run() 118 if (revents[1] & POLLIN) { in run()
|
D | IptablesRestoreController.cpp | 69 return (ret == 1) && !(pollfd.revents & POLLERR); in outputReady() 295 if (pollfd.revents & POLLIN) { in drainAndWaitForAck() 327 if (pollfd.revents & POLLHUP) { in drainAndWaitForAck()
|
D | MDnsSdListener.cpp | 608 if (mPollFds[i].revents != 0) { in run() 611 i, mPollFds[i].revents); in run() 614 mPollFds[i].revents = 0; in run() 617 if (VDBG) ALOGD("controlSocket shows revent= %d", mPollFds[0].revents); in run() 618 switch (mPollFds[0].revents) { in run() 628 mPollFds[0].revents = 0; in run()
|
/system/bt/btif/src/ |
D | btif_sock_thread.cc | 373 ps->pfd.revents = 0; in set_poll() 470 if (pfds[i].revents) { in process_data_sock() 476 print_events(pfds[i].revents); in process_data_sock() 477 if (IS_READ(pfds[i].revents)) { in process_data_sock() 480 if (IS_WRITE(pfds[i].revents)) { in process_data_sock() 483 if (IS_EXCEPTION(pfds[i].revents)) { in process_data_sock() 533 if (pfds[0].revents) // cmd fd always is the first one in sock_poll_thread()
|
D | btif_pan.cc | 738 ufd.revents = 0; in btu_exec_tap_fd_read() 742 if (ret <= 0 || IS_EXCEPTION(ufd.revents)) break; in btu_exec_tap_fd_read()
|
/system/core/init/ |
D | uevent_listener.cpp | 190 ufd.revents = 0; in Poll() 208 if (ufd.revents & POLLIN) { in Poll()
|
/system/chre/host/common/ |
D | socket_server.cc | 275 if (mPollFds[kListenIndex].revents & POLLIN) { in serviceSocket() 284 if (mPollFds[i].revents & POLLIN) { in serviceSocket()
|
/system/netd/libnetdutils/include/netdutils/ |
D | Syscalls.h | 136 tmp[i].revents = 0; in ppoll() 141 out[i] = tmp[i].revents; in ppoll()
|
/system/connectivity/wificond/tests/ |
D | shell_utils.cpp | 105 if (shell_output.revents & POLLHUP) { in RunShellCommand()
|
/system/vold/ |
D | vdc.cpp | 139 if (!(poll_sock.revents & POLLIN)) { in do_monitor()
|
/system/bt/udrv/ulinux/ |
D | uipc.cc | 388 pfd.fd, pfd.revents, ret); in uipc_flush_ch_locked() 389 if (pfd.revents & (POLLERR | POLLHUP)) { in uipc_flush_ch_locked() 690 if (pfd.revents & (POLLHUP | POLLNVAL)) { in UIPC_Read()
|
/system/bt/service/ipc/ |
D | linux_ipc_host.cc | 89 if (pfds_[kFdIpc].revents && !OnMessage()) { in EventLoop() 93 if (pfds_.size() == kPossibleFds && pfds_[kFdGatt].revents && in EventLoop()
|
/system/core/toolbox/ |
D | getevent.c | 657 if(ufds[0].revents & POLLIN) { in getevent_main() 661 if(ufds[i].revents) { in getevent_main() 662 if(ufds[i].revents & POLLIN) { in getevent_main()
|
/system/core/libusbhost/ |
D | usbhost.c | 695 struct pollfd p = {.fd = dev->fd, .events = POLLOUT, .revents = 0}; in usb_request_wait() 699 if (res != 1 || p.revents != POLLOUT) { in usb_request_wait() 700 D("[ poll - event %d, error %d]\n", p.revents, errno); in usb_request_wait()
|
/system/core/logwrapper/ |
D | logwrap.c | 357 if (poll_fds[0].revents & POLLIN) { in parent() 400 if (poll_fds[0].revents & POLLHUP) { in parent()
|
/system/core/debuggerd/client/ |
D | debuggerd_client.cpp | 193 .fd = pipe_read.get(), .events = POLLIN, .revents = 0, in debuggerd_trigger_dump()
|
/system/nfc/halimpl/bcm2079x/adaptation/ |
D | userial_linux.c | 508 return ((set->revents & POLLIN) == POLLIN) || in is_signaled() 509 ((set->revents & POLLRDNORM) == POLLRDNORM); in is_signaled() 620 fds[0].revents = 0; in my_read() 624 fds[1].revents = 0; in my_read()
|
/system/core/liblog/ |
D | logd_reader.c | 303 if (!(p.revents & POLLIN)) { in send_log_msg() 644 if ((ret > 0) && !(p.revents & POLLIN)) { in logdPoll()
|
/system/bt/vendor_libs/linux/interface/ |
D | bluetooth_hci.cc | 168 if (fds[0].revents & POLLIN) { in waitHciDev()
|
/system/bt/hci/src/ |
D | hci_layer_linux.cc | 336 if (fds[0].revents & POLLIN) { in wait_hcidev()
|
/system/core/libsync/ |
D | sync.c | 117 if (fds.revents & (POLLERR | POLLNVAL)) { in sync_wait()
|
/system/core/liblog/tests/ |
D | liblog_benchmark.cpp | 936 struct pollfd p = {.fd = sock, .events = POLLIN, .revents = 0 }; in send_to_control() 939 if ((ret <= 0) || !(p.revents & POLLIN)) { in send_to_control()
|