Home
last modified time | relevance | path

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

12

/system/netd/server/
DTcpSocketMonitor.h86 void poll();
DIptablesRestoreController.cpp64 int ret = poll(&pollfd, 1, 0); in outputReady()
278 poll(process->pollFds, ARRAY_SIZE(process->pollFds), POLL_TIMEOUT_MS)); in drainAndWaitForAck()
DTcpSocketMonitor.cpp192 void TcpSocketMonitor::poll() { in poll() function in android::net::TcpSocketMonitor
329 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/connectivity/wificond/tests/
Dshell_utils.cpp95 poll(&shell_output, 1, (time_left_ms < 0) ? 0 : time_left_ms); in RunShellCommand()
/system/netd/client/
DNetdClientTest.cpp49 int poll_result = TEMP_FAILURE_RETRY(poll(fds, std::size(fds), -1)); in serverLoop()
/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/adb/
Dsysdeps.h209 #define poll ___xxx_poll macro
650 return TEMP_FAILURE_RETRY(poll(fds, nfds, timeout)); in adb_poll()
653 #define poll ___xxx_poll macro
/system/core/init/
Dperfboot.py160 if c == '' and proc.poll() is not None:
163 if c == '' and proc.poll() is not None:
Duevent_listener.cpp206 int nr = poll(&ufd, 1, timeout_ms); in Poll()
Dsubcontext.cpp125 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/fs_mgr/
Dfile_wait.cpp159 int rv = poll(&event, 1, static_cast<int>(remaining_ms)); in WaitImpl()
/system/netd/tests/
Dnetd_test.cpp272 rv = poll(&p, 1, 1000 /*milliseconds*/); in TEST()
/system/core/logd/
Dmain.cpp201 ret = TEMP_FAILURE_RETRY(poll(&p, 1, 1000)); in issueReinit()
/system/core/debuggerd/handler/
Ddebuggerd_fallback.cpp144 if (poll(&pfd, 1, 1000) != 1) { in forward_output()
/system/teeui/libteeui/src/
Devdev.cpp132 auto rc = poll(fds.data(), fds.size(), runTimers()); in start()
/system/core/debuggerd/client/
Ddebuggerd_client.cpp269 rc = poll(&pfd, 1, remaining_ms); in debuggerd_trigger_dump()
/system/core/liblog/
Dlogd_reader.cpp100 ret = TEMP_FAILURE_RETRY(poll(&p, 1, 20)); in SendLogdControlMessage()
/system/bt/vendor_libs/linux/interface/
Dbluetooth_hci.cc156 WRITE_NO_INTR(n = poll(fds, 1, -1)); in waitHciDev()
/system/bt/hci/src/
Dhci_layer_linux.cc324 OSI_NO_INTR(n = poll(fds, 1, MGMT_EV_POLL_TIMEOUT)); in wait_hcidev()
/system/core/libsync/
Dsync.c138 ret = poll(&fds, 1, timeout); in sync_wait()

12