Searched refs:WAIT_TIME_MS (Results 1 – 7 of 7) sorted by relevance
68 private static final long WAIT_TIME_MS = 300L; field in MediaSession2Test245 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 …]
62 private static final long WAIT_TIME_MS = 100L; field in MediaController2Test223 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 …]
56 private static final int WAIT_TIME_MS = 500; field in MediaActivityTest138 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()
39 private static final int WAIT_TIME_MS = 1000; field in TestUtils
1561 final long WAIT_TIME_MS = 150; // compensate for cold start when run in isolation. in testPlayStaticDataShort() local1566 WAIT_TIME_MS, TEST_LOOP_DURATION); in testPlayStaticDataShort()
71 private static final long WAIT_TIME_MS = 2 * 1000; field in AlertWindowsImportanceTests101 mConnection.wait(WAIT_TIME_MS); in setUp()161 mAddedLock.wait(WAIT_TIME_MS); in addAlertWindow()169 mRemoveLock.wait(WAIT_TIME_MS); in removeAlertWindow()
65 final int WAIT_TIME_MS = 1000; in testDisallowAdjustVolume_muted() local82 Thread.sleep(WAIT_TIME_MS); in testDisallowAdjustVolume_muted()