Searched refs:vpnNetworkCallback (Results 1 – 1 of 1) sorted by relevance
4179 final TestNetworkCallback vpnNetworkCallback = new TestNetworkCallback(); in testVpnNetworkActive() local4192 mCm.registerNetworkCallback(vpnNetworkRequest, vpnNetworkCallback); in testVpnNetworkActive()4203 vpnNetworkCallback.assertNoCallback(); in testVpnNetworkActive()4217 vpnNetworkCallback.expectAvailableCallbacksUnvalidated(vpnNetworkAgent); in testVpnNetworkActive()4223 vpnNetworkCallback.expectCapabilitiesLike(nc -> null == nc.getUids(), vpnNetworkAgent); in testVpnNetworkActive()4233 vpnNetworkCallback.expectCallback(CallbackState.LOST, vpnNetworkAgent); in testVpnNetworkActive()4249 vpnNetworkCallback.expectAvailableCallbacksValidated(vpnNetworkAgent); in testVpnNetworkActive()4259 vpnNetworkCallback.assertNoCallback(); in testVpnNetworkActive()4267 vpnNetworkCallback.expectCallback(CallbackState.LOST, vpnNetworkAgent); in testVpnNetworkActive()4273 mCm.unregisterNetworkCallback(vpnNetworkCallback); in testVpnNetworkActive()[all …]