/cts/common/device-side/bedstead/nene/src/test/java/com/android/bedstead/nene/utils/ |
D | PollTest.java | 44 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 …]
|
D | RetryTest.java | 40 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/PhotoPicker/src/android/photopicker/cts/util/ |
D | UiAssertionUtils.java | 20 import static android.photopicker.cts.util.PhotoPickerUiUtils.SHORT_TIMEOUT; 46 .waitForExists(SHORT_TIMEOUT)).isTrue(); in assertThatShowsPickerUi()
|
D | PhotoPickerUiUtils.java | 37 public static final long SHORT_TIMEOUT = 5 * DateUtils.SECOND_IN_MILLIS; field in PhotoPickerUiUtils
|
/cts/tests/tests/telephony/current/src/android/telephony/embms/cts/ |
D | MbmsDownloadCallbackTest.java | 36 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/ |
D | DownloadManagerApi28Test.java | 69 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/tests/PhotoPicker/src/android/photopicker/cts/ |
D | ActionGetContentOnlyTest.java | 24 import static android.photopicker.cts.util.PhotoPickerUiUtils.SHORT_TIMEOUT; 240 new UiObject(appList).waitForExists(SHORT_TIMEOUT)).isTrue(); in findAndClickMediaIcon() 266 + ":id/header_title")).waitForExists(SHORT_TIMEOUT)).isTrue(); in assertThatShowsDocumentsUiButtons() 296 .waitForExists(SHORT_TIMEOUT)).isTrue(); in getDirectoryListSelector()
|
D | RemoteVideoPreviewTest.java | 24 import static android.photopicker.cts.util.PhotoPickerUiUtils.SHORT_TIMEOUT; 338 + "buffering").that(findPreviewProgressIndicator().waitForExists(SHORT_TIMEOUT)) in verifyProgressIndicatorShowsWhenBuffering() 347 .that(findPreviewErrorSnackbar().waitForExists(SHORT_TIMEOUT)).isTrue(); in verifySnackbarShowsWhenPermanentError() 356 + "error").that(findPreviewErrorAlertDialogTitle().waitForExists(SHORT_TIMEOUT)) in verifyAlertDialogShowsWhenRetriableError() 375 .that(findPreviewErrorAlertDialogRetryButton().waitForExists(SHORT_TIMEOUT)) in verifyAlertDialogRetry()
|
D | ActionPickImagesOnlyTest.java | 21 import static android.photopicker.cts.util.PhotoPickerUiUtils.SHORT_TIMEOUT; 134 snackbarTextView.waitForExists(SHORT_TIMEOUT)).isTrue(); in testMultiSelect_returnsNotMoreThanMax() 137 snackbarTextView.waitUntilGone(SHORT_TIMEOUT)).isTrue(); in testMultiSelect_returnsNotMoreThanMax()
|
D | PhotoPickerCrossProfileTest.java | 21 import static android.photopicker.cts.util.PhotoPickerUiUtils.SHORT_TIMEOUT; 169 .waitForExists(SHORT_TIMEOUT)) in assertBlockedByAdminDialog()
|
D | PhotoPickerSettingsTest.java | 22 import static android.photopicker.cts.util.PhotoPickerUiUtils.SHORT_TIMEOUT; 178 TAB_CONTAINER_RESOURCE_ID, sDevice).waitForExists(SHORT_TIMEOUT)) in verifySettingsTabContainerIsVisible()
|
D | PhotoPickerTest.java | 31 import static android.photopicker.cts.util.PhotoPickerUiUtils.SHORT_TIMEOUT; 477 findPlayButton().waitForExists(SHORT_TIMEOUT); in testVideoPreviewAudioFocus() 486 findPauseButton().waitForExists(SHORT_TIMEOUT); in testVideoPreviewAudioFocus()
|
/cts/tests/app/src/android/app/cts/ |
D | DownloadManagerTest.java | 93 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()
|
D | DownloadManagerTestBase.java | 87 protected static final long SHORT_TIMEOUT = 5 * DateUtils.SECOND_IN_MILLIS; field in DownloadManagerTestBase 323 final Bundle resultBundle = callbackResult.get(SHORT_TIMEOUT, TimeUnit.MILLISECONDS); in writeToFileWithDelegator()
|
/cts/tests/app/DownloadManagerInstallerTest/src/android/app/cts/ |
D | DownloadManagerInstallerTest.java | 68 receiver.waitForDownloadComplete(SHORT_TIMEOUT, id); in testSetDestinationUri_otherAppObbDir()
|
/cts/common/device-side/bedstead/testapp/src/test/java/com/android/bedstead/testapp/ |
D | TestAppInstanceTest.java | 81 private static final Duration SHORT_TIMEOUT = Duration.ofSeconds(5); field in TestAppInstanceTest 243 assertThat(logs.poll(SHORT_TIMEOUT)).isNull(); in stop_registeredReceiver_doesNotReceiveBroadcast() 258 assertThat(logs.poll(SHORT_TIMEOUT)).isNull(); in unregisterReceiver_registeredReceiver_doesNotReceiveBroadcast() 278 assertThat(logs.poll(SHORT_TIMEOUT)).isNull(); in unregisterReceiver_doesNotUnregisterOtherReceivers()
|
/cts/tests/inputmethod/installtests/src/android/view/inputmethod/cts/installtests/ |
D | ForceStopTest.java | 63 private static final long SHORT_TIMEOUT = TimeUnit.MILLISECONDS.toMillis(500); field in ForceStopTest 151 SystemClock.sleep(SHORT_TIMEOUT); in testImeRemainsEnabledAfterForceStopMain()
|