Searched refs:timeoutMs (Results 1 – 5 of 5) sorted by relevance
/system/netd/libnetdutils/ |
D | ThreadUtilTest.cpp | 60 static bool waitForAllReleased(int timeoutMs) { in waitForAllReleased() argument 62 int limit = timeoutMs / intervalMs; in waitForAllReleased()
|
/system/media/audio_utils/include/audio_utils/ |
D | FdToString.h | 46 explicit FdToString(const std::string &prefix = "- ", int timeoutMs = 200) 48 , mTimeoutTimeNs(systemTime() + timeoutMs * NANOS_PER_MILLISECOND) { in mPrefix()
|
/system/incremental_delivery/incfs/include/ |
D | incfs_ndk.h | 191 IncFsErrorCode IncFs_WaitForPendingReads(const IncFsControl* control, int32_t timeoutMs, 193 IncFsErrorCode IncFs_WaitForPageReads(const IncFsControl* control, int32_t timeoutMs,
|
/system/media/audio_utils/ |
D | echo_reference.c | 333 uint32_t timeoutMs = (uint32_t)((1000 * buffer->frame_count) / er->rd_sampling_rate / 2); in echo_reference_read() local 338 ts.tv_sec += timeoutMs/1000; in echo_reference_read() 339 ts.tv_nsec += (timeoutMs%1000) * 1000000; in echo_reference_read() 350 timeoutMs, er->frames_in, buffer->frame_count); in echo_reference_read()
|
/system/incremental_delivery/incfs/ |
D | incfs.cpp | 943 static int waitForReads(int fd, int32_t timeoutMs, incfs_pending_read_info pendingReadsBuffer[], in waitForReads() argument 945 auto hrTimeout = std::chrono::steady_clock::duration(std::chrono::milliseconds(timeoutMs)); in waitForReads() 992 IncFsErrorCode IncFs_WaitForPendingReads(const IncFsControl* control, int32_t timeoutMs, in IncFs_WaitForPendingReads() argument 1001 waitForReads(control->pendingReads, timeoutMs, pendingReads.data(), bufferSize)) { in IncFs_WaitForPendingReads() 1015 IncFsErrorCode IncFs_WaitForPageReads(const IncFsControl* control, int32_t timeoutMs, in IncFs_WaitForPageReads() argument 1027 if (const auto res = waitForReads(logsFd, timeoutMs, pendingReads.data(), bufferSize)) { in IncFs_WaitForPageReads()
|