Searched refs:expectCallback (Results 1 – 3 of 3) sorted by relevance
254 expectCallback<OnSignalStrengthThresholdsUpdated>().let { in willExpectDisconnectOnce()268 fun expectNoInternetValidationStatus() = expectCallback<OnValidationStatus>().let { in willExpectDisconnectOnce()277 inline fun <reified T : CallbackEntry> expectCallback(): T { in willExpectDisconnectOnce() method349 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 …]
870 private void expectCallback(CallbackValue expectedCallback) { in expectCallback() method in ConnectivityManagerTest.TestSocketKeepaliveCallback876 expectCallback(new CallbackValue.OnStartedCallback()); in expectStarted()880 expectCallback(new CallbackValue.OnStoppedCallback()); in expectStopped()884 expectCallback(new CallbackValue.OnErrorCallback(error)); in expectError()
108 CallbackInfo expectCallback(CallbackState state, Network expectedNetwork, Object o) { in expectCallback() method in NetworkCallbackTest.TestNetworkCallback145 expectCallback(CallbackState.BLOCKED_STATUS, expectedNetwork, expectBlocked); in expectBlockedStatusCallback()