/cts/tests/tests/externalservice/src/android/externalservice/cts/ |
D | ExternalServiceTest.java | 45 private ConditionVariable mCondition = new ConditionVariable(false); field in ExternalServiceTest 133 mCondition.close(); in testBindExternalService() 137 assertTrue(mCondition.block(CONDITION_TIMEOUT)); in testBindExternalService() 161 mCondition.close(); in testBindExternalServiceWithRunningOwn() 163 assertTrue(mCondition.block(CONDITION_TIMEOUT)); in testBindExternalServiceWithRunningOwn() 181 mCondition.open(); in testBindExternalServiceWithRunningOwn() 190 mCondition.close(); in testBindExternalServiceWithRunningOwn() 196 assertTrue(mCondition.block(CONDITION_TIMEOUT)); in testBindExternalServiceWithRunningOwn() 209 mCondition.close(); in testBindExternalServiceWithRunningOwn() 212 assertTrue(mCondition.block(CONDITION_TIMEOUT)); in testBindExternalServiceWithRunningOwn() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/intents/ |
D | CameraContentJobService.java | 68 private ConditionVariable mCondition = new ConditionVariable(); field in CameraContentJobService.TestEnvironment 88 final boolean executed = mCondition.block(DEFAULT_TIMEOUT_MILLIS); in awaitExecution() 98 mCondition.open(); in notifyExecution() 104 mCondition.open(); in cancelWait() 109 mCondition.close(); in setUp()
|
/cts/tests/tests/media/libaudiojni/ |
D | Gate.h | 69 mCondition.wait(l); in wait() 90 mCondition.notify_all(); in openGate() 101 mCondition.notify_all(); in terminate() 121 std::condition_variable mCondition; variable
|
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/ |
D | DirectActionsSession.java | 45 private final Condition mCondition = mLock.newCondition(); field in DirectActionsSession 103 mCondition.signalAll(); in onHandleAssist() 115 mCondition.signalAll(); in onDirectActionsInvalidated() 126 Utils.await(mCondition); in executeWithAssist() 212 Utils.await(mCondition); in detectDirectActionsInvalidated()
|
/cts/tests/video/src/android/video/cts/ |
D | CodecTestActivity.java | 38 private final Condition mCondition = mLock.newCondition(); field in CodecTestActivity 77 mCondition.await(mWaitTimeMs, TimeUnit.MILLISECONDS); in waitTillSurfaceIsCreated()
|
/cts/hostsidetests/packagemanager/installedloadingprogess/deviceside/src/com/android/tests/loadingprogress/device/ |
D | LoadingProgressTest.java | 146 private final Predicate<Float> mCondition; field in LoadingProgressTest.LauncherAppsCallback 148 mCondition = progressCondition; in LauncherAppsCallback() 174 if (mCondition.test(progress)) { in onPackageLoadingProgressChanged()
|
/cts/tests/tests/nativemedia/resourceobserver/src/ |
D | ResourceObserverNativeTest.cpp | 73 mCondition.notify_one(); in onStatusChanged() 81 mCondition.wait_for(lock, std::chrono::microseconds(timeoutUs)); in waitForEvent() 91 std::condition_variable mCondition; member
|
/cts/tests/mediapc/src/android/mediapc/cts/ |
D | TestActivity.java | 40 private final Condition mCondition = mLock.newCondition(); field in TestActivity 79 mCondition.await(mWaitTimeMs, TimeUnit.MILLISECONDS); in waitTillSurfaceIsCreated()
|
D | CodecTestBase.java | 54 private final Condition mCondition = mLock.newCondition(); field in CodecAsyncHandler 87 mCondition.signalAll(); in onInputBufferAvailable() 97 mCondition.signalAll(); in onOutputBufferAvailable() 105 mCondition.signalAll(); in onError() 130 mCondition.await(); in getOutput() 145 mCondition.await(); in getWork()
|
/cts/tests/media/src/android/mediav2/cts/ |
D | CodecTestActivity.java | 41 private final Condition mCondition = mLock.newCondition(); field in CodecTestActivity 85 mCondition.await(mWaitTimeMs, TimeUnit.MILLISECONDS); in waitTillSurfaceIsCreated()
|
D | CodecTestBase.java | 70 private final Condition mCondition = mLock.newCondition(); field in CodecAsyncHandler 103 mCondition.signalAll(); in onInputBufferAvailable() 113 mCondition.signalAll(); in onOutputBufferAvailable() 121 mCondition.signalAll(); in onError() 146 mCondition.await(); in getInput() 161 mCondition.await(); in getOutput() 176 mCondition.await(); in getWork()
|
/cts/tests/media/jni/ |
D | NativeCodecTestBase.cpp | 72 mCondition.notify_all(); in pushToInputList() 78 mCondition.notify_all(); in pushToOutputList() 86 mCondition.wait(lock); in getInput() 101 mCondition.wait(lock); in getOutput() 116 mCondition.wait(lock); in getWork() 167 mCondition.notify_all(); in setError()
|
D | NativeCodecTestBase.h | 62 std::condition_variable mCondition; variable
|
/cts/tests/tests/media/src/android/media/cts/ |
D | VideoEncoderTest.java | 227 protected final Object mCondition = new Object(); field in VideoEncoderTest.VideoProcessorBase 410 synchronized(mCondition) { in emptyEncoderOutputBuffer() 412 mCondition.notifyAll(); // condition is always satisfied in emptyEncoderOutputBuffer() 415 synchronized(mCondition) { in emptyEncoderOutputBuffer() 507 synchronized (mCondition) { in processLoop() 512 mCondition.wait(mEncodeOutputFormatUpdated ? in processLoop() 544 synchronized(mCondition) { in processLoop() 565 synchronized(mCondition) { in onInputBufferAvailableLocked() 569 mCondition.notifyAll(); in onInputBufferAvailableLocked() 592 synchronized(mCondition) { in onOutputBufferAvailableLocked() [all …]
|
/cts/hostsidetests/graphics/framerateoverride/app/src/com/android/cts/graphics/framerateoverride/ |
D | FrameRateOverrideTestActivity.java | 319 String mCondition; field in FrameRateOverrideTestActivity.ChoreographerFrameRateObserver.ChoreographerThread 324 mCondition = condition; in ChoreographerThread() 357 mCondition, in verifyFrameRate() 362 mCondition, mExpectedRefreshRate, fps), in verifyFrameRate()
|