/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | Camera2SurfaceViewCtsActivity.java | 54 public boolean waitForSurfaceSizeChanged(int timeOutMs, int expectWidth, int expectHeight) { in waitForSurfaceSizeChanged() argument 55 if (timeOutMs <= 0 || expectWidth <= 0 || expectHeight <= 0) { in waitForSurfaceSizeChanged() 60 timeOutMs, expectWidth, expectHeight)); in waitForSurfaceSizeChanged() 69 int waitTimeMs = timeOutMs; in waitForSurfaceSizeChanged() 75 Log.e(TAG, "Wait for surface change timed out after " + timeOutMs + " ms"); in waitForSurfaceSizeChanged() 97 Log.e(TAG, "Wait for surface change timed out after " + timeOutMs + " ms"); in waitForSurfaceSizeChanged() 104 public boolean waitForSurfaceState(int timeOutMs, boolean valid) { in waitForSurfaceState() argument 105 if (timeOutMs <= 0) { in waitForSurfaceState() 107 String.format("timeout(%d) should be a positive number", timeOutMs)); in waitForSurfaceState() 116 int waitTimeMs = timeOutMs; in waitForSurfaceState() [all …]
|
D | SurfaceViewPreviewTest.java | 885 int timeOutMs) { in verifyCaptureResults() argument 890 timeout(timeOutMs).atLeast(expectResultCount)) in verifyCaptureResults() 916 timeout(timeOutMs).atLeast(expectResultCount)) in verifyCaptureResults()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaSyncTest.java | 224 final int timeOutMs = 10000; in testAudioBufferReturn() local 225 boolean completed = runCheckAudioBuffer(INPUT_RESOURCE, timeOutMs); in testAudioBufferReturn() 234 private boolean runCheckAudioBuffer(String inputResource, int timeOutMs) { in runCheckAudioBuffer() argument 270 condition.wait(timeOutMs); in runCheckAudioBuffer() 281 final int timeOutMs = 5000; in testFlush() local 282 boolean completed = runFlush(INPUT_RESOURCE, timeOutMs); in testFlush() 288 private boolean runFlush(String inputResource, int timeOutMs) { in runFlush() argument 337 condition.wait(timeOutMs); in runFlush() 398 int timeOutMs) throws Exception { in playAV() argument 399 playAV(inputResource, lastBufferTimestampMs, audio, video, timeOutMs, 1.0f); in playAV() [all …]
|
D | MediaProjectionActivity.java | 111 final long timeOutMs = 125000; in waitForMediaProjection() local 123 } while (!mCountDownLatch.await(timeOutMs, TimeUnit.MILLISECONDS)); in waitForMediaProjection()
|
D | DecodeAccuracyTestBase.java | 244 int numOfTotalFrames, long timeOutMs, long msPerFrameCap) { in decodeFramesAndPlay() argument 251 && (SystemClock.elapsedRealtime() - loopStart < timeOutMs)) { in decodeFramesAndPlay() 727 public abstract void waitForViewIsAvailable(long timeOutMs) throws Exception; in waitForViewIsAvailable() argument 780 public void waitForViewIsAvailable(long timeOutMs) throws Exception { in waitForViewIsAvailable() argument 782 while (SystemClock.elapsedRealtime() - start < timeOutMs && !textureView.isAvailable()) { in waitForViewIsAvailable() 858 public void waitForViewIsAvailable(long timeOutMs) throws Exception { in waitForViewIsAvailable() argument 860 while (SystemClock.elapsedRealtime() - start < timeOutMs && !getSurface().isValid()) { in waitForViewIsAvailable() 940 public void waitForViewIsAvailable(long timeOutMs) throws Exception { in waitForViewIsAvailable() argument 942 while (SystemClock.elapsedRealtime() - start < timeOutMs in waitForViewIsAvailable()
|
D | AudioManagerTest.java | 311 public boolean waitForExpectedAction(long timeOutMs) { in waitForExpectedAction() argument 314 mLock.safeWait(timeOutMs); in waitForExpectedAction()
|
/cts/tests/camera/utils/src/android/hardware/cts/helpers/ |
D | CameraUtils.java | 259 public static SurfaceTexture getAvailableSurfaceTexture(long timeOutMs, TextureView view) { in getAvailableSurfaceTexture() argument 260 long waitTime = timeOutMs; in getAvailableSurfaceTexture() 271 Log.w(TAG, "Wait for SurfaceTexture available timed out after " + timeOutMs + "ms"); in getAvailableSurfaceTexture()
|
/cts/tests/tests/view/surfacevalidator/src/android/view/cts/surfacevalidator/ |
D | CapturedActivity.java | 231 final long timeOutMs = mOnEmbedded ? 125000 : 62500; in runTest() local 250 } while (!mCountDownLatch.await(timeOutMs, TimeUnit.MILLISECONDS)); in runTest() 313 boolean latchResult = latch.await(timeOutMs, TimeUnit.MILLISECONDS); in runTest()
|
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/ |
D | Camera2MultiViewTestCase.java | 367 public boolean waitForPreviewDone(long timeOutMs) { in waitForPreviewDone() argument 368 if (!mPreviewDone.block(timeOutMs)) { in waitForPreviewDone() 370 Log.w(TAG, "waitForPreviewDone timed out after " + timeOutMs + "ms"); in waitForPreviewDone()
|