Searched refs:net1 (Results 1 – 3 of 3) sorted by relevance
379 val net1 = Network(100) in <lambda>() constant381 mCallback.onAvailable(net1) in <lambda>()382 mCallback.onCapabilitiesChanged(net1, NetworkCapabilities()) in <lambda>()383 mCallback.onLinkPropertiesChanged(net1, LinkProperties()) in <lambda>()385 net1.equals(it.network) in <lambda>()393 mCallback.onBlockedStatusChanged(net1, false) in <lambda>()394 mCallback.eventuallyExpect(BLOCKED_STATUS) { net1.equals(it.network) } 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()
3047 final TestNetworkAgentWrapper net1 = new TestNetworkAgentWrapper(transport);3048 net1.connect(true);3050 generalCb.expectAvailableThenValidatedCallbacks(net1);3051 defaultCb.expectAvailableThenValidatedCallbacks(net1);3062 generalCb.expectLosing(net1);3070 net1.assertNotDisconnected(TEST_CALLBACK_TIMEOUT_MS); // always incurs the timeout3074 net1.expectDisconnected(UNREASONABLY_LONG_ALARM_WAIT_MS);3076 net1.expectDisconnected(TEST_CALLBACK_TIMEOUT_MS);3078 net1.disconnect();3079 generalCb.expect(LOST, net1);