/cts/tests/tests/view/src/android/view/cts/ |
D | View_AnimationTest.java | 51 private static final int TIME_OUT = 5000; field in View_AnimationTest 82 TIME_OUT); in testAnimation() 98 TIME_OUT); in testStartAnimation() 115 SystemClock.sleep(TIME_OUT); in testClearBeforeAnimation() 128 PollingCheck.waitFor(TIME_OUT, mAnimation::hasStarted); in testClearDuringAnimation() 131 SystemClock.sleep(TIME_OUT); in testClearDuringAnimation()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | FilterTest.java | 48 private static final long TIME_OUT = 10000; field in FilterTest 92 PollingCheck.waitFor(TIME_OUT, mMockFilter::hadPerformedFiltering); in testFilter1() 95 PollingCheck.waitFor(TIME_OUT, mMockFilter::hadPublishedResults); in testFilter1() 111 PollingCheck.waitFor(TIME_OUT, mMockFilter::hadPerformedFiltering); in testFilter2() 114 PollingCheck.waitFor(TIME_OUT, mMockFilter::hadPublishedResults); in testFilter2() 118 verify(mockFilterListener, within(TIME_OUT)).onFilterComplete(anyInt()); in testFilter2()
|
D | VideoViewTest.java | 69 private static final long TIME_OUT = 15000L; field in VideoViewTest 153 verify(mockPreparedListener, within(TIME_OUT)).onPrepared(any(MediaPlayer.class)); in testPlayVideo() 159 verify(mockCompletionListener, within(TIME_OUT)).onCompletion(any(MediaPlayer.class)); in testPlayVideo() 201 verify(mockCompletionListener, within(TIME_OUT)).onCompletion(any(MediaPlayer.class)); in testAudioAttributes() 223 verify(mockErrorListener, within(TIME_OUT)).onError( in testSetOnErrorListener() 243 verify(mockPreparedListener, within(TIME_OUT)).onPrepared(any(MediaPlayer.class)); in testGetBufferPercentage()
|
D | ToastTest.java | 94 private static final long TIME_OUT = 5000L; field in ToastTest 156 PollingCheck.waitFor(TIME_OUT, () -> null != view.getParent()); in assertCustomToastShown() 160 PollingCheck.waitFor(TIME_OUT, customToastInfo::isShowing); in assertCustomToastShown() 164 PollingCheck.waitFor(TIME_OUT, () -> !customToastInfo.isShowing()); in assertCustomToastHidden() 169 PollingCheck.waitFor(TIME_OUT, () -> null == view.getParent()); in assertCustomToastShownAndHidden() 178 assertTrue(mToastShown.block(TIME_OUT)); in assertTextToastShownAndHidden() 179 assertTrue(mToastHidden.block(TIME_OUT)); in assertTextToastShownAndHidden() 183 assertTrue(textToastInfo.blockOnToastShown(TIME_OUT)); in assertTextToastShownAndHidden() 184 assertTrue(textToastInfo.blockOnToastHidden(TIME_OUT)); in assertTextToastShownAndHidden() 211 PollingCheck.waitFor(TIME_OUT, () -> mLayoutDone); in assertLayoutDone() [all …]
|
/cts/tests/tests/tv/src/android/media/tv/cts/ |
D | TvInputServiceTest.java | 94 private static final long TIME_OUT = 5000L; field in TvInputServiceTest 293 PollingCheck.waitFor(TIME_OUT, () -> session.mReleaseCount > 0); in verifyCommandRelease() 304 PollingCheck.waitFor(TIME_OUT, () -> session.mStartRecordingCount > 0); in verifyCommandStartRecording() 316 PollingCheck.waitFor(TIME_OUT, () -> session.mStartRecordingWithBundleCount > 0); in verifyCommandStartRecordingWithBundle() 332 PollingCheck.waitFor(TIME_OUT, () -> session.mPauseRecordingWithBundleCount > 0); in verifyCommandPauseResumeRecordingWithBundle() 337 PollingCheck.waitFor(TIME_OUT, () -> session.mResumeRecordingWithBundleCount > 0); in verifyCommandPauseResumeRecordingWithBundle() 351 PollingCheck.waitFor(TIME_OUT, () -> session.mPauseRecordingWithBundleCount > 0); in verifyCommandPauseResumeRecording() 356 PollingCheck.waitFor(TIME_OUT, () -> session.mResumeRecordingWithBundleCount > 0); in verifyCommandPauseResumeRecording() 369 PollingCheck.waitFor(TIME_OUT, () -> session.mStopRecordingCount > 0); in verifyCommandStopRecording() 381 PollingCheck.waitFor(TIME_OUT, () -> session.mAppPrivateCommandCount > 0); in verifyCommandSendAppPrivateCommandForRecording() [all …]
|
D | BundledTvInputServiceTest.java | 45 private static final long TIME_OUT = 15000L; field in BundledTvInputServiceTest 147 new PollingCheck(TIME_OUT) { in testTune() argument 182 new PollingCheck(TIME_OUT) { in testTuneStress() argument
|
D | HardwareSessionTest.java | 45 private static final long TIME_OUT = 15000L; field in HardwareSessionTest 94 new PollingCheck(TIME_OUT) { in verifyCommandTuneAndHardwareVideoAvailability() argument
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaScannerConnectionTest.java | 39 private static final int TIME_OUT = 10000; field in MediaScannerConnectionTest 97 new PollingCheck(TIME_OUT) { in checkMediaScannerConnection() argument 102 new PollingCheck(TIME_OUT) { in checkMediaScannerConnection() argument 110 new PollingCheck(TIME_OUT) { in checkConnectionState() argument
|
D | MediaScannerTest.java | 68 private static final int TIME_OUT = 10000; field in MediaScannerTest 669 new PollingCheck(TIME_OUT) { in checkMediaScannerConnection() argument 674 new PollingCheck(TIME_OUT) { in checkMediaScannerConnection() argument 682 new PollingCheck(TIME_OUT) { in checkConnectionState() argument
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | SmsManagerTest.java | 137 private static final int TIME_OUT = 1000 * 60 * 10; field in SmsManagerTest 285 mSmsRetrieverReceiver.waitForCalls(1, TIME_OUT)); in testSmsRetriever() 301 mSendReceiver.waitForCalls(1, TIME_OUT)); in sendAndReceiveSms() 304 mDeliveryReceiver.waitForCalls(1, TIME_OUT)); in sendAndReceiveSms() 307 assertTrue(mSmsReceivedReceiver.waitForCalls(1, TIME_OUT)); in sendAndReceiveSms() 318 mSendReceiver.waitForCalls(numPartsSent, TIME_OUT)); in sendAndReceiveMultipartSms() 321 + "Check signal.", mDeliveryReceiver.waitForCalls(numPartsSent, TIME_OUT)); in sendAndReceiveMultipartSms() 324 assertTrue(mSmsReceivedReceiver.waitForCalls(1, TIME_OUT)); in sendAndReceiveMultipartSms() 337 mSendReceiver.waitForCalls(1, TIME_OUT)); in sendDataSms() 340 "Check signal.", mDeliveryReceiver.waitForCalls(1, TIME_OUT)); in sendDataSms() [all …]
|
/cts/tests/tests/widget29/src/android/widget/cts29/ |
D | ToastTest.java | 74 private static final long TIME_OUT = 5000L; field in ToastTest 117 PollingCheck.waitFor(TIME_OUT, () -> null != view.getParent()); in assertShowToast() 122 PollingCheck.waitFor(TIME_OUT, () -> null == view.getParent()); in assertShowAndHide() 137 PollingCheck.waitFor(TIME_OUT, () -> mLayoutDone); in assertLayoutDone()
|
/cts/tests/tests/text/src/android/text/method/cts/ |
D | TextKeyListenerTest.java | 60 private static final long TIME_OUT = 3000; field in TextKeyListenerTest 194 Thread.sleep(TIME_OUT); in waitForListenerTimeout()
|
D | MultiTapKeyListenerTest.java | 56 private static final long TIME_OUT = 3000; field in MultiTapKeyListenerTest 229 Thread.sleep(TIME_OUT); in callOnKeyDown()
|