Searched refs:TIMEOUT_LONG (Results 1 – 14 of 14) sorted by relevance
/packages/modules/Permission/tests/utils/safetycenter/java/com/android/safetycenter/testing/ |
D | TestNotificationListener.kt | 28 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>()
|
D | SafetySourceReceiver.kt | 38 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()
|
D | Coroutines.kt | 44 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()
|
D | SafetyCenterTestListener.kt | 29 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()
|
D | SafetyCenterEnabledChangedReceiver.kt | 27 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()
|
D | WaitForBroadcasts.kt | 21 import com.android.safetycenter.testing.Coroutines.TIMEOUT_LONG
|
D | SafetyCenterFlags.kt | 38 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/ |
D | FakeExecutor.kt | 19 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/ |
D | StorageWizardTest.java | 52 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/ |
D | SafetyCenterSubpagesTest.kt | 33 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/ |
D | SafetyCenterActivityTest.kt | 36 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/ |
D | SafetyCenterManagerTest.kt | 43 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/ |
D | SafetyCenterManagerTest.kt | 72 import com.android.safetycenter.testing.Coroutines.TIMEOUT_LONG in <lambda>() 833 SafetyCenterFlags.setAllRefreshTimeoutsTo(TIMEOUT_LONG) in <lambda>() 3609 SafetyCenterFlags.resolveActionTimeout = TIMEOUT_LONG in <lambda>()
|
D | SafetyCenterNotificationTest.kt | 1308 timeout: Duration = Coroutines.TIMEOUT_LONG in sendActionPendingIntentAndWaitWithPermission()
|