/cts/tests/tests/tv/src/android/media/tv/cts/ |
D | TvInputServiceTest.java | 61 private static final long TIME_OUT = 15000L; field in TvInputServiceTest 293 new PollingCheck(TIME_OUT) { in verifyCommandTuneForRecording() argument 308 new PollingCheck(TIME_OUT) { in verifyCommandTuneForRecordingWithBundle() argument 324 new PollingCheck(TIME_OUT) { in verifyCommandRelease() argument 338 new PollingCheck(TIME_OUT) { in verifyCommandStartRecording() argument 352 new PollingCheck(TIME_OUT) { in verifyCommandStopRecording() argument 366 new PollingCheck(TIME_OUT) { in verifyCommandSendAppPrivateCommandForRecording() argument 385 new PollingCheck(TIME_OUT) { in verifyCallbackTuned() argument 401 new PollingCheck(TIME_OUT) { in verifyCallbackError() argument 417 new PollingCheck(TIME_OUT) { in verifyCallbackRecordingStopped() argument [all …]
|
D | BundledTvInputServiceTest.java | 43 private static final long TIME_OUT = 15000L; field in BundledTvInputServiceTest 145 new PollingCheck(TIME_OUT) { in testTune() argument 180 new PollingCheck(TIME_OUT) { in testTuneStress() argument
|
D | HardwareSessionTest.java | 43 private static final long TIME_OUT = 15000L; field in HardwareSessionTest 92 new PollingCheck(TIME_OUT) { in verifyCommandTuneAndHardwareVideoAvailability() argument
|
/cts/tests/tests/view/src/android/view/cts/ |
D | View_AnimationTest.java | 50 private static final int TIME_OUT = 5000; field in View_AnimationTest 81 TIME_OUT); in testAnimation() 97 TIME_OUT); in testStartAnimation() 114 SystemClock.sleep(TIME_OUT); in testClearBeforeAnimation() 127 PollingCheck.waitFor(TIME_OUT, mAnimation::hasStarted); in testClearDuringAnimation() 130 SystemClock.sleep(TIME_OUT); in testClearDuringAnimation()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | FilterTest.java | 46 private static final long TIME_OUT = 10000; field in FilterTest 89 PollingCheck.waitFor(TIME_OUT, mMockFilter::hadPerformedFiltering); in testFilter1() 92 PollingCheck.waitFor(TIME_OUT, mMockFilter::hadPublishedResults); in testFilter1() 107 PollingCheck.waitFor(TIME_OUT, mMockFilter::hadPerformedFiltering); in testFilter2() 110 PollingCheck.waitFor(TIME_OUT, mMockFilter::hadPublishedResults); in testFilter2() 114 verify(mockFilterListener, within(TIME_OUT)).onFilterComplete(anyInt()); in testFilter2()
|
D | VideoView2Test.java | 70 private static final long TIME_OUT = 15000L; field in VideoView2Test 118 verify(mockAttachListener, timeout(TIME_OUT)).onViewAttachedToWindow(same(mVideoView)); in setup() 167 verify(mockControllerCallback, timeout(TIME_OUT).atLeast(3)).onPlaybackStateChanged( in testPlayVideo() 192 verify(mockViewTypeListener, timeout(TIME_OUT)) in testPlayVideoOnTextureView() 199 verify(mockControllerCallback, timeout(TIME_OUT).atLeast(3)).onPlaybackStateChanged( in testPlayVideoOnTextureView()
|
D | VideoViewTest.java | 70 private static final long TIME_OUT = 15000L; field in VideoViewTest 157 verify(mockPreparedListener, within(TIME_OUT)).onPrepared(any(MediaPlayer.class)); in testPlayVideo() 163 verify(mockCompletionListener, within(TIME_OUT)).onCompletion(any(MediaPlayer.class)); in testPlayVideo() 205 verify(mockCompletionListener, within(TIME_OUT)).onCompletion(any(MediaPlayer.class)); in testAudioAttributes() 228 verify(mockErrorListener, within(TIME_OUT)).onError( in testSetOnErrorListener() 249 verify(mockPreparedListener, within(TIME_OUT)).onPrepared(any(MediaPlayer.class)); in testGetBufferPercentage()
|
D | ToastTest.java | 54 private static final long TIME_OUT = 5000L; field in ToastTest 85 PollingCheck.waitFor(TIME_OUT, () -> null != view.getParent()); in assertShowToast() 90 PollingCheck.waitFor(TIME_OUT, () -> null == view.getParent()); in assertShowAndHide() 105 PollingCheck.waitFor(TIME_OUT, () -> mLayoutDone); in assertLayoutDone()
|
/cts/tests/tests/telephony/src/android/telephony/cts/ |
D | SmsManagerTest.java | 95 private static final int TIME_OUT = 1000 * 60 * 5; field in SmsManagerTest 180 mSendReceiver.waitForCalls(1, TIME_OUT)); in testSendAndReceiveMessages() 183 mDeliveryReceiver.waitForCalls(1, TIME_OUT)); in testSendAndReceiveMessages() 186 assertTrue(mSmsReceivedReceiver.waitForCalls(1, TIME_OUT)); in testSendAndReceiveMessages() 200 mSendReceiver.waitForCalls(1, TIME_OUT)); in testSendAndReceiveMessages() 203 "Check signal.", mDeliveryReceiver.waitForCalls(1, TIME_OUT)); in testSendAndReceiveMessages() 205 mDataSmsReceiver.waitForCalls(1, TIME_OUT); in testSendAndReceiveMessages() 217 mSendReceiver.waitForCalls(numPartsSent, TIME_OUT)); in testSendAndReceiveMessages() 220 "Check signal.", mDeliveryReceiver.waitForCalls(numPartsSent, TIME_OUT)); in testSendAndReceiveMessages() 223 assertTrue(mSmsReceivedReceiver.waitForCalls(1, TIME_OUT)); in testSendAndReceiveMessages() [all …]
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaScannerConnectionTest.java | 43 private static final int TIME_OUT = 10000; field in MediaScannerConnectionTest 104 new PollingCheck(TIME_OUT) { in checkMediaScannerConnection() argument 109 new PollingCheck(TIME_OUT) { in checkMediaScannerConnection() argument 117 new PollingCheck(TIME_OUT) { in checkConnectionState() argument
|
D | MediaScannerTest.java | 59 private static final int TIME_OUT = 10000; field in MediaScannerTest 665 new PollingCheck(TIME_OUT) { in checkMediaScannerConnection() argument 670 new PollingCheck(TIME_OUT) { in checkMediaScannerConnection() argument 678 new PollingCheck(TIME_OUT) { in checkConnectionState() argument
|
/cts/tests/tests/text/src/android/text/method/cts/ |
D | TextKeyListenerTest.java | 59 private static final long TIME_OUT = 3000; field in TextKeyListenerTest 193 Thread.sleep(TIME_OUT); in waitForListenerTimeout()
|
D | MultiTapKeyListenerTest.java | 55 private static final long TIME_OUT = 3000; field in MultiTapKeyListenerTest 228 Thread.sleep(TIME_OUT); in callOnKeyDown()
|