Searched refs:vpnNetworkCallback (Results 1 – 1 of 1) sorted by relevance
5196 final TestNetworkCallback vpnNetworkCallback = new TestNetworkCallback(); in testVpnNetworkActive() local5209 mCm.registerNetworkCallback(vpnNetworkRequest, vpnNetworkCallback); in testVpnNetworkActive()5220 vpnNetworkCallback.assertNoCallback(); in testVpnNetworkActive()5242 vpnNetworkCallback.expectAvailableCallbacksUnvalidated(vpnNetworkAgent); in testVpnNetworkActive()5248 vpnNetworkCallback.expectCapabilitiesThat(vpnNetworkAgent, nc -> null == nc.getUids()); in testVpnNetworkActive()5258 vpnNetworkCallback.expectCallback(CallbackEntry.LOST, vpnNetworkAgent); in testVpnNetworkActive()5275 vpnNetworkCallback.expectAvailableCallbacksValidated(vpnNetworkAgent); in testVpnNetworkActive()5285 vpnNetworkCallback.assertNoCallback(); in testVpnNetworkActive()5293 vpnNetworkCallback.expectCallback(CallbackEntry.LOST, vpnNetworkAgent); in testVpnNetworkActive()5299 mCm.unregisterNetworkCallback(vpnNetworkCallback); in testVpnNetworkActive()[all …]