Home
last modified time | relevance | path

Searched refs:mCondition (Results 1 – 8 of 8) sorted by relevance

/cts/tests/tests/externalservice/src/android/externalservice/cts/
DExternalServiceTest.java45 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/
DCameraContentJobService.java68 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/
DGate.h69 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/
DDirectActionsSession.java43 private final Condition mCondition = mLock.newCondition(); field in DirectActionsSession
97 mCondition.signalAll(); in onHandleAssist()
109 mCondition.signalAll(); in onDirectActionsInvalidated()
120 Utils.await(mCondition); in executeWithAssist()
203 Utils.await(mCondition); in detectDirectActionsInvalidated()
/cts/tests/media/jni/
DNativeCodecTestBase.cpp72 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()
164 mCondition.notify_all(); in setError()
DNativeCodecTestBase.h59 std::condition_variable mCondition; variable
/cts/tests/tests/media/src/android/media/cts/
DVideoEncoderTest.java200 protected final Object mCondition = new Object(); field in VideoEncoderTest.VideoProcessorBase
383 synchronized(mCondition) { in emptyEncoderOutputBuffer()
385 mCondition.notifyAll(); // condition is always satisfied in emptyEncoderOutputBuffer()
388 synchronized(mCondition) { in emptyEncoderOutputBuffer()
481 synchronized (mCondition) { in processLoop()
486 mCondition.wait(mEncodeOutputFormatUpdated ? in processLoop()
518 synchronized(mCondition) { in processLoop()
538 synchronized(mCondition) { in onInputBufferAvailableLocked()
542 mCondition.notifyAll(); in onInputBufferAvailableLocked()
565 synchronized(mCondition) { in onOutputBufferAvailableLocked()
[all …]
/cts/tests/media/src/android/mediav2/cts/
DCodecTestBase.java63 private final Condition mCondition = mLock.newCondition(); field in CodecAsyncHandler
96 mCondition.signalAll(); in onInputBufferAvailable()
106 mCondition.signalAll(); in onOutputBufferAvailable()
114 mCondition.signalAll(); in onError()
139 mCondition.await(); in getInput()
154 mCondition.await(); in getOutput()
169 mCondition.await(); in getWork()