Home
last modified time | relevance | path

Searched refs:TIME_OUT (Results 1 – 12 of 12) sorted by relevance

/cts/tests/tests/tv/src/android/media/tv/cts/
DTvInputServiceTest.java61 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 …]
DBundledTvInputServiceTest.java43 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
DHardwareSessionTest.java43 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/
DView_AnimationTest.java51 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/
DFilterTest.java48 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()
DVideoViewTest.java69 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()
DToastTest.java70 private static final long TIME_OUT = 5000L; field in ToastTest
99 PollingCheck.waitFor(TIME_OUT, () -> null != view.getParent()); in assertShowToast()
104 PollingCheck.waitFor(TIME_OUT, () -> null == view.getParent()); in assertShowAndHide()
119 PollingCheck.waitFor(TIME_OUT, () -> mLayoutDone); in assertLayoutDone()
/cts/tests/tests/media/src/android/media/cts/
DMediaScannerConnectionTest.java39 private static final int TIME_OUT = 10000; field in MediaScannerConnectionTest
100 new PollingCheck(TIME_OUT) { in checkMediaScannerConnection() argument
105 new PollingCheck(TIME_OUT) { in checkMediaScannerConnection() argument
113 new PollingCheck(TIME_OUT) { in checkConnectionState() argument
DMediaScannerTest.java62 private static final int TIME_OUT = 10000; field in MediaScannerTest
632 new PollingCheck(TIME_OUT) { in checkMediaScannerConnection() argument
637 new PollingCheck(TIME_OUT) { in checkMediaScannerConnection() argument
645 new PollingCheck(TIME_OUT) { in checkConnectionState() argument
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DSmsManagerTest.java136 private static final int TIME_OUT = 1000 * 60 * 4; field in SmsManagerTest
244 mSmsRetrieverReceiver.waitForCalls(1, TIME_OUT)); in testSmsRetriever()
263 mSendReceiver.waitForCalls(1, TIME_OUT)); in testSendAndReceiveMessages()
266 mDeliveryReceiver.waitForCalls(1, TIME_OUT)); in testSendAndReceiveMessages()
269 assertTrue(mSmsReceivedReceiver.waitForCalls(1, TIME_OUT)); in testSendAndReceiveMessages()
283 mSendReceiver.waitForCalls(1, TIME_OUT)); in testSendAndReceiveMessages()
286 "Check signal.", mDeliveryReceiver.waitForCalls(1, TIME_OUT)); in testSendAndReceiveMessages()
288 mDataSmsReceiver.waitForCalls(1, TIME_OUT); in testSendAndReceiveMessages()
300 mSendReceiver.waitForCalls(numPartsSent, TIME_OUT)); in testSendAndReceiveMessages()
303 "Check signal.", mDeliveryReceiver.waitForCalls(numPartsSent, TIME_OUT)); in testSendAndReceiveMessages()
[all …]
/cts/tests/tests/text/src/android/text/method/cts/
DTextKeyListenerTest.java60 private static final long TIME_OUT = 3000; field in TextKeyListenerTest
194 Thread.sleep(TIME_OUT); in waitForListenerTimeout()
DMultiTapKeyListenerTest.java56 private static final long TIME_OUT = 3000; field in MultiTapKeyListenerTest
229 Thread.sleep(TIME_OUT); in callOnKeyDown()