/cts/tests/tests/externalservice/src/android/externalservice/cts/ |
D | SharedIsolatedServiceTest.java | 38 private ConditionVariable mCondition = new ConditionVariable(false); field in SharedIsolatedServiceTest 39 private Connection mConnection = new Connection(mCondition); 51 mCondition.close(); in testBasicConnection() 62 assertTrue(mCondition.block(RunningServiceInfo.CONDITION_TIMEOUT)); in testBasicConnection() 71 mCondition.close(); in testSharedIsolatedProcessNotAllowed() 88 mCondition.close(); in testMultipleServicesWithSingleInstance() 98 assertTrue(mCondition.block(RunningServiceInfo.CONDITION_TIMEOUT)); in testMultipleServicesWithSingleInstance() 104 Connection connection2 = new Connection(mCondition); in testMultipleServicesWithSingleInstance() 108 mCondition.close(); in testMultipleServicesWithSingleInstance() 119 assertTrue(mCondition.block(RunningServiceInfo.CONDITION_TIMEOUT)); in testMultipleServicesWithSingleInstance() [all …]
|
D | ExternalServiceTest.java | 43 private ConditionVariable mCondition = new ConditionVariable(false); field in ExternalServiceTest 131 mCondition.close(); in testBindExternalService() 135 assertTrue(mCondition.block(CONDITION_TIMEOUT)); in testBindExternalService() 159 mCondition.close(); in testBindExternalServiceWithRunningOwn() 161 assertTrue(mCondition.block(CONDITION_TIMEOUT)); in testBindExternalServiceWithRunningOwn() 179 mCondition.open(); in testBindExternalServiceWithRunningOwn() 188 mCondition.close(); in testBindExternalServiceWithRunningOwn() 194 assertTrue(mCondition.block(CONDITION_TIMEOUT)); in testBindExternalServiceWithRunningOwn() 207 mCondition.close(); in testBindExternalServiceWithRunningOwn() 210 assertTrue(mCondition.block(CONDITION_TIMEOUT)); in testBindExternalServiceWithRunningOwn() [all …]
|
D | PackagePrivateIsolatedServiceTest.java | 65 private final ConditionVariable mCondition = new ConditionVariable(false); field in PackagePrivateIsolatedServiceTest 66 private final Connection mConnection = new Connection(mCondition); 96 mCondition.close(); in testBasicConnection() 108 assertTrue(mCondition.block(RunningServiceInfo.CONDITION_TIMEOUT)); in testBasicConnection() 125 mCondition.close(); in testBindExportedServiceSharedProcessNotAllowed() 137 assertTrue(mCondition.block(RunningServiceInfo.CONDITION_TIMEOUT)); in testBindExportedServiceSharedProcessNotAllowed() 152 mCondition.close(); in testBindMultipleExportedServiceS() 164 assertTrue(mCondition.block(RunningServiceInfo.CONDITION_TIMEOUT)); in testBindMultipleExportedServiceS() 171 new PackagePrivateIsolatedServiceTest.Connection(mCondition); in testBindMultipleExportedServiceS() 177 mCondition.close(); in testBindMultipleExportedServiceS() [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/media/common/src/android/mediav2/common/cts/ |
D | CodecAsyncHandler.java | 45 protected final Condition mCondition = mLock.newCondition(); field in CodecAsyncHandler 85 mCondition.signalAll(); in onInputBufferAvailable() 98 mCondition.signalAll(); in onOutputBufferAvailable() 111 mCondition.signalAll(); in onError() 125 mCondition.signalAll(); in onCryptoError() 138 mCondition.signalAll(); in onOutputFormatChanged() 159 if (!mCondition.await(CodecTestBase.Q_DEQ_TIMEOUT_US, TimeUnit.MICROSECONDS)) { in waitOnFormatChange() 178 mCondition.await(); in getInput() 196 mCondition.await(); in getOutput() 214 mCondition.await(); in getWork()
|
D | CodecAsyncHandlerMultiAccessUnits.java | 72 mCondition.signalAll(); in onOutputBuffersAvailable() 87 mCondition.signalAll(); in onOutputBufferAvailable() 100 mCondition.await(); in getOutputs() 119 mCondition.await(); in getWorkList()
|
D | ImageSurface.java | 47 private final Condition mCondition = mLock.newCondition(); field in ImageSurface 79 mCondition.signalAll(); in onImageAvailable() 94 if (!mCondition.await(timeout, TimeUnit.MILLISECONDS)) { in getImage()
|
D | CodecTestActivity.java | 41 private final Condition mCondition = mLock.newCondition(); field in CodecTestActivity 85 mCondition.await(mWaitTimeMs, TimeUnit.MILLISECONDS); in waitTillSurfaceIsCreated()
|
/cts/tests/tests/media/audio/jni/ |
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/externalservice/common/src/android/externalservice/common/ |
D | RunningServiceInfo.java | 82 private final ConditionVariable mCondition; field in RunningServiceInfo.IdentifyHandler 87 mCondition = signalVariable; in IdentifyHandler() 99 mCondition.open(); in handleMessage()
|
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/ |
D | DirectActionsSession.java | 48 private final Condition mCondition = mLock.newCondition(); field in DirectActionsSession 134 mCondition.signalAll(); in onHandleAssist() 146 mCondition.signalAll(); in onDirectActionsInvalidated() 157 Utils.await(mCondition); in executeWithAssist() 245 Utils.await(mCondition); in detectDirectActionsInvalidated()
|
/cts/tests/tests/media/common/src/android/media/cts/ |
D | MediaStubActivity.java | 50 private final Condition mCondition = mLock.newCondition(); field in MediaStubActivity 98 mCondition.await(waitTimeMs, TimeUnit.MILLISECONDS); in waitTillSurfaceHolderIsCreated() 132 mCondition.signalAll(); in getSurface()
|
/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()
|
D | CodecEncoderPerformanceTestBase.java | 58 private final Condition mCondition = mLock.newCondition(); field in CodecEncoderPerformanceTestBase 162 mCondition.await(); in doWork() 300 mCondition.signal(); in configureCodec()
|
/cts/tests/tests/media/encoder/src/android/media/encoder/cts/ |
D | VideoEncoderTest.java | 286 protected final Object mCondition = new Object(); field in VideoEncoderTest.VideoProcessorBase 469 synchronized(mCondition) { in emptyEncoderOutputBuffer() 471 mCondition.notifyAll(); // condition is always satisfied in emptyEncoderOutputBuffer() 474 synchronized(mCondition) { in emptyEncoderOutputBuffer() 567 synchronized (mCondition) { in processLoop() 572 mCondition.wait(mEncodeOutputFormatUpdated ? in processLoop() 604 synchronized(mCondition) { in processLoop() 625 synchronized(mCondition) { in onInputBufferAvailableLocked() 629 mCondition.notifyAll(); in onInputBufferAvailableLocked() 652 synchronized(mCondition) { in onOutputBufferAvailableLocked() [all …]
|
/cts/hostsidetests/packagemanager/installedloadingprogess/deviceside/src/com/android/tests/loadingprogress/device/ |
D | LoadingProgressTest.java | 157 private final Predicate<Float> mCondition; field in LoadingProgressTest.LauncherAppsCallback 159 mCondition = progressCondition; in LauncherAppsCallback() 185 if (mCondition.test(progress)) { in onPackageLoadingProgressChanged()
|
/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 | PlaybackFrameDrop.java | 77 private final Condition mCondition = mLock.newCondition(); field in PlaybackFrameDrop.OutputHandler 85 mCondition.await(); in getOutput() 117 mCondition.signal(); in add() 127 mCondition.signal(); in stop()
|
D | CodecTestBase.java | 69 private final Condition mCondition = mLock.newCondition(); field in CodecAsyncHandler 102 mCondition.signalAll(); in onInputBufferAvailable() 112 mCondition.signalAll(); in onOutputBufferAvailable() 120 mCondition.signalAll(); in onError() 145 mCondition.await(); in getOutput() 160 mCondition.await(); in getWork()
|
/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/media/jni/ |
D | NativeCodecTestBase.cpp | 109 mCondition.notify_all(); in pushToInputList() 115 mCondition.notify_all(); in pushToOutputList() 123 mCondition.wait(lock); in getInput() 138 mCondition.wait(lock); in getOutput() 153 mCondition.wait(lock); in getWork() 189 mCondition.notify_all(); in setOutputFormat() 198 mCondition.wait_for(lock, std::chrono::microseconds(kQDeQTimeOutUs))) { in waitOnFormatChange() 219 mCondition.notify_all(); in setError()
|
D | NativeCodecTestBase.h | 79 std::condition_variable mCondition; variable
|
/cts/tests/tests/gameframerate/src/ |
D | GameFrameRateCtsActivity.java | 396 String mCondition; field in GameFrameRateCtsActivity.ChoreographerFrameRateObserver.ChoreographerThread 401 mCondition = condition; in ChoreographerThread() 434 mCondition, in verifyFrameRate() 439 mCondition, in verifyFrameRate()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | FrameRateOverrideCtsActivity.java | 352 String mCondition; field in FrameRateOverrideCtsActivity.ChoreographerFrameRateObserver.ChoreographerThread 357 mCondition = condition; in ChoreographerThread() 390 mCondition, in verifyFrameRate() 395 mCondition, mExpectedRefreshRate, fps), in verifyFrameRate()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
D | ItsUtils.java | 495 private final Object mCondition; field in ItsUtils.MediaCodecListener 501 mCondition = condition; in MediaCodecListener() 512 synchronized (mCondition) { in onOutputBufferAvailable() 519 mCondition.notifyAll(); in onOutputBufferAvailable() 536 synchronized (mCondition) { in onOutputFormatChanged()
|