Home
last modified time | relevance | path

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

/cts/tests/tests/net/src/android/net/cts/
DNetworkAgentTest.kt254 expectCallback<OnSignalStrengthThresholdsUpdated>().let { in willExpectDisconnectOnce()
268 fun expectNoInternetValidationStatus() = expectCallback<OnValidationStatus>().let { in willExpectDisconnectOnce()
277 inline fun <reified T : CallbackEntry> expectCallback(): T { in willExpectDisconnectOnce() method
349 callback.expectCallback<Lost>(agent.network) in testConnectAndUnregister()
350 agent.expectCallback<OnNetworkUnwanted>() in testConnectAndUnregister()
363 agent.expectCallback<OnBandwidthUpdateRequested>() in testOnBandwidthUpdateRequested()
382 agent.expectCallback<OnSignalStrengthThresholdsUpdated>().let { in testSignalStrengthThresholds()
409 callbacks[2].expectCallback<Lost>(agent.network) in testSignalStrengthThresholds()
430 agent.expectCallback<OnAddKeepalivePacketFilter>().let { in agent()
434 agent.expectCallback<OnStartSocketKeepalive>().let { in agent()
[all …]
DConnectivityManagerTest.java870 private void expectCallback(CallbackValue expectedCallback) { in expectCallback() method in ConnectivityManagerTest.TestSocketKeepaliveCallback
876 expectCallback(new CallbackValue.OnStartedCallback()); in expectStarted()
880 expectCallback(new CallbackValue.OnStoppedCallback()); in expectStopped()
884 expectCallback(new CallbackValue.OnErrorCallback(error)); in expectError()
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DNetworkCallbackTest.java108 CallbackInfo expectCallback(CallbackState state, Network expectedNetwork, Object o) { in expectCallback() method in NetworkCallbackTest.TestNetworkCallback
145 expectCallback(CallbackState.BLOCKED_STATUS, expectedNetwork, expectBlocked); in expectBlockedStatusCallback()