Home
last modified time | relevance | path

Searched refs:waitTimeMs (Results 1 – 4 of 4) sorted by relevance

/cts/tests/camera/src/android/hardware/camera2/cts/
DCamera2SurfaceViewCtsActivity.java69 int waitTimeMs = timeOutMs; in waitForSurfaceSizeChanged() local
71 while (!changeSucceeded && waitTimeMs > 0) { in waitForSurfaceSizeChanged()
73 changeSucceeded = surfaceChangedDone.block(waitTimeMs); in waitForSurfaceSizeChanged()
93 waitTimeMs -= (SystemClock.elapsedRealtime() - startTimeMs); in waitForSurfaceSizeChanged()
116 int waitTimeMs = timeOutMs; in waitForSurfaceState() local
118 while (!stateReached && waitTimeMs > 0) { in waitForSurfaceState()
120 stateReached = surfaceStateDone.block(waitTimeMs); in waitForSurfaceState()
133 waitTimeMs -= (SystemClock.elapsedRealtime() - startTimeMs); in waitForSurfaceState()
/cts/tests/tests/media/src/android/media/cts/
DMediaSession2Test.java646 public boolean awaitOnConnected(long waitTimeMs) { in awaitOnConnected() argument
648 return mOnConnectedLatch.await(waitTimeMs, TimeUnit.MILLISECONDS); in awaitOnConnected()
654 public boolean awaitOnDisconnected(long waitTimeMs) { in awaitOnDisconnected() argument
656 return mOnDisconnectedLatch.await(waitTimeMs, TimeUnit.MILLISECONDS); in awaitOnDisconnected()
662 public boolean awaitOnPlaybackActiveChanged(long waitTimeMs) { in awaitOnPlaybackActiveChanged() argument
664 return mOnPlaybackActiveChangedLatch.await(waitTimeMs, TimeUnit.MILLISECONDS); in awaitOnPlaybackActiveChanged()
760 public boolean awaitOnConnect(long waitTimeMs) { in awaitOnConnect() argument
762 return mOnConnectLatch.await(waitTimeMs, TimeUnit.MILLISECONDS); in awaitOnConnect()
768 public boolean awaitOnPostConnect(long waitTimeMs) { in awaitOnPostConnect() argument
770 return mOnPostConnectLatch.await(waitTimeMs, TimeUnit.MILLISECONDS); in awaitOnPostConnect()
[all …]
DMediaController2Test.java479 public boolean awaitOnConnected(long waitTimeMs) { in awaitOnConnected() argument
481 return mOnConnectedLatch.await(waitTimeMs, TimeUnit.MILLISECONDS); in awaitOnConnected()
487 public boolean awaitOnDisconnected(long waitTimeMs) { in awaitOnDisconnected() argument
489 return mOnDisconnectedLatch.await(waitTimeMs, TimeUnit.MILLISECONDS); in awaitOnDisconnected()
495 public boolean awaitOnSessionCommand(long waitTimeMs) { in awaitOnSessionCommand() argument
497 return mOnSessionCommandLatch.await(waitTimeMs, TimeUnit.MILLISECONDS); in awaitOnSessionCommand()
503 public boolean awaitOnCommandResult(long waitTimeMs) { in awaitOnCommandResult() argument
505 return mOnCommandResultLatch.await(waitTimeMs, TimeUnit.MILLISECONDS); in awaitOnCommandResult()
/cts/tests/tests/openglperf/src/android/openglperf/cts/
DGlAppSwitchTest.java108 private void runTaskSwitchTest(long waitTimeMs, int numberOfSwitches) in runTaskSwitchTest() argument
115 Thread.sleep(waitTimeMs); in runTaskSwitchTest()