Searched refs:expectAvailableCallbacks (Results 1 – 3 of 3) sorted by relevance
/frameworks/libs/net/common/devicetests/com/android/testutils/ |
D | TestableNetworkCallback.kt | 246 fun expectAvailableCallbacks( in expectAvailableCallbacks() method 268 ) = expectAvailableCallbacks(net, suspended = true, validated = validated, tmt = tmt) in expectAvailableAndSuspendedCallbacks() 282 expectAvailableCallbacks(net, tmt = tmt) in expectAvailableDoubleValidatedCallbacks() 291 expectAvailableCallbacks(net, validated = false, tmt = tmt) in expectAvailableThenValidatedCallbacks() 322 fun expectAvailableCallbacks( in expectCallback() method 328 ) = expectAvailableCallbacks(n.network, suspended, validated, blocked, timeoutMs) in expectCallback() 335 expectAvailableCallbacks(n.network) in expectAvailableCallbacksValidated() 339 expectAvailableCallbacks(n.network, blocked = true) in expectAvailableCallbacksValidatedAndBlocked() 343 expectAvailableCallbacks(n.network, validated = false) in expectAvailableCallbacksUnvalidated() 347 expectAvailableCallbacks(n.network, validated = false, blocked = true) in expectAvailableCallbacksUnvalidatedAndBlocked()
|
/frameworks/base/tests/net/integration/src/com/android/server/net/integrationtests/ |
D | ConnectivityServiceIntegrationTest.kt | 247 testCb.expectAvailableCallbacks(na.network, validated = false, tmt = TEST_TIMEOUT_MS) in testCapportApi()
|
/frameworks/base/tests/net/java/com/android/server/ |
D | ConnectivityServiceTest.java | 3721 networkCallback.expectAvailableCallbacks(mWiFiNetworkAgent, false, false, false, in testSatisfiedNetworkRequestDoesNotTriggerOnUnavailable() 3741 networkCallback.expectAvailableCallbacks(mWiFiNetworkAgent, false, false, false, in testSatisfiedThenLostNetworkRequestDoesNotTriggerOnUnavailable() 5456 vpnNetworkCallback.expectAvailableCallbacks(vpnNetworkAgent.getNetwork(), in testVpnStartsWithUnderlyingCaps()
|