Home
last modified time | relevance | path

Searched refs:WAIT_TIME_MS (Results 1 – 10 of 10) 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.java66 private static final int WAIT_TIME_MS = 5000; field in MediaActivityTest
230 assertTrue(latch.await(WAIT_TIME_MS, TimeUnit.MILLISECONDS)); in testMediaKey_whileSessionAlive()
250 assertFalse(latch.await(WAIT_TIME_MS, TimeUnit.MILLISECONDS)); in testMediaKey_whileSessionReleased()
280 long pollingCount = WAIT_TIME_MS / TIME_SLICE; in pollingCheck()
DTestUtils.java41 private static final int WAIT_TIME_MS = 1000; field in TestUtils
DAudioTrackTest.java1569 final long WAIT_TIME_MS = 150; // compensate for cold start when run in isolation. in testPlayStaticDataShort() local
1576 WAIT_TIME_MS, TEST_LOOP_DURATION, TEST_ADDITIONAL_DRAIN_MS); in testPlayStaticDataShort()
1612 final long WAIT_TIME_MS = isLowLatencyDevice() ? WAIT_MSEC : 500; in testPlayStaticData() local
1619 TEST_LOOPS, TEST_FORMAT, frequency, TEST_SR, TEST_CONF, WAIT_TIME_MS, in testPlayStaticData()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/appstart/
DAppStartStatsTests.java38 public static final int WAIT_TIME_MS = 3_500; field in AppStartStatsTests
86 STATSD_CTS_FOREGROUND_ACTIVITY, "action", "action.sleep_top", WAIT_TIME_MS); in testAppStartOccurred() local
111 STATSD_CTS_FOREGROUND_ACTIVITY, "action", "action.sleep_top", WAIT_TIME_MS); in testHibernatingAppStartOccurred() local
130 STATSD_CTS_FOREGROUND_ACTIVITY, "action", "action.sleep_top", WAIT_TIME_MS); in testHibernatingAppStartOccurredTwice_isHibernatingShouldBeFalseSecondTime() local
132 STATSD_CTS_FOREGROUND_ACTIVITY, "action", "action.sleep_top", WAIT_TIME_MS); in testHibernatingAppStartOccurredTwice_isHibernatingShouldBeFalseSecondTime() local
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/tv/
DHdmiCecTvOneTouchPlayTest.java42 private static final int WAIT_TIME_MS = 300; field in HdmiCecTvOneTouchPlayTest
70 TimeUnit.MILLISECONDS.sleep(WAIT_TIME_MS); in cect_11_1_1_1_RespondToImageViewOn()
90 TimeUnit.MILLISECONDS.sleep(WAIT_TIME_MS); in cect_11_1_1_2_RespondToTextViewOn()
/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()
/cts/tests/tests/os/src/android/os/cts/
DAppHibernationIntegrationTest.kt65 const val WAIT_TIME_MS = 1000L constant
180 while (!toggleFound && scrollableObject.waitForExists(WAIT_TIME_MS)) { in testAppInfo_RemovePermissionsAndFreeUpSpaceToggleExists()