Home
last modified time | relevance | path

Searched refs:pollForNextCallback (Results 1 – 2 of 2) sorted by relevance

/frameworks/libs/net/common/devicetests/com/android/testutils/
DTestableNetworkStatsProvider.kt64 fun pollForNextCallback(timeout: Long = defaultTimeoutMs) = in pollForNextCallback() method in com.android.testutils.TestableNetworkStatsProvider
71 return pollForNextCallback(timeout).also { assertTrue(it is T && predicate(it)) } as T in <lambda>()
DTestableNetworkCallback.kt168 fun pollForNextCallback(timeoutMs: Long = defaultTimeoutMs): CallbackEntry { in pollForNextCallback() method
184 ): T = pollForNextCallback(timeoutMs).let { in expectCallback()
213 ) = pollForNextCallback(timeoutMs).also { assertTrue(valid(it), "Unexpected callback : $it") } in expectCallbackThat()
307 ) = pollForNextCallback(timeoutMs).also { in expectCallback()