Home
last modified time | relevance | path

Searched refs:poll (Results 1 – 25 of 48) sorted by relevance

12

/system/netd/client/
DNetdClientTest.cpp39 const int s = TEMP_FAILURE_RETRY(poll(fds, std::size(fds), -1)); in serverLoop()
/system/netd/server/
DTcpSocketMonitor.h86 void poll();
DIptablesRestoreController.cpp64 int ret = poll(&pollfd, 1, 0); in outputReady()
279 poll(process->pollFds, ARRAY_SIZE(process->pollFds), POLL_TIMEOUT_MS)); in drainAndWaitForAck()
DTcpSocketMonitor.cpp191 void TcpSocketMonitor::poll() { in poll() function in android::net::TcpSocketMonitor
328 poll(); in TcpSocketMonitor()
/system/extras/simpleperf/scripts/
Drun_simpleperf_without_usb_connection.py55 if subproc.poll() is None:
/system/media/audio_utils/include/audio_utils/
DFdToString.h107 const int retval = poll(&pfd, 1 /* nfds*/, waitMs); in reader()
/system/core/liblog/
Dlogger_read.cpp374 !transp->transport->poll) { in android_logger_list_read()
377 int pollval = (*transp->transport->poll)(logger_list_internal, transp); in android_logger_list_read()
380 pollval = (*transp->transport->poll)(logger_list_internal, transp); in android_logger_list_read()
Dlogd_reader.cpp76 .poll = logdPoll,
166 ret = TEMP_FAILURE_RETRY(poll(&p, 1, 20)); in send_log_msg()
503 ret = poll(&p, 1, 20); in logdPoll()
Dlogger.h76 int (*poll)(struct android_log_logger_list* logger_list, member
/system/netd/resolv/
DDnsTlsSocket.cpp54 const int ret = TEMP_FAILURE_RETRY(poll(&fds, 1, -1)); in waitForReading()
60 const int ret = TEMP_FAILURE_RETRY(poll(&fds, 1, -1)); in waitForWriting()
360 const int s = TEMP_FAILURE_RETRY(poll(fds, std::size(fds), timeout_msecs)); in loop()
DREADME.md60 in `poll()` waiting for data from the server, but also has to be woken
62 threads have to arrive on a socket, so that `poll()` can listen for them.
/system/connectivity/wificond/tests/
Dshell_utils.cpp95 poll(&shell_output, 1, (time_left_ms < 0) ? 0 : time_left_ms); in RunShellCommand()
/system/core/adb/
Dsysdeps.h192 #define poll ___xxx_poll macro
576 return TEMP_FAILURE_RETRY(poll(fds, nfds, timeout)); in adb_poll()
579 #define poll ___xxx_poll macro
/system/bt/udrv/ulinux/
Duipc.cc148 OSI_NO_INTR(poll_ret = poll(&pfd, 1, 0)); in accept_server_socket()
347 OSI_NO_INTR(ret = poll(&pfd, 1, 1)); in uipc_flush_ch_locked()
646 OSI_NO_INTR(poll_ret = poll(&pfd, 1, uipc.ch[ch_id].read_poll_tmo_ms)); in UIPC_Read()
/system/nvram/hal/
Dfake_nvram.cpp159 while (TEMP_FAILURE_RETRY(poll(poll_fds, poll_fds_count, -1)) >= 0) { in ProcessMessages()
/system/core/init/
Dperfboot.py160 if c == '' and proc.poll() is not None:
163 if c == '' and proc.poll() is not None:
Duevent_listener.cpp205 int nr = poll(&ufd, 1, timeout_ms); in Poll()
Dsubcontext.cpp172 int nr = TEMP_FAILURE_RETRY(poll(ufd, arraysize(ufd), -1)); in MainLoop()
/system/core/libsysutils/src/
DSocketListener_test.cpp82 int poll_events = poll(&fds, 1, -1); in recvReply()
DSocketListener.cpp168 int rc = TEMP_FAILURE_RETRY(poll(fds.data(), fds.size(), -1)); in runListener()
/system/core/debuggerd/client/
Ddebuggerd_client.cpp220 rc = poll(&pfd, 1, remaining_ms); in debuggerd_trigger_dump()
/system/core/debuggerd/handler/
Ddebuggerd_fallback.cpp143 if (poll(&pfd, 1, 1000) != 1) { in forward_output()
/system/bt/vendor_libs/linux/interface/
Dbluetooth_hci.cc156 WRITE_NO_INTR(n = poll(fds, 1, -1)); in waitHciDev()
/system/core/logd/
Dmain.cpp393 ret = TEMP_FAILURE_RETRY(poll(&p, 1, 1000)); in issueReinit()
/system/bt/hci/src/
Dhci_layer_linux.cc324 OSI_NO_INTR(n = poll(fds, 1, MGMT_EV_POLL_TIMEOUT)); in wait_hcidev()

12