Home
last modified time | relevance | path

Searched refs:defaultTimeoutMs (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/
DTestableNetworkCallback.kt191 val defaultTimeoutMs: Long = DEFAULT_TIMEOUT, constant
221 defaultTimeoutMs, in createLinkedCopy()
241 fun poll(timeoutMs: Long = defaultTimeoutMs, predicate: (CallbackEntry) -> Boolean = { true }) = in <lambda>()
253 timeoutMs: Long = defaultTimeoutMs, in expect()
268 timeoutMs: Long = defaultTimeoutMs, in expect()
292 ) = expect(type, network, defaultTimeoutMs, errorMsg, test)
300 ) = expect(type, network.network, defaultTimeoutMs, errorMsg, test)
325 ) = expect(type, ANY_NETWORK, defaultTimeoutMs, errorMsg, test)
341 ) = expect(type, network, defaultTimeoutMs, null, test) in expect()
348 ) = expect(type, network.network, defaultTimeoutMs, null, test) in expect()
[all …]
DTestableNetworkStatsProvider.kt30 val defaultTimeoutMs: Long = DEFAULT_TIMEOUT_MS constant in com.android.testutils.TestableNetworkStatsProvider
72 fun expectOnRequestStatsUpdate(token: Int, timeout: Long = defaultTimeoutMs): Int { in expectOnRequestStatsUpdate()
81 fun expectOnSetLimit(iface: String, quotaBytes: Long, timeout: Long = defaultTimeoutMs) { in expectOnSetLimit()
85 fun expectOnSetAlert(quotaBytes: Long, timeout: Long = defaultTimeoutMs) { in expectOnSetAlert()
89 fun pollForNextCallback(timeout: Long = defaultTimeoutMs) = in pollForNextCallback()
93 timeout: Long = defaultTimeoutMs, in pollForNextCallback()
109 timeoutMs: Long = defaultTimeoutMs, in eventuallyExpect()
119 fun assertNoCallback(timeout: Long = defaultTimeoutMs) { in assertNoCallback()
DConnectUtil.kt245 ): T = history.poll(defaultTimeoutMs, mark) { it is T && predicate(it) }.also { in <lambda>()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/httpclient/
DAdServicesHttpsClientTest.java342 int defaultTimeoutMs = 5000; in testInputStreamToStringThrowsExceptionWhenExceedingMaxSize() local
344 new AdServicesHttpsClient(mExecutorService, defaultTimeoutMs, defaultTimeoutMs, 5); in testInputStreamToStringThrowsExceptionWhenExceedingMaxSize()
362 int defaultTimeoutMs = 5000; in testHttpsClientFreesResourcesWhenCancelled() local
369 defaultTimeoutMs, in testHttpsClientFreesResourcesWhenCancelled()
370 defaultTimeoutMs, in testHttpsClientFreesResourcesWhenCancelled()
399 int defaultTimeoutMs = 5000; in testHttpsClientFreesResourcesInNormalFlow() local
406 defaultTimeoutMs, in testHttpsClientFreesResourcesInNormalFlow()
407 defaultTimeoutMs, in testHttpsClientFreesResourcesInNormalFlow()
/packages/services/Car/service/src/com/android/car/oem/
DCarOemProxyServiceHelper.java259 Callable<T> callable, long defaultTimeoutMs, in doBinderCallWithDefaultValueAndDelayedWaitAndCrash() argument
269 return Optional.ofNullable(result.get(defaultTimeoutMs, TimeUnit.MILLISECONDS)); in doBinderCallWithDefaultValueAndDelayedWaitAndCrash()