Searched refs:timeOutMs (Results 1 – 4 of 4) sorted by relevance
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/ |
D | Camera2SurfaceViewCtsActivity.java | 50 public boolean waitForSurfaceSizeChanged(int timeOutMs, int expectWidth, int expectHeight) { in waitForSurfaceSizeChanged() argument 51 if (timeOutMs <= 0 || expectWidth <= 0 || expectHeight <= 0) { in waitForSurfaceSizeChanged() 56 timeOutMs, expectWidth, expectHeight)); in waitForSurfaceSizeChanged() 65 int waitTimeMs = timeOutMs; in waitForSurfaceSizeChanged() 71 Log.e(TAG, "Wait for surface change timed out after " + timeOutMs + " ms"); in waitForSurfaceSizeChanged()
|
D | SurfaceViewPreviewTest.java | 469 int timeOutMs) { in verifyCaptureResults() argument 474 timeout(timeOutMs).atLeast(expectResultCount)) in verifyCaptureResults() 500 timeout(timeOutMs).atLeast(expectResultCount)) in verifyCaptureResults()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaSyncTest.java | 204 final int timeOutMs = 10000; in testAudioBufferReturn() local 205 boolean completed = runCheckAudioBuffer(INPUT_RESOURCE_ID, timeOutMs); in testAudioBufferReturn() 214 private boolean runCheckAudioBuffer(int inputResourceId, int timeOutMs) { in runCheckAudioBuffer() argument 252 condition.wait(timeOutMs); in runCheckAudioBuffer() 263 final int timeOutMs = 5000; in testFlush() local 264 boolean completed = runFlush(INPUT_RESOURCE_ID, timeOutMs); in testFlush() 270 private boolean runFlush(int inputResourceId, int timeOutMs) { in runFlush() argument 321 condition.wait(timeOutMs); in runFlush() 376 int timeOutMs) throws InterruptedException { in playAV() argument 377 playAV(inputResourceId, lastBufferTimestampMs, audio, video, timeOutMs, 1.0f); in playAV() [all …]
|
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/testcases/ |
D | Camera2MultiViewTestCase.java | 266 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()
|