Home
last modified time | relevance | path

Searched refs:runBlockingWithTimeout (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Permission/tests/utils/safetycenter/java/com/android/safetycenter/testing/
DSafetySourceReceiver.kt40 import com.android.safetycenter.testing.Coroutines.runBlockingWithTimeout
64 runBlockingWithTimeout { safetySourceIntentHandler.handle(context, intent) } in onReceive()
162 runBlockingWithTimeout { safetySourceIntentHandler.setResponse(request, response) } in setResponse()
223 runBlockingWithTimeout(timeout) { in receiveRefreshSafetySources()
232 runBlockingWithTimeout(timeout) { in receiveSafetyCenterEnabledChanged()
238 runBlockingWithTimeout(timeout) { safetySourceIntentHandler.receiveResolveAction() } in receiveResolveAction()
242 runBlockingWithTimeout(timeout) { safetySourceIntentHandler.receiveDimissIssue() } in receiveDismissIssue()
DSafetyCenterTestListener.kt30 import com.android.safetycenter.testing.Coroutines.runBlockingWithTimeout
44 runBlockingWithTimeout { dataChannel.send(data) } in onSafetyCenterDataChanged()
51 runBlockingWithTimeout { errorChannel.send(errorDetails) } in onError()
63 runBlockingWithTimeout(timeout) { in <lambda>()
116 runBlockingWithTimeout(timeout) { errorChannel.receive() } in receiveSafetyCenterErrorDetails()
DSafetyCenterEnabledChangedReceiver.kt29 import com.android.safetycenter.testing.Coroutines.runBlockingWithTimeout
52 runBlockingWithTimeout { mSafetySourceIntentHandler.handle(context, intent) } in onReceive()
82 runBlockingWithTimeout(timeout) { in receiveSafetyCenterEnabledChanged()
DTestNotificationListener.kt30 import com.android.safetycenter.testing.Coroutines.runBlockingWithTimeout in <lambda>()
57 runBlockingWithTimeout { in <lambda>()
66 runBlockingWithTimeout { in <lambda>()
155 (runBlockingWithTimeout { in <lambda>()
194 runBlockingWithTimeout(timeout) { in <lambda>()
DWaitForBroadcasts.kt22 import com.android.safetycenter.testing.Coroutines.runBlockingWithTimeout
50 runBlockingWithTimeout { in waitForBroadcasts()
DCoroutines.kt51 fun <T> runBlockingWithTimeout(timeout: Duration = TIMEOUT_LONG, block: suspend () -> T): T = in runBlockingWithTimeout() method
68 runBlockingWithTimeout(timeout) { waitFor(checkPeriod, condition) } in waitForWithTimeout()
/packages/modules/Permission/tests/cts/safetycenter/src/android/safetycenter/cts/testing/
DFakeExecutor.kt20 import com.android.safetycenter.testing.Coroutines.runBlockingWithTimeout
37 runBlockingWithTimeout { tasks.send(task) } in execute()
51 runBlockingWithTimeout(timeout) { tasks.receive() } in getNextTask()