Home
last modified time | relevance | path

Searched refs:mCondition (Results 1 – 15 of 15) 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.java45 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/
DCodecTestActivity.java38 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/
DLoadingProgressTest.java146 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/
DResourceObserverNativeTest.cpp73 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/
DTestActivity.java40 private final Condition mCondition = mLock.newCondition(); field in TestActivity
79 mCondition.await(mWaitTimeMs, TimeUnit.MILLISECONDS); in waitTillSurfaceIsCreated()
DCodecTestBase.java54 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/
DCodecTestActivity.java41 private final Condition mCondition = mLock.newCondition(); field in CodecTestActivity
85 mCondition.await(mWaitTimeMs, TimeUnit.MILLISECONDS); in waitTillSurfaceIsCreated()
DCodecTestBase.java70 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/
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()
167 mCondition.notify_all(); in setError()
DNativeCodecTestBase.h62 std::condition_variable mCondition; variable
/cts/tests/tests/media/src/android/media/cts/
DVideoEncoderTest.java227 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/
DFrameRateOverrideTestActivity.java319 String mCondition; field in FrameRateOverrideTestActivity.ChoreographerFrameRateObserver.ChoreographerThread
324 mCondition = condition; in ChoreographerThread()
357 mCondition, in verifyFrameRate()
362 mCondition, mExpectedRefreshRate, fps), in verifyFrameRate()