Home
last modified time | relevance | path

Searched refs:mCondVar (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/core/java/android/speech/tts/
DSilencePlaybackQueueItem.java22 private final ConditionVariable mCondVar = new ConditionVariable(); field in SilencePlaybackQueueItem
36 wasStopped = mCondVar.block(mSilenceDurationMs); in run()
48 mCondVar.open(); in stop()
/frameworks/native/services/vibratorservice/test/
Dtest_utils.h90 TestCounter(int32_t init = 0) : mMutex(), mCondVar(), mCount(init) {} in mMutex()
102 mCondVar.notify_all(); in increment()
107 mCondVar.wait_for(lock, timeout, [&] { return mCount >= count; }); in tryWaitUntilCountIsAtLeast()
112 std::condition_variable mCondVar; variable
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/
DBlockingExtensionSessionCallback.java162 ConditionVariable mCondVar = new ConditionVariable(/*opened*/false); field in BlockingExtensionSessionCallback.SessionFuture
166 mCondVar.open(); in setSession()
186 mCondVar.block(); in get()
193 if (!mCondVar.block(timeoutMs)) { in get()
DBlockingSessionCallback.java262 ConditionVariable mCondVar = new ConditionVariable(/*opened*/false); field in BlockingSessionCallback.SessionFuture
266 mCondVar.open(); in setSession()
286 mCondVar.block(); in get()
293 if (!mCondVar.block(timeoutMs)) { in get()
/frameworks/base/libs/hwui/tests/common/scenes/
DMagnifierAnimation.cpp37 std::condition_variable mCondVar; member in BlockingCopyRequest
53 mCondVar.notify_all(); in onCopyFinished()
58 mCondVar.wait(_lock); in waitForResult()
/frameworks/av/services/audiopolicy/service/
DSpatializerPoseController.cpp136 mCondVar.wait_for(lock, maxUpdatePeriod.value(), in __anon27ca8c2d0302()
139 mCondVar.wait(lock, [this] { return mShouldExit || mShouldCalculate; }); in __anon27ca8c2d0302()
160 mCondVar.notify_all(); in __anon27ca8c2d0302()
178 mCondVar.notify_all(); in ~SpatializerPoseController()
277 mCondVar.notify_all(); in calculateAsync()
282 mCondVar.wait(lock, [this] { return mCalculated; }); in waitUntilCalculated()
DSpatializerPoseController.h128 std::condition_variable_any mCondVar; variable
/frameworks/av/services/camera/virtualcamera/
DVirtualCameraRenderThread.h218 std::condition_variable mCondVar; variable
DVirtualCameraRenderThread.cc382 mCondVar.notify_one(); in requestTextureUpdate()
395 mCondVar.notify_one(); in enqueueTask()
415 mCondVar.notify_one(); in stop()
433 mCondVar.wait(lock, [this]() REQUIRES(mLock) { in dequeueTask()
/frameworks/base/core/java/android/hardware/camera2/
DCameraExtensionCharacteristics.java376 ConditionVariable mCondVar = new ConditionVariable(/*opened*/false); field in CameraExtensionCharacteristics.CameraExtensionManagerGlobal.InitializerFuture
380 mCondVar.open(); in setStatus()
400 mCondVar.block(); in get()
407 if (!mCondVar.block(timeoutMs)) { in get()
/frameworks/base/packages/services/CameraExtensionsProxy/src/com/android/cameraextensions/
DCameraExtensionsProxyService.java290 ConditionVariable mCondVar = new ConditionVariable(/*opened*/false); field in CameraExtensionsProxyService.CameraExtensionManagerGlobal.InitializerFuture
294 mCondVar.open(); in setStatus()
314 mCondVar.block(); in get()
321 if (!mCondVar.block(timeoutMs)) { in get()