/frameworks/base/core/java/android/speech/tts/ |
D | SilencePlaybackQueueItem.java | 22 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/ |
D | test_utils.h | 90 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/ |
D | BlockingExtensionSessionCallback.java | 162 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()
|
D | BlockingSessionCallback.java | 262 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/ |
D | MagnifierAnimation.cpp | 37 std::condition_variable mCondVar; member in BlockingCopyRequest 53 mCondVar.notify_all(); in onCopyFinished() 58 mCondVar.wait(_lock); in waitForResult()
|
/frameworks/av/services/audiopolicy/service/ |
D | SpatializerPoseController.cpp | 136 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()
|
D | SpatializerPoseController.h | 128 std::condition_variable_any mCondVar; variable
|
/frameworks/av/services/camera/virtualcamera/ |
D | VirtualCameraRenderThread.h | 218 std::condition_variable mCondVar; variable
|
D | VirtualCameraRenderThread.cc | 382 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/ |
D | CameraExtensionCharacteristics.java | 376 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/ |
D | CameraExtensionsProxyService.java | 290 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()
|