/cts/tests/tests/tv/src/android/media/tv/cts/ |
D | TvInputServiceTest.java | 101 private static final long TIME_OUT = 5000L; field in TvInputServiceTest 402 PollingCheck.waitFor(TIME_OUT, () -> session.mReleaseCount > 0); in verifyCommandRelease() 413 PollingCheck.waitFor(TIME_OUT, () -> session.mStartRecordingCount > 0); in verifyCommandStartRecording() 425 PollingCheck.waitFor(TIME_OUT, () -> session.mStartRecordingWithBundleCount > 0); in verifyCommandStartRecordingWithBundle() 441 PollingCheck.waitFor(TIME_OUT, () -> session.mPauseRecordingWithBundleCount > 0); in verifyCommandPauseResumeRecordingWithBundle() 446 PollingCheck.waitFor(TIME_OUT, () -> session.mResumeRecordingWithBundleCount > 0); in verifyCommandPauseResumeRecordingWithBundle() 460 PollingCheck.waitFor(TIME_OUT, () -> session.mPauseRecordingWithBundleCount > 0); in verifyCommandPauseResumeRecording() 465 PollingCheck.waitFor(TIME_OUT, () -> session.mResumeRecordingWithBundleCount > 0); in verifyCommandPauseResumeRecording() 478 PollingCheck.waitFor(TIME_OUT, () -> session.mStopRecordingCount > 0); in verifyCommandStopRecording() 490 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/view/src/android/view/cts/ |
D | View_AnimationTest.java | 55 private static final int TIME_OUT = 5000; field in View_AnimationTest 92 TIME_OUT); in testAnimation() 108 TIME_OUT); in testStartAnimation() 125 SystemClock.sleep(TIME_OUT); in testClearBeforeAnimation() 138 PollingCheck.waitFor(TIME_OUT, mAnimation::hasStarted); in testClearDuringAnimation() 141 SystemClock.sleep(TIME_OUT); in testClearDuringAnimation()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | FilterTest.java | 50 private static final long TIME_OUT = 10000; field in FilterTest 100 PollingCheck.waitFor(TIME_OUT, mMockFilter::hadPerformedFiltering); in testFilter1() 103 PollingCheck.waitFor(TIME_OUT, mMockFilter::hadPublishedResults); in testFilter1() 119 PollingCheck.waitFor(TIME_OUT, mMockFilter::hadPerformedFiltering); in testFilter2() 122 PollingCheck.waitFor(TIME_OUT, mMockFilter::hadPublishedResults); in testFilter2() 126 verify(mockFilterListener, within(TIME_OUT)).onFilterComplete(anyInt()); in testFilter2()
|
D | VideoViewTest.java | 71 private static final long TIME_OUT = 15000L; field in VideoViewTest 161 verify(mockPreparedListener, within(TIME_OUT)).onPrepared(any(MediaPlayer.class)); in testPlayVideo() 167 verify(mockCompletionListener, within(TIME_OUT)).onCompletion(any(MediaPlayer.class)); in testPlayVideo() 209 verify(mockCompletionListener, within(TIME_OUT)).onCompletion(any(MediaPlayer.class)); in testAudioAttributes() 231 verify(mockErrorListener, within(TIME_OUT)).onError( in testSetOnErrorListener() 251 verify(mockPreparedListener, within(TIME_OUT)).onPrepared(any(MediaPlayer.class)); in testGetBufferPercentage()
|
D | ToastTest.java | 103 private static final long TIME_OUT = 5000L; field in ToastTest 153 PollingCheck.waitFor(TIME_OUT, () -> null != mActivityRule.getActivity()); in setup() 156 mActivityRule.getActivity().waitUntilResumed(TIME_OUT)); in setup() 183 PollingCheck.waitFor(TIME_OUT, () -> null != view.getParent()); in assertCustomToastShown() 187 PollingCheck.waitFor(TIME_OUT, customToastInfo::isShowing); in assertCustomToastShown() 191 PollingCheck.waitFor(TIME_OUT, () -> !customToastInfo.isShowing()); in assertCustomToastHidden() 196 PollingCheck.waitFor(TIME_OUT, () -> null == view.getParent()); in assertCustomToastShownAndHidden() 205 assertTrue(mToastShown.block(TIME_OUT)); in assertTextToastShownAndHidden() 206 assertTrue(mToastHidden.block(TIME_OUT)); in assertTextToastShownAndHidden() 210 assertTrue(textToastInfo.blockOnToastShown(TIME_OUT)); in assertTextToastShownAndHidden() [all …]
|
/cts/tests/tests/media/misc/src/android/media/misc/cts/ |
D | MediaScannerConnectionTest.java | 40 private static final int TIME_OUT = 10000; field in MediaScannerConnectionTest 98 new PollingCheck(TIME_OUT) { in checkMediaScannerConnection() argument 103 new PollingCheck(TIME_OUT) { in checkMediaScannerConnection() argument 111 new PollingCheck(TIME_OUT) { in checkConnectionState() argument
|
D | MediaScannerTest.java | 72 private static final int TIME_OUT = 10000; field in MediaScannerTest 680 new PollingCheck(TIME_OUT) { in checkMediaScannerConnection() argument 685 new PollingCheck(TIME_OUT) { in checkMediaScannerConnection() argument 693 new PollingCheck(TIME_OUT) { in checkConnectionState() argument
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | SmsManagerTest.java | 148 private static final int TIME_OUT = 1000 * 60 * 10; field in SmsManagerTest 309 mSmsRetrieverReceiver.waitForCalls(1, TIME_OUT)); in testSmsRetriever() 325 mSendReceiver.waitForCalls(1, TIME_OUT)); in sendAndReceiveSms() 328 mDeliveryReceiver.waitForCalls(1, TIME_OUT)); in sendAndReceiveSms() 331 assertTrue(mSmsReceivedReceiver.waitForCalls(1, TIME_OUT)); in sendAndReceiveSms() 337 assertTrue(mSmsDeliverReceiver.waitForCalls(1, TIME_OUT)); in sendAndReceiveSms() 350 mSendReceiver.waitForCalls(numPartsSent, TIME_OUT)); in sendAndReceiveMultipartSms() 353 + "Check signal.", mDeliveryReceiver.waitForCalls(numPartsSent, TIME_OUT)); in sendAndReceiveMultipartSms() 356 assertTrue(mSmsReceivedReceiver.waitForCalls(1, TIME_OUT)); in sendAndReceiveMultipartSms() 362 assertTrue(mSmsDeliverReceiver.waitForCalls(1, TIME_OUT)); in sendAndReceiveMultipartSms() [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 | 58 private static final long TIME_OUT = 3000; field in TextKeyListenerTest 192 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()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | current.txt | 29263 field @Deprecated public static final int TIME_OUT = -5; // 0xfffffffb
|