Searched refs:defaultTimeoutMs (Results 1 – 2 of 2) sorted by relevance
/frameworks/libs/net/common/devicetests/com/android/testutils/ |
D | TestableNetworkCallback.kt | 153 val defaultTimeoutMs: Long = DEFAULT_TIMEOUT constant 158 fun createLinkedCopy() = TestableNetworkCallback(this, defaultTimeoutMs) in createLinkedCopy() 168 fun pollForNextCallback(timeoutMs: Long = defaultTimeoutMs): CallbackEntry { in pollForNextCallback() 174 open fun assertNoCallback(timeoutMs: Long = defaultTimeoutMs) { in assertNoCallback() 183 timeoutMs: Long = defaultTimeoutMs in expectCallback() 196 timeoutMs: Long = defaultTimeoutMs, in eventuallyExpect() 205 timeoutMs: Long = defaultTimeoutMs, in eventuallyExpectOrNull() 211 timeoutMs: Long = defaultTimeoutMs, in expectCallbackThat() 217 tmt: Long = defaultTimeoutMs, in expectCapabilitiesThat() 227 tmt: Long = defaultTimeoutMs, in expectLinkPropertiesThat() [all …]
|
D | TestableNetworkStatsProvider.kt | 28 val defaultTimeoutMs: Long = DEFAULT_TIMEOUT_MS constant in com.android.testutils.TestableNetworkStatsProvider 52 fun expectOnRequestStatsUpdate(token: Int, timeout: Long = defaultTimeoutMs) { in expectOnRequestStatsUpdate() 56 fun expectOnSetLimit(iface: String?, quotaBytes: Long, timeout: Long = defaultTimeoutMs) { in expectOnSetLimit() 60 fun expectOnSetAlert(quotaBytes: Long, timeout: Long = defaultTimeoutMs) { in expectOnSetAlert() 64 fun pollForNextCallback(timeout: Long = defaultTimeoutMs) = in pollForNextCallback() 68 timeout: Long = defaultTimeoutMs, in pollForNextCallback() 84 timeoutMs: Long = defaultTimeoutMs, in eventuallyExpect() 94 fun assertNoCallback(timeout: Long = defaultTimeoutMs) { in assertNoCallback()
|