Home
last modified time | relevance | path

Searched refs:TIMEOUT_LONG (Results 1 – 14 of 14) sorted by relevance

/packages/modules/Permission/tests/utils/safetycenter/java/com/android/safetycenter/testing/
DTestNotificationListener.kt28 import com.android.safetycenter.testing.Coroutines.TIMEOUT_LONG in <lambda>()
104 fun waitForZeroNotifications(timeout: Duration = TIMEOUT_LONG) { in <lambda>()
118 timeout: Duration = TIMEOUT_LONG in <lambda>()
131 timeout: Duration = TIMEOUT_LONG in <lambda>()
185 timeout: Duration = TIMEOUT_LONG, in <lambda>()
300 timeout = TIMEOUT_LONG, in <lambda>()
344 if (!connected.block(TIMEOUT_LONG.toMillis())) { in <lambda>()
345 throw TimeoutException("Notification listener did not connect in $TIMEOUT_LONG") in <lambda>()
348 if (!disconnected.block(TIMEOUT_LONG.toMillis())) { in <lambda>()
350 "Notification listener did not disconnect in $TIMEOUT_LONG" in <lambda>()
DSafetySourceReceiver.kt38 import com.android.safetycenter.testing.Coroutines.TIMEOUT_LONG
168 timeout: Duration = TIMEOUT_LONG in SafetyCenterManager()
186 timeout: Duration = TIMEOUT_LONG in setSafetyCenterEnabledWithReceiverPermissionAndWait()
204 timeout: Duration = TIMEOUT_LONG in SafetyCenterManager()
214 timeout: Duration = TIMEOUT_LONG in SafetyCenterManager()
222 private fun receiveRefreshSafetySources(timeout: Duration = TIMEOUT_LONG): String = in receiveRefreshSafetySources()
231 fun receiveSafetyCenterEnabledChanged(timeout: Duration = TIMEOUT_LONG): Boolean = in receiveSafetyCenterEnabledChanged()
237 fun receiveResolveAction(timeout: Duration = TIMEOUT_LONG) { in receiveResolveAction()
241 private fun receiveDismissIssue(timeout: Duration = TIMEOUT_LONG) { in receiveDismissIssue()
DCoroutines.kt44 val TIMEOUT_LONG: Duration constant
51 fun <T> runBlockingWithTimeout(timeout: Duration = TIMEOUT_LONG, block: suspend () -> T): T = in runBlockingWithTimeout()
58 timeout: Duration = TIMEOUT_LONG, in runBlockingWithTimeoutOrNull()
64 timeout: Duration = TIMEOUT_LONG, in waitForWithTimeout()
73 timeout: Duration = TIMEOUT_LONG, in waitForSuccessWithTimeout()
DSafetyCenterTestListener.kt29 import com.android.safetycenter.testing.Coroutines.TIMEOUT_LONG
60 timeout: Duration = TIMEOUT_LONG, in receiveSafetyCenterData()
80 timeout: Duration = TIMEOUT_LONG, in waitForSafetyCenterRefresh()
115 fun receiveSafetyCenterErrorDetails(timeout: Duration = TIMEOUT_LONG) = in receiveSafetyCenterErrorDetails()
DSafetyCenterEnabledChangedReceiver.kt27 import com.android.safetycenter.testing.Coroutines.TIMEOUT_LONG
57 timeout: Duration = TIMEOUT_LONG in setSafetyCenterEnabledWithReceiverPermissionAndWait()
81 fun receiveSafetyCenterEnabledChanged(timeout: Duration = TIMEOUT_LONG): Boolean = in receiveSafetyCenterEnabledChanged()
DWaitForBroadcasts.kt21 import com.android.safetycenter.testing.Coroutines.TIMEOUT_LONG
DSafetyCenterFlags.kt38 import com.android.safetycenter.testing.Coroutines.TIMEOUT_LONG in <lambda>()
132 defaultValue = TIMEOUT_LONG, in <lambda>()
/packages/modules/Permission/tests/cts/safetycenter/src/android/safetycenter/cts/testing/
DFakeExecutor.kt19 import com.android.safetycenter.testing.Coroutines.TIMEOUT_LONG
50 fun getNextTask(timeout: Duration = TIMEOUT_LONG) = in getNextTask()
/packages/apps/Settings/tests/uitests/src/com/android/settings/ui/
DStorageWizardTest.java52 private static final int TIMEOUT_LONG = 30000; field in StorageWizardTest
132 return waitFor(selector, TIMEOUT_LONG); in waitForLong()
/packages/modules/Permission/tests/functional/safetycenter/subpages/src/android/safetycenter/functional/ui/
DSafetyCenterSubpagesTest.kt33 import com.android.safetycenter.testing.Coroutines.TIMEOUT_LONG
622 SafetyCenterFlags.hideResolvedIssueUiTransitionDelay = TIMEOUT_LONG in dismissedIssuesCard_resolveIssue_successConfirmationShown()
724 SafetyCenterFlags.hideResolvedIssueUiTransitionDelay = TIMEOUT_LONG in dismissedIssuesCard_resolveIssue_noSuccessMessage_noResolutionUiShown_issueDismisses()
/packages/modules/Permission/tests/functional/safetycenter/safetycenteractivity/src/android/safetycenter/functional/ui/
DSafetyCenterActivityTest.kt36 import com.android.safetycenter.testing.Coroutines.TIMEOUT_LONG
647 SafetyCenterFlags.hideResolvedIssueUiTransitionDelay = TIMEOUT_LONG in issueCard_resolveIssue_successConfirmationShown()
783 SafetyCenterFlags.hideResolvedIssueUiTransitionDelay = TIMEOUT_LONG in issueCard_resolveIssue_noSuccessMessage_noResolutionUiShown_issueDismisses()
/packages/modules/Permission/tests/cts/safetycenter/src/android/safetycenter/cts/
DSafetyCenterManagerTest.kt43 import com.android.safetycenter.testing.Coroutines.TIMEOUT_LONG
1115 SafetyCenterFlags.setAllRefreshTimeoutsTo(TIMEOUT_LONG) in refreshSafetySources_repliesWithWrongBroadcastId_doesntCompleteRefresh()
1189 SafetyCenterFlags.setAllRefreshTimeoutsTo(TIMEOUT_LONG) in refreshSafetySources_waitForPreviousRefreshToTimeout_completesSuccessfully()
/packages/modules/Permission/tests/functional/safetycenter/singleuser/src/android/safetycenter/functional/
DSafetyCenterManagerTest.kt72 import com.android.safetycenter.testing.Coroutines.TIMEOUT_LONG in <lambda>()
833 SafetyCenterFlags.setAllRefreshTimeoutsTo(TIMEOUT_LONG) in <lambda>()
3609 SafetyCenterFlags.resolveActionTimeout = TIMEOUT_LONG in <lambda>()
DSafetyCenterNotificationTest.kt1308 timeout: Duration = Coroutines.TIMEOUT_LONG in sendActionPendingIntentAndWaitWithPermission()