Home
last modified time | relevance | path

Searched full:network (Results 1 – 25 of 9909) sorted by relevance

12345678910>>...397

/external/autotest/metadata/tests/
Dnetwork.star13 'network/ChromeCellularEndToEnd',
18 'network/ChromeCellularNetworkPresent',
23 'network/ChromeCellularNetworkProperties',
28 'network/ChromeCellularSmokeTest',
33 'network/ChromeWifiConfigure',
38 'network/ChromeWifiEndToEnd',
43 'network/DhcpBrokenDefaultGateway',
48 'network/DhcpClasslessStaticRoute',
53 'network/DhcpFQDN',
58 'network/DhcpFailureWithStaticIP',
[all …]
/external/guava/guava-tests/test/com/google/common/graph/
DAbstractNetworkTest.java47 * Abstract base class for testing implementations of {@link Network} interface. Network instances
56 * <li>Test cases related to the specific implementation of the {@link Network} interface.
64 Network<Integer, String> network; field in AbstractNetworkTest
67 * The same reference as {@link #network}, except as a mutable network. This field is null in case
68 * {@link #createGraph()} didn't return a mutable network.
112 abstract Network<Integer, String> createGraph(); in createGraph()
116 * graph implementations, this method should replace {@link #network} with a new graph that
123 * graph implementations, this method should replace {@link #network} with a new graph that
134 network = createGraph(); in init()
135 if (network instanceof MutableNetwork) { in init()
[all …]
DAbstractStandardUndirectedNetworkTest.java34 * Abstract base class for testing undirected {@link Network} implementations defined in this
43 for (Integer node : network.nodes()) { in validateUndirectedEdges()
46 network.inEdges(node), network.outEdges(node), network.incidentEdges(node)) in validateUndirectedEdges()
50 network.predecessors(node), network.successors(node), network.adjacentNodes(node)) in validateUndirectedEdges()
53 for (Integer adjacentNode : network.adjacentNodes(node)) { in validateUndirectedEdges()
54 assertThat(network.edgesConnecting(node, adjacentNode)) in validateUndirectedEdges()
55 .containsExactlyElementsIn(network.edgesConnecting(adjacentNode, node)); in validateUndirectedEdges()
63 Set<Integer> nodes = network.nodes(); in nodes_checkReturnedSetMutability()
66 assertThat(network.nodes()).containsExactlyElementsIn(nodes); in nodes_checkReturnedSetMutability()
72 Set<String> edges = network.edges(); in edges_checkReturnedSetMutability()
[all …]
DAbstractStandardDirectedNetworkTest.java35 * Abstract base class for testing directed {@link Network} implementations defined in this package.
41 for (Integer node : network.nodes()) { in validateSourceAndTarget()
42 for (String inEdge : network.inEdges(node)) { in validateSourceAndTarget()
43 EndpointPair<Integer> endpointPair = network.incidentNodes(inEdge); in validateSourceAndTarget()
48 for (String outEdge : network.outEdges(node)) { in validateSourceAndTarget()
49 EndpointPair<Integer> endpointPair = network.incidentNodes(outEdge); in validateSourceAndTarget()
54 for (Integer adjacentNode : network.adjacentNodes(node)) { in validateSourceAndTarget()
55 Set<String> edges = network.edgesConnecting(node, adjacentNode); in validateSourceAndTarget()
56 Set<String> antiParallelEdges = network.edgesConnecting(adjacentNode, node); in validateSourceAndTarget()
68 Set<Integer> nodes = network.nodes(); in nodes_checkReturnedSetMutability()
[all …]
/external/guava/android/guava-tests/test/com/google/common/graph/
DAbstractNetworkTest.java47 * Abstract base class for testing implementations of {@link Network} interface. Network instances
56 * <li>Test cases related to the specific implementation of the {@link Network} interface.
64 Network<Integer, String> network; field in AbstractNetworkTest
67 * The same reference as {@link #network}, except as a mutable network. This field is null in case
68 * {@link #createGraph()} didn't return a mutable network.
112 abstract Network<Integer, String> createGraph(); in createGraph()
116 * graph implementations, this method should replace {@link #network} with a new graph that
123 * graph implementations, this method should replace {@link #network} with a new graph that
134 network = createGraph(); in init()
135 if (network instanceof MutableNetwork) { in init()
[all …]
DAbstractStandardUndirectedNetworkTest.java33 * Abstract base class for testing undirected {@link Network} implementations defined in this
42 for (Integer node : network.nodes()) { in validateUndirectedEdges()
45 network.inEdges(node), network.outEdges(node), network.incidentEdges(node)) in validateUndirectedEdges()
49 network.predecessors(node), network.successors(node), network.adjacentNodes(node)) in validateUndirectedEdges()
52 for (Integer adjacentNode : network.adjacentNodes(node)) { in validateUndirectedEdges()
53 assertThat(network.edgesConnecting(node, adjacentNode)) in validateUndirectedEdges()
54 .containsExactlyElementsIn(network.edgesConnecting(adjacentNode, node)); in validateUndirectedEdges()
62 Set<Integer> nodes = network.nodes(); in nodes_checkReturnedSetMutability()
65 assertThat(network.nodes()).containsExactlyElementsIn(nodes); in nodes_checkReturnedSetMutability()
71 Set<String> edges = network.edges(); in edges_checkReturnedSetMutability()
[all …]
DAbstractStandardDirectedNetworkTest.java34 * Abstract base class for testing directed {@link Network} implementations defined in this package.
40 for (Integer node : network.nodes()) { in validateSourceAndTarget()
41 for (String inEdge : network.inEdges(node)) { in validateSourceAndTarget()
42 EndpointPair<Integer> endpointPair = network.incidentNodes(inEdge); in validateSourceAndTarget()
47 for (String outEdge : network.outEdges(node)) { in validateSourceAndTarget()
48 EndpointPair<Integer> endpointPair = network.incidentNodes(outEdge); in validateSourceAndTarget()
53 for (Integer adjacentNode : network.adjacentNodes(node)) { in validateSourceAndTarget()
54 Set<String> edges = network.edgesConnecting(node, adjacentNode); in validateSourceAndTarget()
55 Set<String> antiParallelEdges = network.edgesConnecting(adjacentNode, node); in validateSourceAndTarget()
67 Set<Integer> nodes = network.nodes(); in nodes_checkReturnedSetMutability()
[all …]
/external/iproute2/man/man8/
Dip-netns.83 ip-netns \- process network namespace management
49 A network namespace is logically another copy of the network stack,
50 with its own routes, firewall rules, and network devices.
52 By default a process inherits its network namespace from its parent. Initially all
53 the processes share the same default network namespace from the init process.
55 By convention a named network namespace is an object at
59 refers to the specified network namespace. Holding that file
60 descriptor open keeps the network namespace alive. The file
63 system call to change the network namespace associated with a task.
65 For applications that are aware of network namespaces, the convention
[all …]
/external/webrtc/call/
Dsimulated_network_unittest.cc35 SimulatedNetwork network = SimulatedNetwork({}); in TEST() local
36 EXPECT_EQ(network.NextDeliveryTimeUs(), absl::nullopt); in TEST()
40 // A packet of 1 kB that gets enqueued on a network with infinite capacity in TEST()
41 // should be ready to exit the network immediately. in TEST()
42 SimulatedNetwork network = SimulatedNetwork({}); in TEST() local
43 ASSERT_TRUE(network.EnqueuePacket(PacketWithSize(1'000))); in TEST()
45 EXPECT_EQ(network.NextDeliveryTimeUs(), 0); in TEST()
49 // A packet of 125 bytes that gets enqueued on a network with 1 kbps capacity in TEST()
50 // should be ready to exit the network in 1 second. in TEST()
51 SimulatedNetwork network = SimulatedNetwork({.link_capacity_kbps = 1}); in TEST() local
[all …]
/external/cronet/tot/net/android/java/src/org/chromium/net/
DNetworkChangeNotifierAutoDetect.java22 import android.net.Network;
59 /** Immutable class representing the state of a device's network. */
68 // Indicates if this network is using DNS-over-TLS.
184 /** Returns boolean indicating if this network uses DNS-over-TLS. */
211 * @param networkInfo The NetworkInfo for the active network.
212 * @return the info of the network that is available to this app.
224 // Android hasn't finished updating the network access permissions as BLOCKED is only in processActiveNetworkInfo()
228 // Network state is not blocked which implies that network access is in processActiveNetworkInfo()
243 * default network.
246 Network network = null; in getNetworkState() local
[all …]
/external/cronet/stable/net/android/java/src/org/chromium/net/
DNetworkChangeNotifierAutoDetect.java22 import android.net.Network;
59 /** Immutable class representing the state of a device's network. */
68 // Indicates if this network is using DNS-over-TLS.
184 /** Returns boolean indicating if this network uses DNS-over-TLS. */
211 * @param networkInfo The NetworkInfo for the active network.
212 * @return the info of the network that is available to this app.
224 // Android hasn't finished updating the network access permissions as BLOCKED is only in processActiveNetworkInfo()
228 // Network state is not blocked which implies that network access is in processActiveNetworkInfo()
243 * default network.
246 Network network = null; in getNetworkState() local
[all …]
/external/google-cloud-java/java-network-management/
DCHANGELOG.md3 …ogleapis/google-cloud-java/compare/google-cloud-network-management-v1.5.1-SNAPSHOT...google-cloud-
24 …m/googleapis/google-cloud-java/compare/google-cloud-network-management-v1.4.4...google-cloud-netwo…
45 ## [1.4.4](https://github.com/googleapis/java-network-management/compare/v1.4.3...v1.4.4) (2022-10-…
50 * update protobuf to v3.21.7 ([cb5d739](https://github.com/googleapis/java-network-management/commi…
52 ## [1.4.3](https://github.com/googleapis/java-network-management/compare/v1.4.2...v1.4.3) (2022-10-…
57 …ttps://github.com/googleapis/java-network-management/issues/222)) ([ce21ce0](https://github.com/go…
58 …ttps://github.com/googleapis/java-network-management/issues/226)) ([77af46e](https://github.com/go…
59 …ttps://github.com/googleapis/java-network-management/issues/227)) ([cdf3dbd](https://github.com/go…
60 …ttps://github.com/googleapis/java-network-management/issues/247)) ([e8e6001](https://github.com/go…
61 …ttps://github.com/googleapis/java-network-management/issues/223)) ([3cadb0f](https://github.com/go…
[all …]
/external/guava/android/guava/src/com/google/common/graph/
DImmutableNetwork.java30 * A {@link Network} whose elements and structural relationships will never change. Instances of
31 * this class may be obtained with {@link #copyOf(Network)}.
52 private ImmutableNetwork(Network<N, E> network) { in ImmutableNetwork() argument
54 NetworkBuilder.from(network), getNodeConnections(network), getEdgeToReferenceNode(network)); in ImmutableNetwork()
57 /** Returns an immutable copy of {@code network}. */
58 public static <N, E> ImmutableNetwork<N, E> copyOf(Network<N, E> network) { in copyOf() argument
59 return (network instanceof ImmutableNetwork) in copyOf()
60 ? (ImmutableNetwork<N, E>) network in copyOf()
61 : new ImmutableNetwork<N, E>(network); in copyOf()
70 public static <N, E> ImmutableNetwork<N, E> copyOf(ImmutableNetwork<N, E> network) { in copyOf() argument
[all …]
/external/guava/guava/src/com/google/common/graph/
DImmutableNetwork.java30 * A {@link Network} whose elements and structural relationships will never change. Instances of
31 * this class may be obtained with {@link #copyOf(Network)}.
52 private ImmutableNetwork(Network<N, E> network) { in ImmutableNetwork() argument
54 NetworkBuilder.from(network), getNodeConnections(network), getEdgeToReferenceNode(network)); in ImmutableNetwork()
57 /** Returns an immutable copy of {@code network}. */
58 public static <N, E> ImmutableNetwork<N, E> copyOf(Network<N, E> network) { in copyOf() argument
59 return (network instanceof ImmutableNetwork) in copyOf()
60 ? (ImmutableNetwork<N, E>) network in copyOf()
61 : new ImmutableNetwork<N, E>(network); in copyOf()
70 public static <N, E> ImmutableNetwork<N, E> copyOf(ImmutableNetwork<N, E> network) { in copyOf() argument
[all …]
/external/webrtc/sdk/android/api/org/webrtc/
DNetworkMonitorAutoDetect.java22 import android.net.Network;
62 // above for the underlying network that is used by the VPN.
99 @GuardedBy("availableNetworks") final Set<Network> availableNetworks;
101 SimpleNetworkCallback(Set<Network> availableNetworks) { in SimpleNetworkCallback()
106 public void onAvailable(Network network) { in onAvailable() argument
108 "Network" in onAvailable()
109 + " handle: " + networkToNetId(network) in onAvailable()
110 + " becomes available: " + network.toString()); in onAvailable()
113 availableNetworks.add(network); in onAvailable()
115 onNetworkChanged(network); in onAvailable()
[all …]
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowNetworkTest.java7 import android.net.Network;
23 Network network = ShadowNetwork.newInstance(netId); in getNetId_shouldReturnConstructorNetId() local
24 ShadowNetwork shadowNetwork = Shadows.shadowOf(network); in getNetId_shouldReturnConstructorNetId()
31 Network network = ShadowNetwork.newInstance(0); in bindSocketDatagramSocket_shouldNotCrash() local
32 network.bindSocket(new DatagramSocket()); in bindSocketDatagramSocket_shouldNotCrash()
37 Network network = ShadowNetwork.newInstance(0); in bindSocketSocket_shouldNotCrash() local
38 network.bindSocket(new Socket()); in bindSocketSocket_shouldNotCrash()
44 Network network = ShadowNetwork.newInstance(0); in bindSocketFileDescriptor_shouldNotCrash() local
45 network.bindSocket(new FileDescriptor()); in bindSocketFileDescriptor_shouldNotCrash()
51 Network network = ShadowNetwork.newInstance(0); in isSocketBoundSocketDatagramSocket() local
[all …]
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowConnectivityManager.java13 import android.net.Network;
47 private static final Map<Integer, Network> netIdToNetwork = new HashMap<>();
49 private static Network processBoundNetwork;
53 private static Map<Network, Boolean> reportedNetworkConnectivity = new HashMap<>();
54 private static Map<Network, NetworkCapabilities> networkCapabilitiesMap = new HashMap<>();
56 private static final Map<Network, LinkProperties> linkPropertiesMap = new HashMap<>();
57 private static final Map<Network, ProxyInfo> proxyInfoMap = new HashMap<>();
139 public Map<Network, Boolean> getReportedNetworkConnectivity() { in getReportedNetworkConnectivity()
241 protected Network getActiveNetwork() { in getActiveNetwork()
269 protected NetworkInfo getNetworkInfo(Network network) { in getNetworkInfo() argument
[all …]
/external/google-cloud-java/java-network-security/
DCHANGELOG.md3 …oogleapis/google-cloud-java/compare/google-cloud-network-security-v0.7.1-SNAPSHOT...google-cloud-n…
23 …om/googleapis/google-cloud-java/compare/google-cloud-network-security-v0.6.4...google-cloud-networ…
43 ## [0.6.4](https://github.com/googleapis/java-network-security/compare/v0.6.3...v0.6.4) (2022-10-05)
48 * update protobuf to v3.21.7 ([c5f4762](https://github.com/googleapis/java-network-security/commit/…
50 ## [0.6.3](https://github.com/googleapis/java-network-security/compare/v0.6.2...v0.6.3) (2022-10-03)
55 …https://github.com/googleapis/java-network-security/issues/207)) ([96bf4f8](https://github.com/goo…
56 …https://github.com/googleapis/java-network-security/issues/211)) ([c6e5453](https://github.com/goo…
57 …https://github.com/googleapis/java-network-security/issues/212)) ([74e5b4c](https://github.com/goo…
58 …https://github.com/googleapis/java-network-security/issues/232)) ([58e4bac](https://github.com/goo…
59 …https://github.com/googleapis/java-network-security/issues/208)) ([ab4879d](https://github.com/goo…
[all …]
/external/cronet/stable/components/metrics/net/
Dnetwork_metrics_provider_unittest.cc14 #include "services/network/test/test_network_connection_tracker.h"
19 #include "chromeos/ash/components/network/network_handler_test_helper.h"
56 network::TestNetworkConnectionTracker::CreateAsyncGetter()); in TEST_F()
67 EXPECT_EQ(SystemProfileProto::Network::EFFECTIVE_CONNECTION_TYPE_UNKNOWN, in TEST_F()
68 system_profile.network().min_effective_connection_type()); in TEST_F()
69 EXPECT_EQ(SystemProfileProto::Network::EFFECTIVE_CONNECTION_TYPE_UNKNOWN, in TEST_F()
70 system_profile.network().max_effective_connection_type()); in TEST_F()
81 EXPECT_EQ(SystemProfileProto::Network::EFFECTIVE_CONNECTION_TYPE_2G, in TEST_F()
82 system_profile.network().min_effective_connection_type()); in TEST_F()
83 EXPECT_EQ(SystemProfileProto::Network::EFFECTIVE_CONNECTION_TYPE_2G, in TEST_F()
[all …]
Dnetwork_metrics_provider.cc28 #include "services/network/public/cpp/network_connection_tracker.h"
33 SystemProfileProto::Network::EffectiveConnectionType
38 return SystemProfileProto::Network::EFFECTIVE_CONNECTION_TYPE_UNKNOWN; in ConvertEffectiveConnectionType()
40 return SystemProfileProto::Network::EFFECTIVE_CONNECTION_TYPE_SLOW_2G; in ConvertEffectiveConnectionType()
42 return SystemProfileProto::Network::EFFECTIVE_CONNECTION_TYPE_2G; in ConvertEffectiveConnectionType()
44 return SystemProfileProto::Network::EFFECTIVE_CONNECTION_TYPE_3G; in ConvertEffectiveConnectionType()
46 return SystemProfileProto::Network::EFFECTIVE_CONNECTION_TYPE_4G; in ConvertEffectiveConnectionType()
48 return SystemProfileProto::Network::EFFECTIVE_CONNECTION_TYPE_OFFLINE; in ConvertEffectiveConnectionType()
56 network::NetworkConnectionTrackerAsyncGetter in NetworkMetricsProvider()
62 connection_type_(network::mojom::ConnectionType::CONNECTION_UNKNOWN), in NetworkMetricsProvider()
[all …]
/external/cronet/tot/components/metrics/net/
Dnetwork_metrics_provider_unittest.cc14 #include "services/network/test/test_network_connection_tracker.h"
19 #include "chromeos/ash/components/network/network_handler_test_helper.h"
56 network::TestNetworkConnectionTracker::CreateAsyncGetter()); in TEST_F()
67 EXPECT_EQ(SystemProfileProto::Network::EFFECTIVE_CONNECTION_TYPE_UNKNOWN, in TEST_F()
68 system_profile.network().min_effective_connection_type()); in TEST_F()
69 EXPECT_EQ(SystemProfileProto::Network::EFFECTIVE_CONNECTION_TYPE_UNKNOWN, in TEST_F()
70 system_profile.network().max_effective_connection_type()); in TEST_F()
81 EXPECT_EQ(SystemProfileProto::Network::EFFECTIVE_CONNECTION_TYPE_2G, in TEST_F()
82 system_profile.network().min_effective_connection_type()); in TEST_F()
83 EXPECT_EQ(SystemProfileProto::Network::EFFECTIVE_CONNECTION_TYPE_2G, in TEST_F()
[all …]
Dnetwork_metrics_provider.cc28 #include "services/network/public/cpp/network_connection_tracker.h"
33 SystemProfileProto::Network::EffectiveConnectionType
38 return SystemProfileProto::Network::EFFECTIVE_CONNECTION_TYPE_UNKNOWN; in ConvertEffectiveConnectionType()
40 return SystemProfileProto::Network::EFFECTIVE_CONNECTION_TYPE_SLOW_2G; in ConvertEffectiveConnectionType()
42 return SystemProfileProto::Network::EFFECTIVE_CONNECTION_TYPE_2G; in ConvertEffectiveConnectionType()
44 return SystemProfileProto::Network::EFFECTIVE_CONNECTION_TYPE_3G; in ConvertEffectiveConnectionType()
46 return SystemProfileProto::Network::EFFECTIVE_CONNECTION_TYPE_4G; in ConvertEffectiveConnectionType()
48 return SystemProfileProto::Network::EFFECTIVE_CONNECTION_TYPE_OFFLINE; in ConvertEffectiveConnectionType()
56 network::NetworkConnectionTrackerAsyncGetter in NetworkMetricsProvider()
62 connection_type_(network::mojom::ConnectionType::CONNECTION_UNKNOWN), in NetworkMetricsProvider()
[all …]
/external/googleapis/google/cloud/baremetalsolution/v2/
Dnetwork.proto35 // A Network.
36 message Network { message
38 type: "baremetalsolution.googleapis.com/Network"
39 pattern: "projects/{project}/locations/{location}/networks/{network}"
42 // Network type.
47 // Client network, a network peered to a Google Cloud VPC.
50 // Private network, a network local to the Bare Metal Solution environment.
54 // The possible states for this Network.
56 // The Network is in an unknown state.
59 // The Network is provisioning.
[all …]
/external/iptables/iptables/tests/shell/testcases/nft-only/
D0009-needless-bitwise_056 [ payload load 4b @ network header + 16 => reg 1 ]
61 [ payload load 4b @ network header + 16 => reg 1 ]
66 [ payload load 4b @ network header + 16 => reg 1 ]
72 [ payload load 3b @ network header + 16 => reg 1 ]
77 [ payload load 2b @ network header + 16 => reg 1 ]
82 [ payload load 1b @ network header + 16 => reg 1 ]
90 [ payload load 16b @ network header + 24 => reg 1 ]
95 [ payload load 16b @ network header + 24 => reg 1 ]
100 [ payload load 16b @ network header + 24 => reg 1 ]
106 [ payload load 15b @ network header + 24 => reg 1 ]
[all …]
/external/autotest/client/cros/enterprise/
Denterprise_network_api.py21 This class contains all the Network API methods required for
22 Enterprise Network WiFi tests.
38 Extract the required Network params from list of Networks found.
40 Filter out the required network parameters such Network Name/SSID,
44 @param networks_found_list: Network information returned as a result
48 required network parameters.
55 for network in networks_found_list:
57 name=network['Name'],
58 guid=network['GUID'],
59 connectionState=network['ConnectionState'],
[all …]

12345678910>>...397