/device/generic/goldfish-opengl/android-emu/android/base/threads/ |
D | AndroidWorkPool.cpp | 69 bool waitAllLocked(WorkPool::TimeoutUs timeout) { in waitAllLocked() argument 72 timeout); in waitAllLocked() 75 bool waitAnyLocked(WorkPool::TimeoutUs timeout) { in waitAnyLocked() argument 78 timeout); in waitAnyLocked() 93 bool doWait(WorkPool::TimeoutUs timeout) { in doWait() argument 94 if (timeout == ~0ULL) { in doWait() 99 return mCv.timedWait(&mLock, getDeadline(timeout)); in doWait() 128 … bool conditionalTimeoutLocked(std::function<bool()> conditionFunc, WorkPool::TimeoutUs timeout) { in conditionalTimeoutLocked() argument 130 WorkPool::TimeoutUs currTimeout = timeout; in conditionalTimeoutLocked() 384 bool waitAny(WorkPool::WaitGroupHandle waitGroupHandle, WorkPool::TimeoutUs timeout) { in waitAny() argument [all …]
|
D | AndroidWorkPool.h | 42 bool waitAny(WaitGroupHandle waitGroup, TimeoutUs timeout = -1); 43 bool waitAll(WaitGroupHandle waitGroup, TimeoutUs timeout = -1);
|
/device/linaro/hikey/hifi/xaf/host-apf/include/os/android/ |
D | xf-osal.h | 106 static inline int __xf_wait(xf_wait_t *w, u32 timeout) in __xf_wait() argument 113 if (!timeout) in __xf_wait() 123 ts.tv_sec = tv.tv_sec + timeout / 1000; in __xf_wait() 124 ts.tv_nsec = tv.tv_usec * 1000 + (timeout % 1000) * 1000000; in __xf_wait() 135 #define __xf_wait(w, timeout) \ argument 139 __r = (__xf_wait)(w, timeout); \
|
/device/linaro/hikey/hifi/xaf/host-apf/include/os/xos/ |
D | xf-osal.h | 100 static inline int __xf_wait(xf_wait_t *w, u32 timeout) 107 if (!timeout) 117 ts.tv_sec = tv.tv_sec + timeout / 1000; 118 ts.tv_nsec = tv.tv_usec * 1000 + (timeout % 1000) * 1000000; 129 #define __xf_wait(w, timeout) \ 133 __r = (__xf_wait)(w, timeout); \
|
/device/linaro/hikey/bluetooth/ |
D | async_fd_watcher.cc | 50 const std::chrono::milliseconds timeout, in ConfigureTimeout() argument 56 timeout_ms_ = timeout; in ConfigureTimeout() 125 struct timeval timeout; in ThreadRoutine() local 128 timeout.tv_sec = timeout_ms_.count() / 1000; in ThreadRoutine() 129 timeout.tv_usec = (timeout_ms_.count() % 1000) * 1000; in ThreadRoutine() 130 timeout_ptr = &timeout; in ThreadRoutine()
|
/device/generic/goldfish/radio/libril/ |
D | ril_event.cpp | 86 dlog(" timeout = %ds + %dus", (int)ev->timeout.tv_sec, (int)ev->timeout.tv_usec); in dump_event() 170 while ((tev != &timer_list) && (timercmp(&now, &tev->timeout, >))) { in processTimeouts() 230 (int)tev->timeout.tv_sec, (int)tev->timeout.tv_usec); in calcNextTimeout() 231 if (timercmp(&tev->timeout, &now, >)) { in calcNextTimeout() 232 timersub(&tev->timeout, &now, tv); in calcNextTimeout() 299 timeradd(&now, tv, &ev->timeout); in ril_timer_add() 302 while (timercmp(&list->timeout, &ev->timeout, < ) in ril_timer_add()
|
/device/google/cuttlefish/guest/hals/ril/libril/ |
D | ril_event.cpp | 86 dlog(" timeout = %ds + %dus", (int)ev->timeout.tv_sec, (int)ev->timeout.tv_usec); in dump_event() 170 while ((tev != &timer_list) && (timercmp(&now, &tev->timeout, >))) { in processTimeouts() 230 (int)tev->timeout.tv_sec, (int)tev->timeout.tv_usec); in calcNextTimeout() 231 if (timercmp(&tev->timeout, &now, >)) { in calcNextTimeout() 232 timersub(&tev->timeout, &now, tv); in calcNextTimeout() 299 timeradd(&now, tv, &ev->timeout); in ril_timer_add() 302 while (timercmp(&list->timeout, &ev->timeout, < ) in ril_timer_add()
|
/device/google/cuttlefish/guest/hals/ril/reference-libril/ |
D | ril_event.cpp | 86 dlog(" timeout = %ds + %dus", (int)ev->timeout.tv_sec, (int)ev->timeout.tv_usec); in dump_event() 170 while ((tev != &timer_list) && (timercmp(&now, &tev->timeout, >))) { in processTimeouts() 230 (int)tev->timeout.tv_sec, (int)tev->timeout.tv_usec); in calcNextTimeout() 231 if (timercmp(&tev->timeout, &now, >)) { in calcNextTimeout() 232 timersub(&tev->timeout, &now, tv); in calcNextTimeout() 299 timeradd(&now, tv, &ev->timeout); in ril_timer_add() 302 while (timercmp(&list->timeout, &ev->timeout, < ) in ril_timer_add()
|
/device/linaro/hikey/hifi/xaf/host-apf/proxy/ |
D | xf-fio.c | 84 int xf_ipc_wait(xf_proxy_ipc_data_t *ipc, u32 timeout) in xf_ipc_wait() argument 95 (timeout ? tv.tv_sec = timeout / 1000, tv.tv_usec = (timeout % 1000) * 1000 : 0); in xf_ipc_wait() 99 select(fd+1,&rfds,NULL,NULL,(timeout? &tv: NULL)); in xf_ipc_wait()
|
/device/google/contexthub/util/stm32_flash/ |
D | spi.c | 97 uint16_t timeout = 65535; in spi_read_ack() local 114 timeout --; in spi_read_ack() 115 } while (buffer[0] != CMD_ACK && buffer[0] != CMD_NACK && timeout > 0); in spi_read_ack() 117 if (buffer[0] != CMD_ACK && buffer[0] != CMD_NACK && timeout == 0) in spi_read_ack()
|
/device/generic/goldfish/network/netmgr/ |
D | poller.cpp | 43 auto timeout = deadline - now; in calculateTimeout() local 45 auto seconds = duration_cast<std::chrono::seconds>(timeout); in calculateTimeout() 47 auto nanos = duration_cast<std::chrono::nanoseconds>(timeout - seconds); in calculateTimeout()
|
/device/generic/goldfish/network/wifi_forwarder/ |
D | poller.cpp | 42 auto timeout = deadline - now; in calculateTimeout() local 44 auto seconds = duration_cast<std::chrono::seconds>(timeout); in calculateTimeout() 46 auto nanos = duration_cast<std::chrono::nanoseconds>(timeout - seconds); in calculateTimeout()
|
/device/google/cuttlefish/host/commands/cvd_status/ |
D | cvd_status.cc | 85 struct timeval timeout = {FLAGS_wait_for_launcher, 0}; in main() local 87 FLAGS_wait_for_launcher <= 0 ? nullptr : &timeout); in main()
|
/device/google/cuttlefish/host/commands/powerwash_cvd/ |
D | powerwash_cvd.cc | 88 struct timeval timeout = {FLAGS_wait_for_launcher, 0}; in main() local 90 FLAGS_wait_for_launcher <= 0 ? nullptr : &timeout); in main()
|
/device/google/wahoo/usb/ |
D | UsbGadget.h | 82 uint64_t timeout) override; 91 uint64_t timeout);
|
/device/generic/goldfish/dhcp/client/ |
D | dhcpclient.cpp | 221 uint32_t timeout = calculateTimeoutMillis(); in waitAndReceive() local 226 ts.tv_sec = timeout / 1000; in waitAndReceive() 227 ts.tv_nsec = (timeout - ts.tv_sec * 1000) * 1000000; in waitAndReceive() 292 uint64_t end = startedAt + timeout; in waitAndReceive() 298 timeout = end - currentTime; in waitAndReceive()
|
/device/generic/goldfish/camera/ |
D | EmulatedCameraDevice.cpp | 491 EmulatedCameraDevice::CameraThread::waitForFrameOrTimeout(nsecs_t timeout) { in waitForFrameOrTimeout() argument 499 mRunningCondition.waitRelative(mRunningMutex, timeout); in waitForFrameOrTimeout() 506 timeout = milliseconds(5); in waitForFrameOrTimeout() 517 nsecs_t timeout = std::max<nsecs_t>(0, wakeAt - now); in inWorkerThread() local 519 if (!waitForFrameOrTimeout(timeout)) { in inWorkerThread() 665 nsecs_t timeout = std::max<nsecs_t>(0, nextFrame - now); in inWorkerThread() local 669 mRunningCondition.waitRelative(mRunningMutex, timeout); in inWorkerThread()
|
/device/google/bonito/usb/ |
D | UsbGadget.h | 84 uint64_t timeout) override; 93 uint64_t timeout);
|
/device/google/crosshatch/usb/ |
D | UsbGadget.h | 84 uint64_t timeout) override; 93 uint64_t timeout);
|
/device/google/coral/usb/ |
D | UsbGadget.h | 78 uint64_t timeout) override; 85 uint64_t timeout);
|
D | UsbGadget.cpp | 221 uint64_t timeout) { in setupFunctions() argument 278 bool pullup = monitorFfs.waitForPullUp(timeout); in setupFunctions() 290 uint64_t timeout) { in setCurrentUsbFunctions() argument 322 status = setupFunctions(functions, callback, timeout); in setCurrentUsbFunctions()
|
/device/google/cuttlefish/host/commands/secure_env/ |
D | in_process_tpm.cpp | 60 int32_t timeout) { in Receive() argument 62 InProcessTpm::TpmFromContext(context)->Receive(size, response, timeout); in Receive()
|
/device/generic/opengl-transport/host/libs/virglrenderer/include/sync/ |
D | sync.h | 20 int sync_wait(int fd, int timeout);
|
/device/generic/opengl-transport/host/libs/virglrenderer/include/android/ |
D | sync.h | 20 int sync_wait(int fd, int timeout);
|
/device/generic/goldfish-opengl/fuchsia/include/sync/ |
D | sync.h | 6 int sync_wait(int fd, int timeout);
|