Searched refs:net2 (Results 1 – 3 of 3) sorted by relevance
380 val net2 = Network(101) in <lambda>() constant391 mCallback.onAvailable(net2) in <lambda>()392 mCallback.onLinkPropertiesChanged(net2, LinkProperties()) in <lambda>()
591 private static boolean sameNetworkId(Network net1, Network net2) { in sameNetworkId() argument592 return net1 != null && net2 != null && net1.getNetId() == net2.getNetId(); in sameNetworkId()
3054 final TestNetworkAgentWrapper net2 = new TestNetworkAgentWrapper(transport);3055 net2.addCapability(NET_CAPABILITY_MMS);3056 net2.setScore(new NetworkScore.Builder().setTransportPrimary(true).build());3057 net2.connect(true);3060 generalCb.expectAvailableCallbacksUnvalidated(net2);3064 generalCb.expectCaps(net2, c -> c.hasCapability(NET_CAPABILITY_VALIDATED));3065 defaultCb.expectAvailableDoubleValidatedCallbacks(net2);3082 net2.setScore(new NetworkScore.Builder().build());3087 mmsCallback.expectAvailableCallbacksValidated(net2);3098 net2.assertNotDisconnected(TEST_CALLBACK_TIMEOUT_MS); // Always incurs the timeout[all …]