Home
last modified time | relevance | path

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

123

/system/chre/java/test/utils/src/com/google/android/utils/chre/
DContextHubBroadcastReceiver.java76 event = sQueue.poll(timeout, unit); in pollIntentEvent()
118 event = sQueue.poll(timeout, unit); in assertNoIntentEventReceived()
/system/chre/java/test/permissions/src/com/google/android/chre/test/permissions/
DContextHubFrameworkPermissionsTestExecutor.java126 NanoAppMessage msg = mMessageQueue.poll(2, TimeUnit.SECONDS); in permissionsDisabledTest()
136 Integer authorization = mAuthorizationUpdateQueue.poll(2, TimeUnit.SECONDS); in permissionsDisabledTest()
170 NanoAppMessage msg = mMessageQueue.poll(2, TimeUnit.SECONDS); in messagePermissionsTest()
DContextHubChrePermissionsTestExecutor.java107 rcvdMsg = mMessageQueue.poll(2, TimeUnit.SECONDS); in checkPermissionGatedApisTest()
/system/nfc/tools/casimir/scripts/
Dt4at.py72 async def poll(self): member in T4AT
122 await device.poll()
/system/nfc/tools/casimir/
DREADME.rst48 the RF port, in either listen or poll mode.
51 usage: t4at.py [-h] [--address ADDRESS] [--rf-port RF_PORT] [--mode {poll,listen}
57 --mode {poll,listen} Select the tag mode
/system/media/audio_utils/include/audio_utils/
DFdToString.h109 const int retval = poll(&pfd, 1 /* nfds*/, waitMs); in reader()
216 const int retval = poll(&pfd, 1 /* nfds*/, waitMs);
/system/netd/server/
DTcpSocketMonitor.h86 void poll();
DIptablesRestoreController.cpp68 int ret = poll(&pollfd, 1, 0); in outputReady()
265 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/core/trusty/metrics/
Dmetrics.cpp64 int rc = poll(&pfd, 1, timeout_ms); in WaitForEvent()
Dmetrics_test.cpp120 rc = poll(pfds, 2, 30000 /* 30 second timeout */); in TEST_F()
/system/extras/simpleperf/scripts/
Drun_simpleperf_without_usb_connection.py57 if subproc.poll() is None:
/system/connectivity/wificond/tests/
Dshell_utils.cpp95 poll(&shell_output, 1, (time_left_ms < 0) ? 0 : time_left_ms); in RunShellCommand()
/system/core/trusty/keymaster/ipc/
Dtrusty_keymaster_ipc.cpp101 int p = poll(&pfd, 1, poll_timeout_ms); in trusty_keymaster_call_2()
170 int p = poll(&pfd, 1, poll_timeout_ms); in trusty_keymaster_call_2()
/system/nfc/tools/casimir/src/
Dmain.rs265 fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<()> { in poll() method
268 Some(ref mut device) => match device.task.as_mut().poll(cx) { in poll()
Dmain-grpc.rs285 fn poll(mut self: Pin<&mut Self>, cx: &mut std::task::Context<'_>) -> Poll<()> { in poll() method
288 Some(ref mut device) => match device.task.as_mut().poll(cx) { in poll()
/system/netd/client/
DNetdClientTest.cpp49 int poll_result = TEMP_FAILURE_RETRY(poll(fds, std::size(fds), -1)); in serverLoop()
/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.cpp207 int nr = poll(&ufd, 1, timeout_ms); in Poll()
/system/core/libsysutils/src/
DSocketListener_test.cpp82 int poll_events = poll(&fds, 1, -1); in recvReply()
/system/logging/logd/
Dmain.cpp164 ret = TEMP_FAILURE_RETRY(poll(&p, 1, 1000)); in issueReinit()
Dlogd_test.cpp78 int ret = TEMP_FAILURE_RETRY(poll(&p, 1, 20000)); in send_to_control()
561 int ret = TEMP_FAILURE_RETRY(poll(&p, 1, 1000)); in TEST()
/system/core/fs_mgr/
Dfile_wait.cpp159 int rv = poll(&event, 1, static_cast<int>(remaining_ms)); in WaitImpl()
/system/core/debuggerd/handler/
Ddebuggerd_fallback.cpp104 if (poll(&pfd, 1, 1000) != 1) { in forward_output()

123