Home
last modified time | relevance | path

Searched refs:WAIT_TIME_MS (Results 1 – 7 of 7) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DMediaSession2Test.java68 private static final long WAIT_TIME_MS = 300L; field in MediaSession2Test
245 assertTrue(callback.awaitOnConnected(WAIT_TIME_MS)); in testGetConnectedControllers_newController()
271 assertTrue(callback.awaitOnConnected(WAIT_TIME_MS)); in testGetConnectedControllers_closedController()
273 assertTrue(sessionCallback.awaitOnDisconnect(WAIT_TIME_MS)); in testGetConnectedControllers_closedController()
360 assertTrue(callback1.awaitOnConnected(WAIT_TIME_MS)); in testBroadcastSessionCommand()
361 assertTrue(callback2.awaitOnConnected(WAIT_TIME_MS)); in testBroadcastSessionCommand()
366 assertTrue(latch1.await(WAIT_TIME_MS, TimeUnit.MILLISECONDS)); in testBroadcastSessionCommand()
367 assertTrue(latch2.await(WAIT_TIME_MS, TimeUnit.MILLISECONDS)); in testBroadcastSessionCommand()
387 assertTrue(controllerCallback.awaitOnConnected(WAIT_TIME_MS)); in testCallback_onConnect_onDisconnect()
388 assertTrue(sessionCallback.awaitOnConnect(WAIT_TIME_MS)); in testCallback_onConnect_onDisconnect()
[all …]
DMediaController2Test.java62 private static final long WAIT_TIME_MS = 100L; field in MediaController2Test
223 assertTrue(latch.await(WAIT_TIME_MS, TimeUnit.MILLISECONDS)); in testBuilder_setConnectionHints_withFrameworkParcelable()
256 WAIT_TIME_MS, TimeUnit.MILLISECONDS)); in testCreatingControllerWithoutCallback()
269 assertTrue(controllerCallback.awaitOnConnected(WAIT_TIME_MS)); in testGetConnectedToken()
278 assertTrue(controllerCallback.awaitOnDisconnected(WAIT_TIME_MS)); in testGetConnectedToken()
290 assertTrue(controllerCallback.awaitOnConnected(WAIT_TIME_MS)); in testCallback_onConnected_onDisconnected()
294 assertTrue(controllerCallback.awaitOnDisconnected(WAIT_TIME_MS)); in testCallback_onConnected_onDisconnected()
305 assertTrue(controllerCallback.awaitOnConnected(WAIT_TIME_MS)); in testCallback_onSessionCommand()
320 assertTrue(controllerCallback.awaitOnSessionCommand(WAIT_TIME_MS)); in testCallback_onSessionCommand()
327 assertTrue(controllerCallback.awaitOnDisconnected(WAIT_TIME_MS)); in testCallback_onSessionCommand()
[all …]
DMediaActivityTest.java56 private static final int WAIT_TIME_MS = 500; field in MediaActivityTest
138 Thread.sleep(WAIT_TIME_MS); in testVolumeKey_whileSessionAlive()
159 Thread.sleep(WAIT_TIME_MS); in testVolumeKey_afterSessionReleased()
171 Thread.sleep(WAIT_TIME_MS); in testVolumeKey_afterSessionReleased()
DTestUtils.java39 private static final int WAIT_TIME_MS = 1000; field in TestUtils
DAudioTrackTest.java1561 final long WAIT_TIME_MS = 150; // compensate for cold start when run in isolation. in testPlayStaticDataShort() local
1566 WAIT_TIME_MS, TEST_LOOP_DURATION); in testPlayStaticDataShort()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DAlertWindowsImportanceTests.java71 private static final long WAIT_TIME_MS = 2 * 1000; field in AlertWindowsImportanceTests
101 mConnection.wait(WAIT_TIME_MS); in setUp()
161 mAddedLock.wait(WAIT_TIME_MS); in addAlertWindow()
169 mRemoveLock.wait(WAIT_TIME_MS); in removeAlertWindow()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DAudioRestrictionTest.java65 final int WAIT_TIME_MS = 1000; in testDisallowAdjustVolume_muted() local
82 Thread.sleep(WAIT_TIME_MS); in testDisallowAdjustVolume_muted()