/cts/tests/tests/tv/src/android/media/tv/ad/cts/ |
D | TvAdServiceTest.java | 77 private static final long TIME_OUT_MS = 20000L; field in TvAdServiceTest 153 activityReferenceObtained.block(TIME_OUT_MS); in setUp() 181 PollingCheck.waitFor(TIME_OUT_MS, () -> mTvAdView.getAdSession() != null); in setUp() 223 new PollingCheck(TIME_OUT_MS) { in testGetOnUnhandledInputEventListener() argument 238 PollingCheck.waitFor(TIME_OUT_MS, () -> mSession.mCurrentTvInputIdCount > 0); in testSendCurrentTvInputId() 249 PollingCheck.waitFor(TIME_OUT_MS, () -> mSession.mCurrentVideoBoundsCount > 0); in testSendCurrentVideoBounds() 260 PollingCheck.waitFor(TIME_OUT_MS, () -> mSession.mCurrentChannelUriCount > 0); in testSendCurrentChannelUri() 272 PollingCheck.waitFor(TIME_OUT_MS, () -> mSession.mSigningResultCount > 0); in testSendSigningResult() 291 PollingCheck.waitFor(TIME_OUT_MS, () -> mSession.mTrackInfoListCount > 0); in testSendTrackInfoList() 329 PollingCheck.waitFor(TIME_OUT_MS, () -> mSession.mTvMessageCount > 0); in testNotifyTvMessage() [all …]
|
D | TvAdViewTest.java | 55 private static final long TIME_OUT_MS = 20000L; field in TvAdViewTest 86 activityReferenceObtained.block(TIME_OUT_MS); in setUp() 122 new PollingCheck(TIME_OUT_MS) { in testGetOnUnhandledInputEventListener() argument
|
D | TvAdManagerTest.java | 56 private static final long TIME_OUT_MS = 20000L; field in TvAdManagerTest 85 activityReferenceObtained.block(TIME_OUT_MS); in setUp()
|
/cts/tests/tests/tv/src/android/media/tv/interactive/cts/ |
D | TvInteractiveAppServiceTest.java | 107 private static final long TIME_OUT_MS = 20000L; field in TvInteractiveAppServiceTest 505 PollingCheck.waitFor(TIME_OUT_MS, () -> mTvView.getInputSession() != null); in linkTvView() 520 PollingCheck.waitFor(TIME_OUT_MS, () -> StubTvInputService2.sStubRecordingSession != null); in linkTvRecordingClient() 603 activityReferenceObtained.block(TIME_OUT_MS); in setUp() 631 PollingCheck.waitFor(TIME_OUT_MS, () -> mTvIAppView.getInteractiveAppSession() != null); in setUp() 667 PollingCheck.waitFor(TIME_OUT_MS, () -> mSession.mRecordingTunedCount > 0); in testNotifyRecordingTuned() 682 PollingCheck.waitFor(TIME_OUT_MS, () -> mSession.mRecordingConnectionFailedCount > 0); in testRecordingConnectionFailed() 692 PollingCheck.waitFor(TIME_OUT_MS, () -> mSession.mRecordingDisconnected > 0); in testRecordingDisconnected() 714 PollingCheck.waitFor(TIME_OUT_MS, () -> mCallback.mRequestCurrentChannelUriCount > 0); in testRequestCurrentChannelUri() 724 PollingCheck.waitFor(TIME_OUT_MS, () -> mCallback.mRequestCurrentVideoBoundsCount > 0); in testRequestCurrentVideoBounds() [all …]
|
D | TvInteractiveAppViewTest.java | 52 private static final long TIME_OUT_MS = 20000L; field in TvInteractiveAppViewTest 121 activityReferenceObtained.block(TIME_OUT_MS); in setUp() 171 new PollingCheck(TIME_OUT_MS) { in testStartInteractiveApp() argument 178 new PollingCheck(TIME_OUT_MS) { in testStartInteractiveApp() argument 199 new PollingCheck(TIME_OUT_MS) { in testGetOnUnhandledInputEventListener() argument
|
D | TvInteractiveAppManagerTest.java | 58 private static final long TIME_OUT_MS = 20000L; field in TvInteractiveAppManagerTest 149 activityReferenceObtained.block(TIME_OUT_MS); in setUp() 237 TIME_OUT_MS, () -> StubTvInteractiveAppService.sAppLinkCommand != null); in testAppLinkCommand() 259 TIME_OUT_MS, () -> StubTvInteractiveAppService.sAppLinkInfo != null); in testAppLinkInfo() 269 TIME_OUT_MS, () -> StubTvInteractiveAppService.sAppLinkInfo == null); in testAppLinkInfo() 275 TIME_OUT_MS, () -> StubTvInteractiveAppService.sAppLinkInfo != null); in testAppLinkInfo()
|
/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/cts/ |
D | MediaControllerTest.java | 64 private static final long TIME_OUT_MS = 3000L; field in MediaControllerTest 196 mWaitLock.wait(TIME_OUT_MS); in testSendCommand() 224 mWaitLock.wait(TIME_OUT_MS); in testSetPlaybackSpeed() 269 mWaitLock.wait(TIME_OUT_MS); in testVolumeControl() 274 mWaitLock.wait(TIME_OUT_MS); in testVolumeControl() 278 mWaitLock.wait(TIME_OUT_MS); in testVolumeControl() 291 mWaitLock.wait(TIME_OUT_MS); in testTransportControlsAndMediaSessionCallback() 297 mWaitLock.wait(TIME_OUT_MS); in testTransportControlsAndMediaSessionCallback() 303 mWaitLock.wait(TIME_OUT_MS); in testTransportControlsAndMediaSessionCallback() 309 mWaitLock.wait(TIME_OUT_MS); in testTransportControlsAndMediaSessionCallback() [all …]
|
D | MediaBrowserServiceTest.java | 89 private static final long TIME_OUT_MS = 3000L; field in MediaBrowserServiceTest 166 assertThat(onConnectedLatch.await(TIME_OUT_MS, TimeUnit.MILLISECONDS)).isTrue(); in setUp() 191 assertThat(mOnChildrenLoadedLatch.await(TIME_OUT_MS)).isTrue(); in testNotifyChildrenChanged() 195 assertThat(mOnChildrenLoadedLatch.await(TIME_OUT_MS)).isTrue(); in testNotifyChildrenChanged() 217 assertThat(mOnChildrenLoadedWithOptionsLatch.await(TIME_OUT_MS)).isTrue(); in testNotifyChildrenChangedWithPagination() 221 assertThat(mOnChildrenLoadedWithOptionsLatch.await(TIME_OUT_MS)).isTrue(); in testNotifyChildrenChangedWithPagination() 232 assertThat(mOnChildrenLoadedWithOptionsLatch.await(TIME_OUT_MS)).isTrue(); in testNotifyChildrenChangedWithPagination() 253 assertThat(mOnChildrenLoadedLatch.await(TIME_OUT_MS)).isTrue(); in testDelayedNotifyChildrenChanged() 261 assertThat(mOnChildrenLoadedLatch.await(TIME_OUT_MS)).isTrue(); in testDelayedNotifyChildrenChanged() 273 assertThat(mOnItemLoadedLatch.await(TIME_OUT_MS)).isTrue(); in testDelayedItem() [all …]
|
D | MediaBrowserTest.java | 58 private static final long TIME_OUT_MS = 3000L; field in MediaBrowserTest 129 runOnMainThread(() -> new PollingCheck(TIME_OUT_MS) { in testMediaBrowser() 176 new PollingCheck(TIME_OUT_MS) { in testConnectionFailed() argument 202 new PollingCheck(TIME_OUT_MS) { in testReconnection() argument 213 new PollingCheck(TIME_OUT_MS) { in testReconnection() argument 229 new PollingCheck(TIME_OUT_MS) { in testReconnection() argument 266 new PollingCheck(TIME_OUT_MS) { in testSubscribe() argument 341 new PollingCheck(TIME_OUT_MS) { in testSubscribeWithOptions() argument 394 new PollingCheck(TIME_OUT_MS) { in testSubscribeInvalidItem() argument 418 new PollingCheck(TIME_OUT_MS) { in testSubscribeInvalidItemWithOptions() argument [all …]
|
D | MediaSessionTest.java | 90 private static final long TIME_OUT_MS = 3000L; field in MediaSessionTest 252 mWaitLock.wait(TIME_OUT_MS); in testConfigureSession() 274 mWaitLock.wait(TIME_OUT_MS); in testConfigureSession() 291 mWaitLock.wait(TIME_OUT_MS); in testConfigureSession() 311 mWaitLock.wait(TIME_OUT_MS); in testConfigureSession() 317 mWaitLock.wait(TIME_OUT_MS); in testConfigureSession() 333 mWaitLock.wait(TIME_OUT_MS); in testConfigureSession() 339 mWaitLock.wait(TIME_OUT_MS); in testConfigureSession() 363 mWaitLock.wait(TIME_OUT_MS); in testConfigureSession() 374 mWaitLock.wait(TIME_OUT_MS); in testConfigureSession() [all …]
|
/cts/tests/tests/view/src/android/view/cts/ |
D | SDRTestActivity.java | 34 private static final long TIME_OUT_MS = 1000; field in SDRTestActivity 81 if (!mEnterAnimationFence.await(TIME_OUT_MS, TimeUnit.MILLISECONDS)) { in waitForEnterAnimationComplete() 124 mLock.wait(TIME_OUT_MS); in waitForSurface()
|
D | TextureViewCtsActivity.java | 52 private final static long TIME_OUT_MS = 10000; field in TextureViewCtsActivity 124 if (!mEnterAnimationFence.await(TIME_OUT_MS, TimeUnit.MILLISECONDS)) { in waitForEnterAnimationComplete() 135 if (!fence.await(TIME_OUT_MS, TimeUnit.MILLISECONDS)) { in setWideColorGamut() 152 if (!fence.await(TIME_OUT_MS, TimeUnit.MILLISECONDS)) { in getContents() 187 if (!fence.await(TIME_OUT_MS, TimeUnit.MILLISECONDS)) { in runOnGLThread() 202 mLock.wait(TIME_OUT_MS); in waitForSurface() 279 mLock.wait(TIME_OUT_MS); in waitForSurfaceUpdateCount()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/ |
D | DrawActivity.kt | 54 private const val TIME_OUT_MS: Long = 10000 in hashCode() constant 124 mLock.wait(TIME_OUT_MS) in hashCode() 140 mLock.wait(TIME_OUT_MS) in hashCode() 168 assertTrue(fence.await(TIME_OUT_MS, TimeUnit.MILLISECONDS)) in hashCode()
|
/cts/tests/tests/uirendering27/src/android/uirendering/cts/testinfrastructure/ |
D | DrawActivity.kt | 53 private const val TIME_OUT_MS: Long = 10000 in hashCode() constant 120 mLock.wait(TIME_OUT_MS) in hashCode() 136 mLock.wait(TIME_OUT_MS) in hashCode() 168 assertTrue(fence.await(TIME_OUT_MS, TimeUnit.MILLISECONDS)) in hashCode()
|
/cts/tests/tests/tv/src/android/media/tv/cts/ |
D | TvViewTest.java | 55 private static final long TIME_OUT_MS = 15000L; field in TvViewTest 259 new PollingCheck(TIME_OUT_MS) { in tryTuneAllChannels() argument 299 new PollingCheck(TIME_OUT_MS) { in selectTrackAndVerify() argument 376 new PollingCheck(TIME_OUT_MS) { in testTrackChange() 398 new PollingCheck(TIME_OUT_MS) { in verifyKeyEvent() argument 435 new PollingCheck(TIME_OUT_MS) { in testOnUnhandledInputEventListener() argument 465 new PollingCheck(TIME_OUT_MS) { in testConnectionFailed() argument 481 new PollingCheck(TIME_OUT_MS) { in ignoredTestDisconnected() argument 530 new PollingCheck(TIME_OUT_MS) { in testGetAudioPresentations() argument
|
D | TvInputManagerTest.java | 78 private static final long TIME_OUT_MS = 15000L; field in TvInputManagerTest 196 new PollingCheck(TIME_OUT_MS) { in cleanupStubHardwareTvInputService() argument 284 new PollingCheck(TIME_OUT_MS) { in tryTuneAllChannels() argument 290 new PollingCheck(TIME_OUT_MS) { in tryTuneAllChannels() argument 437 new PollingCheck(TIME_OUT_MS) { in testInputAddedAndRemoved() argument 450 new PollingCheck(TIME_OUT_MS) { in testInputAddedAndRemoved() argument 486 new PollingCheck(TIME_OUT_MS) { in testTvInputInfoUpdated() argument 496 new PollingCheck(TIME_OUT_MS) { in testTvInputInfoUpdated() argument 685 PollingCheck.waitFor(TIME_OUT_MS, () -> !configList.isEmpty()); in testTvInputHardwareSetSurface() 793 PollingCheck.waitFor(TIME_OUT_MS, () -> sessionCallback.getSession() != null); in testGetClientPriority() [all …]
|