Home
last modified time | relevance | path

Searched refs:SHORT_TIMEOUT (Results 1 – 8 of 8) sorted by relevance

/cts/common/device-side/bedstead/nene/src/test/java/com/android/bedstead/nene/utils/
DPollTest.java44 private static final Duration SHORT_TIMEOUT = Duration.ofSeconds(1); field in PollTest
71 .timeout(SHORT_TIMEOUT) in await_toBeEqualTo_doesNotBecomeEqual_returnIncorrectValue()
82 .timeout(SHORT_TIMEOUT) in await_toBeEqualTo_errorOnFailure_doesNotBecomeEqual_throwsException()
96 .timeout(SHORT_TIMEOUT) in await_toBeEqualTo_errorOnFailure_doesNotBecomeEqual_customError_throwsException()
127 .timeout(SHORT_TIMEOUT) in await_toNotBeEqualTo_doesNotBecomeNotEqual_returnIncorrectValue()
138 .timeout(SHORT_TIMEOUT) in await_toNotBeEqualTo_errorOnFailure_doesNotBecomeNotEqual_throwsException()
152 .timeout(SHORT_TIMEOUT) in await_toNotBeEqualTo_errorOnFailure_doesNotBecomeNotEqual_customError_throwsException()
183 .timeout(SHORT_TIMEOUT) in await_toBeNull_doesNotBecomeNull_returnIncorrectValue()
194 .timeout(SHORT_TIMEOUT) in await_toBeNull_errorOnFailure_doesNotBecomeNull_throwsException()
208 .timeout(SHORT_TIMEOUT) in await_toBeNull_errorOnFailure_doesNotBecomeNull_customError_throwsException()
[all …]
DRetryTest.java40 private static final Duration SHORT_TIMEOUT = Duration.ofSeconds(1); field in RetryTest
62 () -> Retry.logic(valueTester::get).timeout(SHORT_TIMEOUT).run()); in run_exceptions_throwsException()
70 () -> Retry.logic(valueTester::throwOrNot).timeout(SHORT_TIMEOUT).run()); in runVoid_exceptions_throwsException()
/cts/tests/tests/telephony/current/src/android/telephony/embms/cts/
DMbmsDownloadCallbackTest.java36 private static final long SHORT_TIMEOUT = 500; field in MbmsDownloadCallbackTest
122 assertNull(statusCallback.waitOnStatusUpdated(SHORT_TIMEOUT)); in testDeregistration()
124 assertNull(progressCallback.waitOnProgressUpdated(SHORT_TIMEOUT)); in testDeregistration()
/cts/tests/app/DownloadManagerApi28Test/src/android/app/cts/
DDownloadManagerApi28Test.java69 receiver.waitForDownloadComplete(SHORT_TIMEOUT, id); in testSetDestinationUri_publicDir()
95 receiver.waitForDownloadComplete(SHORT_TIMEOUT, id); in testSetDestinationUri_sdcardPath()
146 receiver.waitForDownloadComplete(SHORT_TIMEOUT, id); in testDestinationInExternalPublicDir()
205 receiver.waitForDownloadComplete(SHORT_TIMEOUT, downloadId); in testDownloadManager_mediaStoreEntry()
/cts/common/device-side/bedstead/testapp/src/test/java/com/android/bedstead/testapp/
DTestAppInstanceTest.java72 private static final Duration SHORT_TIMEOUT = Duration.ofSeconds(5); field in TestAppInstanceTest
238 assertThat(logs.poll(SHORT_TIMEOUT)).isNull(); in stop_registeredReceiver_doesNotReceiveBroadcast()
253 assertThat(logs.poll(SHORT_TIMEOUT)).isNull(); in unregisterReceiver_registeredReceiver_doesNotReceiveBroadcast()
273 assertThat(logs.poll(SHORT_TIMEOUT)).isNull(); in unregisterReceiver_doesNotUnregisterOtherReceivers()
/cts/tests/app/src/android/app/cts/
DDownloadManagerTest.java93 receiver.waitForDownloadComplete(SHORT_TIMEOUT, goodId, badId); in testDownloadManager()
119 receiver.waitForDownloadComplete(SHORT_TIMEOUT, id); in testDownloadManagerSupportsHttp()
272 receiver.waitForDownloadComplete(SHORT_TIMEOUT, uriId, extFileId, publicId); in testDownloadManagerDestination()
315 receiver.waitForDownloadComplete(SHORT_TIMEOUT, noExtId, wrongExtId); in testDownloadManagerDestinationExtension()
410 receiver.waitForDownloadComplete(SHORT_TIMEOUT, id); in testSetDestinationUri()
447 receiver.waitForDownloadComplete(SHORT_TIMEOUT, id); in testSetDestinationInExternalPublicDownloadDir()
538 receiver.waitForDownloadComplete(SHORT_TIMEOUT, uriId); in testDownloadNotVisibleInUi()
699 receiver.waitForDownloadComplete(SHORT_TIMEOUT, id); in testDownload_mediaScanned()
DDownloadManagerTestBase.java86 protected static final long SHORT_TIMEOUT = 5 * DateUtils.SECOND_IN_MILLIS; field in DownloadManagerTestBase
322 final Bundle resultBundle = callbackResult.get(SHORT_TIMEOUT, TimeUnit.MILLISECONDS); in writeToFileWithDelegator()
/cts/tests/app/DownloadManagerInstallerTest/src/android/app/cts/
DDownloadManagerInstallerTest.java67 receiver.waitForDownloadComplete(SHORT_TIMEOUT, id); in testSetDestinationUri_otherAppObbDir()