/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/cts/ |
D | MediaSession2Test.java | 65 private static final long WAIT_TIME_MS = 300L; field in MediaSession2Test 232 assertThat(callback.awaitOnConnected(WAIT_TIME_MS)).isTrue(); in testGetConnectedControllers_newController() 258 assertThat(callback.awaitOnConnected(WAIT_TIME_MS)).isTrue(); in testGetConnectedControllers_closedController() 260 assertThat(sessionCallback.awaitOnDisconnect(WAIT_TIME_MS)).isTrue(); in testGetConnectedControllers_closedController() 345 assertThat(callback1.awaitOnConnected(WAIT_TIME_MS)).isTrue(); in testBroadcastSessionCommand() 346 assertThat(callback2.awaitOnConnected(WAIT_TIME_MS)).isTrue(); in testBroadcastSessionCommand() 351 assertThat(latch1.await(WAIT_TIME_MS, TimeUnit.MILLISECONDS)).isTrue(); in testBroadcastSessionCommand() 352 assertThat(latch2.await(WAIT_TIME_MS, TimeUnit.MILLISECONDS)).isTrue(); in testBroadcastSessionCommand() 372 assertThat(controllerCallback.awaitOnConnected(WAIT_TIME_MS)).isTrue(); in testCallback_onConnect_onDisconnect() 373 assertThat(sessionCallback.awaitOnConnect(WAIT_TIME_MS)).isTrue(); in testCallback_onConnect_onDisconnect() [all …]
|
D | MediaController2Test.java | 61 private static final long WAIT_TIME_MS = 100L; field in MediaController2Test 212 assertThat(latch.await(WAIT_TIME_MS, TimeUnit.MILLISECONDS)).isTrue(); in testBuilder_setConnectionHints_withFrameworkParcelable() 243 WAIT_TIME_MS, TimeUnit.MILLISECONDS)).isTrue(); in testCreatingControllerWithoutCallback() 256 assertThat(controllerCallback.awaitOnConnected(WAIT_TIME_MS)).isTrue(); in testGetConnectedToken() 266 assertThat(controllerCallback.awaitOnDisconnected(WAIT_TIME_MS)).isTrue(); in testGetConnectedToken() 278 assertThat(controllerCallback.awaitOnConnected(WAIT_TIME_MS)).isTrue(); in testCallback_onConnected_onDisconnected() 283 assertThat(controllerCallback.awaitOnDisconnected(WAIT_TIME_MS)).isTrue(); in testCallback_onConnected_onDisconnected() 294 assertThat(controllerCallback.awaitOnConnected(WAIT_TIME_MS)).isTrue(); in testCallback_onSessionCommand() 309 assertThat(controllerCallback.awaitOnSessionCommand(WAIT_TIME_MS)).isTrue(); in testCallback_onSessionCommand() 319 assertThat(controllerCallback.awaitOnDisconnected(WAIT_TIME_MS)).isTrue(); in testCallback_onSessionCommand() [all …]
|
D | MediaActivityTest.java | 72 private static final int WAIT_TIME_MS = 5000; field in MediaActivityTest 269 assertThat(latch.await(WAIT_TIME_MS, TimeUnit.MILLISECONDS)).isTrue(); in testMediaKey_whileSessionAlive() 290 assertThat(latch.await(WAIT_TIME_MS, TimeUnit.MILLISECONDS)).isFalse(); in testMediaKey_whileSessionReleased() 320 long pollingCount = WAIT_TIME_MS / TIME_SLICE; in pollingCheck()
|
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/tv/ |
D | HdmiCecRemoteControlPassThroughTest.java | 49 private static final int WAIT_TIME_MS = 1000; field in HdmiCecRemoteControlPassThroughTest 89 TimeUnit.MILLISECONDS.sleep(WAIT_TIME_MS); in checkForInitialActiveSourceMessage() 107 TimeUnit.MILLISECONDS.sleep(WAIT_TIME_MS); in cect_11_1_13_1_RemoteControlMessagesToRecorder() 121 TimeUnit.MILLISECONDS.sleep(WAIT_TIME_MS); in cect_11_1_13_2_RemoteControlMessagesToPlayback() 135 TimeUnit.MILLISECONDS.sleep(WAIT_TIME_MS); in cect_11_1_13_3_RemoteControlMessagesToTuner() 149 TimeUnit.MILLISECONDS.sleep(WAIT_TIME_MS); in cect_11_1_13_4_RemoteControlMessagesToAudioSystem()
|
D | HdmiCecTvOneTouchPlayTest.java | 43 private static final int WAIT_TIME_MS = 1000; field in HdmiCecTvOneTouchPlayTest 77 TimeUnit.MILLISECONDS.sleep(WAIT_TIME_MS); in cect_11_1_1_1_RespondToImageViewOn() 97 TimeUnit.MILLISECONDS.sleep(WAIT_TIME_MS); in cect_11_1_1_2_RespondToTextViewOn() 132 TimeUnit.MILLISECONDS.sleep(WAIT_TIME_MS); in cect_11_1_1_5_DutBroadcastsActiveSourceWhenChangingToInternal()
|
D | HdmiCecRoutingControlTest.java | 44 private static final int WAIT_TIME_MS = 1000; field in HdmiCecRoutingControlTest 80 TimeUnit.MILLISECONDS.sleep(WAIT_TIME_MS); in checkForInitialActiveSourceMessage()
|
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/ |
D | SetTouchableRegionTest.java | 52 private static final long WAIT_TIME_MS = 5000L * BuildUtils.HW_TIMEOUT_MULTIPLIER; field in SetTouchableRegionTest 83 wait(WAIT_TIME_MS); in waitForEvent() 139 waitForContent.await(WAIT_TIME_MS, TimeUnit.MILLISECONDS)); in testClickthroughRegion() 164 waitForPopupView.await(WAIT_TIME_MS, TimeUnit.MILLISECONDS)); in testClickthroughRegion() 188 updateTouchableRegionsLatch.await(WAIT_TIME_MS, TimeUnit.MILLISECONDS)); in testClickthroughRegion()
|
D | TrustedPresentationCallbackTest.java | 68 private static final long WAIT_TIME_MS = HW_TIMEOUT_MULTIPLIER * 2000L; field in TrustedPresentationCallbackTest 168 countDownLatch.await(WAIT_TIME_MS, TimeUnit.MILLISECONDS); in testTrustedPresentationListener_parentVisibilityChanges() 312 mResultsLock.wait(WAIT_TIME_MS); in testTrustedPresentationListener_clearCallback() 346 assertFalse(latch1.await(WAIT_TIME_MS, TimeUnit.MILLISECONDS)); in testTrustedPresentationListener_multipleSetCallbacks() 347 assertTrue(latch2.await(WAIT_TIME_MS, TimeUnit.MILLISECONDS)); in testTrustedPresentationListener_multipleSetCallbacks() 424 mResultsLock.wait(WAIT_TIME_MS); in assertResults()
|
D | TrustedPresentationListenerTest.java | 68 private static final long WAIT_TIME_MS = HW_TIMEOUT_MULTIPLIER * 4000L; field in TrustedPresentationListenerTest 149 assertFalse("Should never have received a callback", wait(mReceivedResults, WAIT_TIME_MS)); in testRemoveTrustedPresentationListenerOnWindow() 175 assertFalse("Should never have received a callback", wait(mReceivedResults, WAIT_TIME_MS)); in testAddDuplicateListenerUpdatesThresholds() 290 if (!wait(mReceivedResults, WAIT_TIME_MS)) { in assertResults()
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/appstart/ |
D | AppStartStatsTests.java | 41 public static final int WAIT_TIME_MS = 3_500; field in AppStartStatsTests 93 RunUtil.getDefault().sleep(WAIT_TIME_MS); in testAppStartOccurredWarm() 131 STATSD_CTS_FOREGROUND_ACTIVITY, "action", "action.sleep_top", WAIT_TIME_MS); in runTestAppStartOccurredCommon() local 169 STATSD_CTS_FOREGROUND_ACTIVITY, "action", "action.sleep_top", WAIT_TIME_MS); in testHibernatingAppStartOccurred() local 188 STATSD_CTS_FOREGROUND_ACTIVITY, "action", "action.sleep_top", WAIT_TIME_MS); in testHibernatingAppStartOccurredTwice_isHibernatingShouldBeFalseSecondTime() local 190 STATSD_CTS_FOREGROUND_ACTIVITY, "action", "action.sleep_top", WAIT_TIME_MS); in testHibernatingAppStartOccurredTwice_isHibernatingShouldBeFalseSecondTime() local
|
/cts/tests/tests/car/src/android/car/cts/ |
D | CarRemoteDeviceManagerTest.java | 60 private static final int WAIT_TIME_MS = 2000; field in CarRemoteDeviceManagerTest 114 PollingCheck.waitFor(WAIT_TIME_MS, () -> zoneStateChangedZones.equals(allPeerZones)); in testStateCallback() 116 PollingCheck.waitFor(WAIT_TIME_MS, () -> appStateChangedZones.equals(activePeerZones)); in testStateCallback() 158 PollingCheck.waitFor(WAIT_TIME_MS, in testSetOccupantZonePower() 162 PollingCheck.waitFor(WAIT_TIME_MS, in testSetOccupantZonePower()
|
D | CarServiceHelperServiceUpdatableTest.java | 63 private static final int WAIT_TIME_MS = 1_000; field in CarServiceHelperServiceUpdatableTest 269 Thread.sleep(WAIT_TIME_MS); in assertEventReceived() 285 Thread.sleep(WAIT_TIME_MS); in assertEventNotReceived()
|
/cts/hostsidetests/appcompat/compatchanges/src/com/android/cts/appcompat/ |
D | AppCompatOverridesServiceTest.java | 57 public static final int WAIT_TIME_MS = 1_000; field in AppCompatOverridesServiceTest 95 RunUtil.getDefault().sleep(WAIT_TIME_MS); in testPackageOverrideFlagPackageInstalledAfterFlagAdded() 107 RunUtil.getDefault().sleep(WAIT_TIME_MS); in testPackageOverrideFlagPackageInstalledAfterFlagAdded() 252 RunUtil.getDefault().sleep(WAIT_TIME_MS); in testPackageOverrideFlagChangedToEmptyThenPackageUninstalled() 275 RunUtil.getDefault().sleep(WAIT_TIME_MS); in testPackageOverrideFlagPackageUninstalledAndThenFlagChangedToEmpty() 321 Thread.sleep(WAIT_TIME_MS); in getChange()
|
D | CompatChangesPreInstallOverrideTest.java | 34 private static final int WAIT_TIME_MS = 1_000; field in CompatChangesPreInstallOverrideTest 137 Thread.sleep(WAIT_TIME_MS); in getCtsChange()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/window/ |
D | AlertWindowsImportanceTests.java | 71 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/tests/tests/telephony/current/src/android/telephony/cts/ |
D | TelephonyManagerTestOnMockModem.java | 104 private static final long WAIT_TIME_MS = 20000; field in TelephonyManagerTestOnMockModem 454 WAIT_TIME_MS); in testServiceStateChange() 476 WAIT_TIME_MS); in testServiceStateChange() 548 WAIT_TIME_MS); in testRegistrationFailed() 561 mServiceStateChangeLock.wait(WAIT_TIME_MS); in testRegistrationFailed() 653 WAIT_TIME_MS); in testVoiceCallState() 698 mCallStateChangeLock.wait(WAIT_TIME_MS); in testVoiceCallState() 715 mCallStateChangeLock.wait(WAIT_TIME_MS); in testVoiceCallState() 748 mCallStateChangeLock.wait(WAIT_TIME_MS); in testVoiceCallState() 760 mCallStateChangeLock.wait(WAIT_TIME_MS); in testVoiceCallState() [all …]
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | AudioRestrictionTest.java | 67 final int WAIT_TIME_MS = 1000; in testDisallowAdjustVolume_muted() local 84 Thread.sleep(WAIT_TIME_MS); in testDisallowAdjustVolume_muted()
|
/cts/tests/tests/hibernation/src/android/hibernation/cts/ |
D | AppHibernationIntegrationTest.kt | 87 const val WAIT_TIME_MS = 1000L in <lambda>() constant 366 var scrollableExists = scrollableObject.waitForExists(WAIT_TIME_MS) in <lambda>() 374 scrollableExists = scrollableObject.waitForExists(WAIT_TIME_MS) in <lambda>()
|
/cts/tests/tests/media/common/src/android/media/cts/ |
D | TestUtils.java | 44 private static final int WAIT_TIME_MS = 1000; field in TestUtils
|
/cts/tests/tests/media/audio/src/android/media/audio/cts/ |
D | AudioTrackTest.java | 1594 final long WAIT_TIME_MS = 150; // compensate for cold start when run in isolation. in testPlayStaticDataShort() local 1601 WAIT_TIME_MS, TEST_LOOP_DURATION, TEST_ADDITIONAL_DRAIN_MS); in testPlayStaticDataShort() 1645 final long WAIT_TIME_MS = isLowLatencyDevice() ? WAIT_MSEC : 500; in doTestPlayStaticData() local 1652 testChannelConfiguration, WAIT_TIME_MS, in doTestPlayStaticData()
|