Home
last modified time | relevance | path

Searched refs:timeOutMs (Results 1 – 6 of 6) sorted by relevance

/cts/tests/camera/src/android/hardware/camera2/cts/
DCamera2SurfaceViewCtsActivity.java54 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 public boolean waitForSurfaceState(int timeOutMs, boolean valid) { in waitForSurfaceState() argument
98 if (timeOutMs <= 0) { in waitForSurfaceState()
100 String.format("timeout(%d) should be a positive number", timeOutMs)); in waitForSurfaceState()
109 int waitTimeMs = timeOutMs; in waitForSurfaceState()
115 … Log.e(TAG, "Wait for surface state " + valid + " timed out after " + timeOutMs + " ms"); in waitForSurfaceState()
DSurfaceViewPreviewTest.java661 int timeOutMs) { in verifyCaptureResults() argument
666 timeout(timeOutMs).atLeast(expectResultCount)) in verifyCaptureResults()
692 timeout(timeOutMs).atLeast(expectResultCount)) in verifyCaptureResults()
/cts/tests/tests/media/src/android/media/cts/
DMediaSyncTest.java223 final int timeOutMs = 10000; in testAudioBufferReturn() local
224 boolean completed = runCheckAudioBuffer(INPUT_RESOURCE_ID, timeOutMs); in testAudioBufferReturn()
233 private boolean runCheckAudioBuffer(int inputResourceId, int timeOutMs) { in runCheckAudioBuffer() argument
269 condition.wait(timeOutMs); in runCheckAudioBuffer()
280 final int timeOutMs = 5000; in testFlush() local
281 boolean completed = runFlush(INPUT_RESOURCE_ID, timeOutMs); in testFlush()
287 private boolean runFlush(int inputResourceId, int timeOutMs) { in runFlush() argument
336 condition.wait(timeOutMs); in runFlush()
397 int timeOutMs) throws Exception { in playAV() argument
398 playAV(inputResourceId, lastBufferTimestampMs, audio, video, timeOutMs, 1.0f); in playAV()
[all …]
DDecodeAccuracyTestBase.java183 Surface surface, int numOfTotalFrames, long timeOutMs) { in decodeFramesAndDisplay() argument
194 && (SystemClock.elapsedRealtime() - loopStart < timeOutMs)) { in decodeFramesAndDisplay()
DDecoderTest.java2674 final long timeOutMs = System.currentTimeMillis() + durationMs + 5 * 1000; // add 5 sec
2679 timeOutMs > System.currentTimeMillis());
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2MultiViewTestCase.java266 protected SurfaceTexture getAvailableSurfaceTexture(long timeOutMs, TextureView view) { in getAvailableSurfaceTexture() argument
267 long waitTime = timeOutMs; in getAvailableSurfaceTexture()
278 Log.w(TAG, "Wait for SurfaceTexture available timed out after " + timeOutMs + "ms"); in getAvailableSurfaceTexture()
319 public boolean waitForPreviewDone(long timeOutMs) { in waitForPreviewDone() argument
320 if (!mPreviewDone.block(timeOutMs)) { in waitForPreviewDone()
322 Log.w(TAG, "waitForPreviewDone timed out after " + timeOutMs + "ms"); in waitForPreviewDone()