Home
last modified time | relevance | path

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

/system/core/libcutils/
Dabort_socket.c75 pfd[0].revents = 0; in asocket_connect()
78 pfd[1].revents = 0; in asocket_connect()
92 if (pfd[1].revents) { in asocket_connect()
98 if (pfd[0].revents) { in asocket_connect()
99 if (pfd[0].revents & POLLOUT) { in asocket_connect()
127 pfd[0].revents = 0; in asocket_accept()
130 pfd[1].revents = 0; in asocket_accept()
144 if (pfd[1].revents) { in asocket_accept()
150 if (pfd[0].revents) { in asocket_accept()
151 if (pfd[0].revents & POLLIN) { in asocket_accept()
[all …]
/system/core/debuggerd/
Dgetevent.c202 if(ufds[0].revents & POLLIN) { in get_event()
206 if(ufds[i].revents) { in get_event()
207 if(ufds[i].revents & POLLIN) { in get_event()
Ddebuggerd.c202 pollfds[0].revents = 0; in read_request()
/system/core/init/
Dueventd.c93 ufd.revents = 0; in ueventd_main()
97 if (ufd.revents == POLLIN) in ueventd_main()
Dinit.c970 ufds[fd_count].revents = 0; in main()
977 ufds[fd_count].revents = 0; in main()
984 ufds[fd_count].revents = 0; in main()
1014 if (ufds[i].revents == POLLIN) { in main()
/system/netd/
DMDnsSdListener.cpp562 if (mPollFds[i].revents != 0) { in run()
565 i, mPollFds[i].revents); in run()
568 mPollFds[i].revents = 0; in run()
571 if (VDBG) ALOGD("controlSocket shows revent= %d", mPollFds[0].revents); in run()
572 switch (mPollFds[0].revents) { in run()
582 mPollFds[0].revents = 0; in run()
/system/bluetooth/tools/
Dpipetest.c64 if (ufds[i].revents) { in _poll()
65 printf("\tfd %d ", ufds[i].fd); print_events(ufds[i].revents); in _poll()
Dasocket_test.c309 if (ufds[i].revents) { in _poll()
310 printf("\tfd %d ", ufds[i].fd); print_events(ufds[i].revents); in _poll()
Dsocktest.c323 if (ufds[i].revents) { in _poll()
324 printf("\tfd %d ", ufds[i].fd); print_events(ufds[i].revents); in _poll()
/system/core/charger/
Dcharger.c534 static int uevent_callback(int fd, short revents, void *data) in uevent_callback() argument
538 if (!(revents & POLLIN)) in uevent_callback()
918 static int input_callback(int fd, short revents, void *data) in input_callback() argument
924 ret = ev_get_input(fd, revents, &ev); in input_callback()
/system/core/toolbox/
Dgetevent.c634 if(ufds[0].revents & POLLIN) { in getevent_main()
638 if(ufds[i].revents) { in getevent_main()
639 if(ufds[i].revents & POLLIN) { in getevent_main()
/system/core/sdcard/
Dfuse.h528 __u32 revents; member
/system/core/libnetutils/
Ddhcpclient.c422 pfd.revents = 0; in dhcp_init_ifc()