Home
last modified time | relevance | path

Searched refs:HasNetwork (Results 1 – 3 of 3) sorted by relevance

/frameworks/libs/net/common/devicetests/com/android/testutils/
DTestableNetworkCallback.kt298 interface HasNetwork { interface
318 n: HasNetwork?, in expectCallback()
323 n: HasNetwork, in expectCallback()
330 fun expectAvailableAndSuspendedCallbacks(n: HasNetwork, expectValidated: Boolean) { in expectCallback()
334 fun expectAvailableCallbacksValidated(n: HasNetwork) { in expectAvailableCallbacksValidated()
338 fun expectAvailableCallbacksValidatedAndBlocked(n: HasNetwork) { in expectAvailableCallbacksValidatedAndBlocked()
342 fun expectAvailableCallbacksUnvalidated(n: HasNetwork) { in expectAvailableCallbacksUnvalidated()
346 fun expectAvailableCallbacksUnvalidatedAndBlocked(n: HasNetwork) { in expectAvailableCallbacksUnvalidatedAndBlocked()
350 fun expectAvailableDoubleValidatedCallbacks(n: HasNetwork) { in expectAvailableDoubleValidatedCallbacks()
354 fun expectAvailableThenValidatedCallbacks(n: HasNetwork) { in expectAvailableThenValidatedCallbacks()
[all …]
/frameworks/base/tests/net/integration/util/com/android/server/
DNetworkAgentWrapper.java57 public class NetworkAgentWrapper implements TestableNetworkCallback.HasNetwork {
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java1745 public <T extends CallbackEntry> T expectCallback(final KClass<T> type, final HasNetwork n, in expectCallback()