Searched refs:expectCapabilitiesLike (Results 1 – 1 of 1) sorted by relevance
1957 void expectCapabilitiesLike(Predicate<NetworkCapabilities> fn, MockNetworkAgent agent) { in expectCapabilitiesLike() method in ConnectivityServiceTest.TestNetworkCallback3075 c.expectCapabilitiesLike((caps) -> caps.getNetworkSpecifier().equals(nsFoo), in testNetworkSpecifier()3078 cFoo.expectCapabilitiesLike((caps) -> caps.getNetworkSpecifier().equals(nsFoo), in testNetworkSpecifier()3088 c.expectCapabilitiesLike((caps) -> caps.getNetworkSpecifier().equals(nsBar), in testNetworkSpecifier()3091 cBar.expectCapabilitiesLike((caps) -> caps.getNetworkSpecifier().equals(nsBar), in testNetworkSpecifier()3100 c.expectCapabilitiesLike((caps) -> caps.getNetworkSpecifier() == null, in testNetworkSpecifier()3103 cFoo.expectCapabilitiesLike((caps) -> caps.getNetworkSpecifier() == null, in testNetworkSpecifier()3105 cBar.expectCapabilitiesLike((caps) -> caps.getNetworkSpecifier() == null, in testNetworkSpecifier()5382 vpnNetworkCallback.expectCapabilitiesLike(nc -> null == nc.getUids(), vpnNetworkAgent); in testVpnNetworkActive()5586 vpnNetworkCallback.expectCapabilitiesLike((caps) -> caps.hasTransport(TRANSPORT_VPN) in testVpnSetUnderlyingNetworks()[all …]