Home
last modified time | relevance | path

Searched refs:mCondition (Results 1 – 5 of 5) 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/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 …]