Home
last modified time | relevance | path

Searched refs:waitUntilUs (Results 1 – 7 of 7) sorted by relevance

/hardware/google/aemu/base/include/aemu/base/synchronization/
DConditionVariable.h111 bool timedWait(StaticLock *userLock, uint64_t waitUntilUs) { in timedWait() argument
113 const auto timeout = waitUntilUs > now ? in timedWait()
114 std::max<uint32_t>(0, waitUntilUs - now) / 1000 : 0; in timedWait()
149 bool timedWait(StaticLock* userLock, uint64_t waitUntilUs) { in timedWait() argument
151 abstime.tv_sec = waitUntilUs / 1000000LL; in timedWait()
152 abstime.tv_nsec = (waitUntilUs % 1000000LL) * 1000; in timedWait()
/hardware/google/gfxstream/guest/android-emu/aemu/base/synchronization/
DAndroidConditionVariable.h117 bool timedWait(StaticLock<IsRecursive>* userLock, System::Duration waitUntilUs) { in timedWait() argument
120 std::max<System::Duration>(0, waitUntilUs - now) / 1000; in timedWait()
157 bool timedWait(StaticLock<IsRecursive>* userLock, uint64_t waitUntilUs) { in timedWait() argument
159 abstime.tv_sec = waitUntilUs / 1000000LL; in timedWait()
160 abstime.tv_nsec = (waitUntilUs % 1000000LL) * 1000; in timedWait()
/hardware/google/gfxstream/include/render-utils/
DRenderChannel.h107 virtual IoResult readBefore(Buffer* buffer, Duration waitUntilUs) = 0;
/hardware/google/aemu/base/include/aemu/base/containers/
DBufferQueue.h184 BufferQueueResult popLockedBefore(T* buffer, uint64_t waitUntilUs) { in popLockedBefore() argument
190 if (!mCanPop.timedWait(&mLock, waitUntilUs)) { in popLockedBefore()
/hardware/google/gfxstream/host/
DRenderChannelImpl.cpp111 IoResult RenderChannelImpl::readBefore(Buffer* buffer, Duration waitUntilUs) { in readBefore() argument
114 auto result = mToGuest.popLockedBefore(buffer, waitUntilUs); in readBefore()
DRenderChannelImpl.h62 virtual IoResult readBefore(Buffer* buffer, Duration waitUntilUs) override final;
/hardware/google/gfxstream/host/vulkan/
DVkDecoderGlobalState.cpp5534 auto waitUntilUs = nextDeadline(); in hostSyncCommandBuffer() local
5535 order->cv.timedWait(&order->lock, waitUntilUs); in hostSyncCommandBuffer()
5570 auto waitUntilUs = nextDeadline(); in hostSyncQueue() local
5571 order->cv.timedWait(&order->lock, waitUntilUs); in hostSyncQueue()