Home
last modified time | relevance | path

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

123

/system/chre/java/test/permissions/src/com/google/android/chre/test/permissions/
DContextHubFrameworkPermissionsTestExecutor.java126 NanoAppMessage msg = mMessageQueue.poll(2, TimeUnit.SECONDS); in permissionsDisabledTest()
139 int authorization = mAuthorizationUpdateQueue.poll(2, TimeUnit.SECONDS); in permissionsDisabledTest()
170 NanoAppMessage msg = mMessageQueue.poll(2, TimeUnit.SECONDS); in messagePermissionsTest()
DContextHubChrePermissionsTestExecutor.java108 rcvdMsg = mMessageQueue.poll(2, TimeUnit.SECONDS); in checkPermissionGatedApisTest()
/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.py56 if subproc.poll() is None:
/system/core/trusty/metrics/
Dmetrics_test.cpp105 rc = poll(pfds, 2, 30000 /* 30 second timeout */); in TEST_F()
Dmetrics.cpp64 int rc = poll(&pfd, 1, timeout_ms); in WaitForEvent()
/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/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.cpp126 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/logging/logd/
Dmain.cpp169 ret = TEMP_FAILURE_RETRY(poll(&p, 1, 1000)); in issueReinit()
Dlogd_test.cpp64 ret = poll(&p, 1, 20); in send_to_control()
865 int ret = poll(&p, 1, 1000); in TEST()
/system/core/debuggerd/handler/
Ddebuggerd_fallback.cpp146 if (poll(&pfd, 1, 1000) != 1) { in forward_output()
/system/core/debuggerd/client/
Ddebuggerd_client.cpp269 rc = poll(&pfd, 1, remaining_ms); in debuggerd_trigger_dump()
/system/teeui/libteeui/src/
Devdev.cpp132 auto rc = poll(fds.data(), fds.size(), runTimers()); in start()
/system/bt/vendor_libs/linux/interface/
Dbluetooth_hci.cc156 WRITE_NO_INTR(n = poll(fds, 1, -1)); in waitHciDev()

123