Searched refs:revents (Results 1 – 25 of 25) sorted by relevance
/system/core/adb/ |
D | sysdeps_test.cpp | 131 pfd[0].revents = -1; in TEST_F() 132 pfd[1].revents = -1; in TEST_F() 134 EXPECT_EQ(0, pfd[0].revents); in TEST_F() 135 EXPECT_EQ(POLLWRNORM, pfd[1].revents); in TEST_F() 140 pfd[0].revents = -1; in TEST_F() 142 EXPECT_EQ(POLLRDNORM, pfd[0].revents); in TEST_F() 143 pfd[0].revents = -1; in TEST_F() 144 pfd[1].revents = -1; in TEST_F() 146 EXPECT_EQ(POLLRDNORM, pfd[0].revents); in TEST_F() 147 EXPECT_EQ(POLLWRNORM, pfd[1].revents); in TEST_F() [all …]
|
D | fdevent.cpp | 248 if (pollfd.revents != 0) { in fdevent_process() 249 D("for fd %d, revents = %x", pollfd.fd, pollfd.revents); in fdevent_process() 252 if (pollfd.revents & POLLIN) { in fdevent_process() 255 if (pollfd.revents & POLLOUT) { in fdevent_process() 258 if (pollfd.revents & (POLLERR | POLLHUP | POLLNVAL)) { in fdevent_process() 264 if (pollfd.revents & POLLRDHUP) { in fdevent_process()
|
D | sysdeps_win32.cpp | 673 fds[i].revents = POLLNVAL; in adb_poll() 697 original[i]->revents = sockets[i].revents; in adb_poll() 705 if (fds[i].revents != 0) { in adb_poll()
|
D | services.cpp | 391 } else if (rc > 0 && (pfd.revents & POLLHUP) != 0) { in wait_for_state()
|
D | sysdeps.h | 301 short revents; member
|
/system/core/debuggerd/ |
D | getevent.cpp | 205 if (ufds[0].revents & POLLIN) { in get_event() 209 if (ufds[i].revents) { in get_event() 210 if (ufds[i].revents & POLLIN) { in get_event()
|
D | debuggerd.cpp | 201 pollfds[0].revents = 0; in read_request()
|
/system/core/init/ |
D | ueventd.cpp | 74 ufd.revents = 0; in ueventd_main() 79 if (ufd.revents & POLLIN) { in ueventd_main()
|
D | property_service.cpp | 259 ufds[0].revents = 0; in handle_property_set_fd()
|
/system/bt/btif/src/ |
D | btif_sock_thread.c | 410 ps->pfd.revents = 0; in set_poll() 509 if(pfds[i].revents) in process_data_sock() 516 print_events(pfds[i].revents); in process_data_sock() 517 if(IS_READ(pfds[i].revents)) in process_data_sock() 521 if(IS_WRITE(pfds[i].revents)) in process_data_sock() 525 if(IS_EXCEPTION(pfds[i].revents)) in process_data_sock() 582 if(pfds[0].revents) //cmd fd always is the first one in sock_poll_thread()
|
D | btif_pan.c | 789 ufd.revents = 0; in btu_exec_tap_fd_read() 793 if (ret <= 0 || IS_EXCEPTION(ufd.revents)) in btu_exec_tap_fd_read()
|
/system/netd/server/ |
D | MDnsSdListener.cpp | 615 if (mPollFds[i].revents != 0) { in run() 618 i, mPollFds[i].revents); in run() 621 mPollFds[i].revents = 0; in run() 624 if (VDBG) ALOGD("controlSocket shows revent= %d", mPollFds[0].revents); in run() 625 switch (mPollFds[0].revents) { in run() 635 mPollFds[0].revents = 0; in run()
|
/system/vold/ |
D | vdc.cpp | 131 if (!(poll_sock.revents & POLLIN)) { in do_monitor()
|
/system/bt/udrv/ulinux/ |
D | uipc.c | 415 __FUNCTION__, pfd.fd, pfd.revents, ret); in uipc_flush_ch_locked() 416 if (pfd.revents & (POLLERR|POLLHUP)) in uipc_flush_ch_locked() 768 if (pfd.revents & (POLLHUP|POLLNVAL) ) in UIPC_Read()
|
/system/bt/service/ipc/ |
D | linux_ipc_host.cpp | 93 if (pfds_[kFdIpc].revents && !OnMessage()) { in EventLoop() 98 pfds_[kFdGatt].revents && in EventLoop()
|
/system/core/toolbox/ |
D | getevent.c | 658 if(ufds[0].revents & POLLIN) { in getevent_main() 662 if(ufds[i].revents) { in getevent_main() 663 if(ufds[i].revents & POLLIN) { in getevent_main()
|
/system/core/liblog/ |
D | logd_reader.c | 309 if (!(p.revents & POLLIN)) { in send_log_msg() 653 if ((ret > 0) && !(p.revents & POLLIN)) { in logdPoll()
|
/system/core/logwrapper/ |
D | logwrap.c | 358 if (poll_fds[0].revents & POLLIN) { in parent() 408 if (poll_fds[0].revents & POLLHUP) { in parent()
|
/system/core/logd/tests/ |
D | logd_test.cpp | 57 .revents = 0 in my_android_logger_get_statistics() 61 if ((ret <= 0) || !(p.revents & POLLIN)) { in my_android_logger_get_statistics()
|
/system/core/adf/libadfhwc/ |
D | adfhwc.cpp | 222 if (fds[i].revents & (POLLIN | POLLPRI)) in adf_event_thread()
|
/system/bt/vendor_libs/linux/ |
D | bt_vendor_linux.c | 204 if (fds[0].revents & POLLIN) { in bt_vendor_wait_hcidev()
|
/system/core/logd/ |
D | main.cpp | 406 if ((ret == 0) || !(p.revents & POLLIN)) { in main()
|
/system/core/libnetutils/ |
D | dhcpclient.c | 424 pfd.revents = 0; in dhcp_init_ifc()
|
/system/bt/btif/co/ |
D | bta_hh_co.c | 216 if (pfds[0].revents & POLLIN) { in btif_hh_poll_event_thread()
|
/system/core/libsync/tests/ |
D | sync_test.cpp | 395 ASSERT_TRUE(fds.revents & POLLERR); in TEST()
|