Home
last modified time | relevance | path

Searched refs:network (Results 1 – 25 of 1553) sorted by relevance

12345678910>>...63

/external/autotest/metadata/tests/
Dnetwork.star13 'network/ChromeCelluarEndToEnd',
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.java61 Network<Integer, String> network; field in AbstractNetworkTest
131 network = createGraph(); in init()
132 if (network instanceof MutableNetwork) { in init()
133 networkAsMutableNetwork = (MutableNetwork<Integer, String>) network; in init()
139 validateNetwork(network); in validateNetworkState()
142 static <N, E> void validateNetwork(Network<N, E> network) { in validateNetwork() argument
143 assertStronglyEquivalent(network, Graphs.copyOf(network)); in validateNetwork()
144 assertStronglyEquivalent(network, ImmutableNetwork.copyOf(network)); in validateNetwork()
146 String networkString = network.toString(); in validateNetwork()
147 assertThat(networkString).contains("isDirected: " + network.isDirected()); in validateNetwork()
[all …]
DAbstractStandardUndirectedNetworkTest.java41 for (Integer node : network.nodes()) { in validateUndirectedEdges()
44 network.inEdges(node), network.outEdges(node), network.incidentEdges(node)) in validateUndirectedEdges()
48 network.predecessors(node), network.successors(node), network.adjacentNodes(node)) in validateUndirectedEdges()
51 for (Integer adjacentNode : network.adjacentNodes(node)) { in validateUndirectedEdges()
52 assertThat(network.edgesConnecting(node, adjacentNode)) in validateUndirectedEdges()
53 .containsExactlyElementsIn(network.edgesConnecting(adjacentNode, node)); in validateUndirectedEdges()
61 Set<Integer> nodes = network.nodes(); in nodes_checkReturnedSetMutability()
67 assertThat(network.nodes()).containsExactlyElementsIn(nodes); in nodes_checkReturnedSetMutability()
74 Set<String> edges = network.edges(); in edges_checkReturnedSetMutability()
80 assertThat(network.edges()).containsExactlyElementsIn(edges); in edges_checkReturnedSetMutability()
[all …]
DAbstractStandardDirectedNetworkTest.java40 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()
73 assertThat(network.nodes()).containsExactlyElementsIn(nodes); in nodes_checkReturnedSetMutability()
[all …]
DDefaultNetworkImplementationsTest.java46 private MutableNetwork<Integer, String> network; field in DefaultNetworkImplementationsTest
77 network = builder.allowsSelfLoops(true).allowsParallelEdges(true).build(); in setUp()
78 networkForTest = NetworkForTest.from(network); in setUp()
83 network.addNode(N1); in edgesConnecting_disconnectedNodes()
84 network.addNode(N2); in edgesConnecting_disconnectedNodes()
90 network.addNode(N1); in edgesConnecting_nodesNotInGraph()
91 network.addNode(N2); in edgesConnecting_nodesNotInGraph()
114 network.addNode(N1); in edgesConnecting_checkReturnedSetMutability()
115 network.addNode(N2); in edgesConnecting_checkReturnedSetMutability()
116 Set<String> edgesConnecting = network.edgesConnecting(N1, N2); in edgesConnecting_checkReturnedSetMutability()
[all …]
DNetworkMutationTest.java53 MutableNetwork<Integer, Object> network = in testNetworkMutation() local
56 assertThat(network.nodes()).isEmpty(); in testNetworkMutation()
57 assertThat(network.edges()).isEmpty(); in testNetworkMutation()
58 AbstractNetworkTest.validateNetwork(network); in testNetworkMutation()
60 while (network.nodes().size() < NUM_NODES) { in testNetworkMutation()
61 network.addNode(gen.nextInt(NODE_POOL_SIZE)); in testNetworkMutation()
63 ArrayList<Integer> nodeList = new ArrayList<>(network.nodes()); in testNetworkMutation()
67 network.addEdge( in testNetworkMutation()
71 ArrayList<Object> edgeList = new ArrayList<>(network.edges()); in testNetworkMutation()
73 assertThat(network.nodes()).hasSize(NUM_NODES); in testNetworkMutation()
[all …]
DElementOrderTest.java92 MutableNetwork<Integer, String> network = in edgeOrder_none() local
95 assertThat(network.edgeOrder()).isEqualTo(unordered()); in edgeOrder_none()
96 assertThat(network.nodeOrder()).isEqualTo(insertion()); // default in edgeOrder_none()
101 MutableNetwork<Integer, String> network = in edgeOrder_insertion() local
104 addEdges(network); in edgeOrder_insertion()
106 assertThat(network.edgeOrder()).isEqualTo(ElementOrder.insertion()); in edgeOrder_insertion()
107 assertThat(network.edges()).containsExactly("i", "e", "p").inOrder(); in edgeOrder_insertion()
108 assertThat(network.nodeOrder()).isEqualTo(ElementOrder.insertion()); // default in edgeOrder_insertion()
114 MutableNetwork<Integer, String> network = NetworkBuilder.directed().build(); in edgeOrder_default() local
116 addEdges(network); in edgeOrder_default()
[all …]
DNetworkEquivalenceTest.java45 private final MutableNetwork<Integer, String> network; field in NetworkEquivalenceTest
55 this.network = createNetwork(edgeType); in NetworkEquivalenceTest()
82 network.addNode(N1); in equivalent_nodeSetsDiffer()
87 assertThat(network).isNotEqualTo(g2); in equivalent_nodeSetsDiffer()
93 network.addEdge(N1, N2, E12); in equivalent_edgeSetsDiffer()
98 assertThat(network).isNotEqualTo(g2); in equivalent_edgeSetsDiffer()
104 network.addEdge(N1, N2, E12); in equivalent_directedVsUndirected()
109 assertThat(network).isNotEqualTo(g2); in equivalent_directedVsUndirected()
115 network.addEdge(N1, N1, E11); in equivalent_selfLoop_directedVsUndirected()
120 assertThat(network).isNotEqualTo(g2); in equivalent_selfLoop_directedVsUndirected()
[all …]
DImmutableNetworkTest.java58 Network<String, String> network = ImmutableNetwork.copyOf(mutableNetwork); in edgesConnecting_directed() local
60 assertThat(network.edgesConnecting("A", "A")).containsExactly("AA"); in edgesConnecting_directed()
61 assertThat(network.edgesConnecting("A", "B")).containsExactly("AB"); in edgesConnecting_directed()
62 assertThat(network.edgesConnecting("B", "A")).isEmpty(); in edgesConnecting_directed()
71 Network<String, String> network = ImmutableNetwork.copyOf(mutableNetwork); in edgesConnecting_undirected() local
73 assertThat(network.edgesConnecting("A", "A")).containsExactly("AA"); in edgesConnecting_undirected()
74 assertThat(network.edgesConnecting("A", "B")).containsExactly("AB"); in edgesConnecting_undirected()
75 assertThat(network.edgesConnecting("B", "A")).containsExactly("AB"); in edgesConnecting_undirected()
118 ImmutableNetwork<String, Integer> network = in immutableNetworkBuilder_addNode() local
121 assertThat(network.nodes()).containsExactly("A"); in immutableNetworkBuilder_addNode()
[all …]
/external/guava/android/guava-tests/test/com/google/common/graph/
DAbstractNetworkTest.java61 Network<Integer, String> network; field in AbstractNetworkTest
131 network = createGraph(); in init()
132 if (network instanceof MutableNetwork) { in init()
133 networkAsMutableNetwork = (MutableNetwork<Integer, String>) network; in init()
139 validateNetwork(network); in validateNetworkState()
142 static <N, E> void validateNetwork(Network<N, E> network) { in validateNetwork() argument
143 assertStronglyEquivalent(network, Graphs.copyOf(network)); in validateNetwork()
144 assertStronglyEquivalent(network, ImmutableNetwork.copyOf(network)); in validateNetwork()
146 String networkString = network.toString(); in validateNetwork()
147 assertThat(networkString).contains("isDirected: " + network.isDirected()); in validateNetwork()
[all …]
DAbstractStandardUndirectedNetworkTest.java40 for (Integer node : network.nodes()) { in validateUndirectedEdges()
43 network.inEdges(node), network.outEdges(node), network.incidentEdges(node)) in validateUndirectedEdges()
47 network.predecessors(node), network.successors(node), network.adjacentNodes(node)) in validateUndirectedEdges()
50 for (Integer adjacentNode : network.adjacentNodes(node)) { in validateUndirectedEdges()
51 assertThat(network.edgesConnecting(node, adjacentNode)) in validateUndirectedEdges()
52 .containsExactlyElementsIn(network.edgesConnecting(adjacentNode, node)); in validateUndirectedEdges()
60 Set<Integer> nodes = network.nodes(); in nodes_checkReturnedSetMutability()
66 assertThat(network.nodes()).containsExactlyElementsIn(nodes); in nodes_checkReturnedSetMutability()
73 Set<String> edges = network.edges(); in edges_checkReturnedSetMutability()
79 assertThat(network.edges()).containsExactlyElementsIn(edges); in edges_checkReturnedSetMutability()
[all …]
DAbstractStandardDirectedNetworkTest.java39 for (Integer node : network.nodes()) { in validateSourceAndTarget()
40 for (String inEdge : network.inEdges(node)) { in validateSourceAndTarget()
41 EndpointPair<Integer> endpointPair = network.incidentNodes(inEdge); in validateSourceAndTarget()
46 for (String outEdge : network.outEdges(node)) { in validateSourceAndTarget()
47 EndpointPair<Integer> endpointPair = network.incidentNodes(outEdge); in validateSourceAndTarget()
52 for (Integer adjacentNode : network.adjacentNodes(node)) { in validateSourceAndTarget()
53 Set<String> edges = network.edgesConnecting(node, adjacentNode); in validateSourceAndTarget()
54 Set<String> antiParallelEdges = network.edgesConnecting(adjacentNode, node); in validateSourceAndTarget()
66 Set<Integer> nodes = network.nodes(); in nodes_checkReturnedSetMutability()
72 assertThat(network.nodes()).containsExactlyElementsIn(nodes); in nodes_checkReturnedSetMutability()
[all …]
DDefaultNetworkImplementationsTest.java46 private MutableNetwork<Integer, String> network; field in DefaultNetworkImplementationsTest
77 network = builder.allowsSelfLoops(true).allowsParallelEdges(true).build(); in setUp()
78 networkForTest = NetworkForTest.from(network); in setUp()
83 network.addNode(N1); in edgesConnecting_disconnectedNodes()
84 network.addNode(N2); in edgesConnecting_disconnectedNodes()
90 network.addNode(N1); in edgesConnecting_nodesNotInGraph()
91 network.addNode(N2); in edgesConnecting_nodesNotInGraph()
114 network.addNode(N1); in edgesConnecting_checkReturnedSetMutability()
115 network.addNode(N2); in edgesConnecting_checkReturnedSetMutability()
116 Set<String> edgesConnecting = network.edgesConnecting(N1, N2); in edgesConnecting_checkReturnedSetMutability()
[all …]
DNetworkMutationTest.java53 MutableNetwork<Integer, Object> network = in testNetworkMutation() local
56 assertThat(network.nodes()).isEmpty(); in testNetworkMutation()
57 assertThat(network.edges()).isEmpty(); in testNetworkMutation()
58 AbstractNetworkTest.validateNetwork(network); in testNetworkMutation()
60 while (network.nodes().size() < NUM_NODES) { in testNetworkMutation()
61 network.addNode(gen.nextInt(NODE_POOL_SIZE)); in testNetworkMutation()
63 ArrayList<Integer> nodeList = new ArrayList<>(network.nodes()); in testNetworkMutation()
67 network.addEdge( in testNetworkMutation()
71 ArrayList<Object> edgeList = new ArrayList<>(network.edges()); in testNetworkMutation()
73 assertThat(network.nodes()).hasSize(NUM_NODES); in testNetworkMutation()
[all …]
DElementOrderTest.java92 MutableNetwork<Integer, String> network = in edgeOrder_none() local
95 assertThat(network.edgeOrder()).isEqualTo(unordered()); in edgeOrder_none()
96 assertThat(network.nodeOrder()).isEqualTo(insertion()); // default in edgeOrder_none()
101 MutableNetwork<Integer, String> network = in edgeOrder_insertion() local
104 addEdges(network); in edgeOrder_insertion()
106 assertThat(network.edgeOrder()).isEqualTo(ElementOrder.insertion()); in edgeOrder_insertion()
107 assertThat(network.edges()).containsExactly("i", "e", "p").inOrder(); in edgeOrder_insertion()
108 assertThat(network.nodeOrder()).isEqualTo(ElementOrder.insertion()); // default in edgeOrder_insertion()
114 MutableNetwork<Integer, String> network = NetworkBuilder.directed().build(); in edgeOrder_default() local
116 addEdges(network); in edgeOrder_default()
[all …]
DNetworkEquivalenceTest.java45 private final MutableNetwork<Integer, String> network; field in NetworkEquivalenceTest
55 this.network = createNetwork(edgeType); in NetworkEquivalenceTest()
82 network.addNode(N1); in equivalent_nodeSetsDiffer()
87 assertThat(network).isNotEqualTo(g2); in equivalent_nodeSetsDiffer()
93 network.addEdge(N1, N2, E12); in equivalent_edgeSetsDiffer()
98 assertThat(network).isNotEqualTo(g2); in equivalent_edgeSetsDiffer()
104 network.addEdge(N1, N2, E12); in equivalent_directedVsUndirected()
109 assertThat(network).isNotEqualTo(g2); in equivalent_directedVsUndirected()
115 network.addEdge(N1, N1, E11); in equivalent_selfLoop_directedVsUndirected()
120 assertThat(network).isNotEqualTo(g2); in equivalent_selfLoop_directedVsUndirected()
[all …]
DImmutableNetworkTest.java58 Network<String, String> network = ImmutableNetwork.copyOf(mutableNetwork); in edgesConnecting_directed() local
60 assertThat(network.edgesConnecting("A", "A")).containsExactly("AA"); in edgesConnecting_directed()
61 assertThat(network.edgesConnecting("A", "B")).containsExactly("AB"); in edgesConnecting_directed()
62 assertThat(network.edgesConnecting("B", "A")).isEmpty(); in edgesConnecting_directed()
71 Network<String, String> network = ImmutableNetwork.copyOf(mutableNetwork); in edgesConnecting_undirected() local
73 assertThat(network.edgesConnecting("A", "A")).containsExactly("AA"); in edgesConnecting_undirected()
74 assertThat(network.edgesConnecting("A", "B")).containsExactly("AB"); in edgesConnecting_undirected()
75 assertThat(network.edgesConnecting("B", "A")).containsExactly("AB"); in edgesConnecting_undirected()
118 ImmutableNetwork<String, Integer> network = in immutableNetworkBuilder_addNode() local
121 assertThat(network.nodes()).containsExactly("A"); in immutableNetworkBuilder_addNode()
[all …]
/external/wpa_supplicant_8/wpa_supplicant/
Dwpa_supplicant.conf1682 network={
1690 network={
1698 network={
1709 network={
1721 network={
1738 network={
1752 network={
1765 network={
1778 network={
1796 network={
[all …]
/external/guava/android/guava/src/com/google/common/graph/
DImmutableNetwork.java51 private ImmutableNetwork(Network<N, E> network) { in ImmutableNetwork() argument
53 NetworkBuilder.from(network), getNodeConnections(network), getEdgeToReferenceNode(network)); in ImmutableNetwork()
57 public static <N, E> ImmutableNetwork<N, E> copyOf(Network<N, E> network) { in copyOf() argument
58 return (network instanceof ImmutableNetwork) in copyOf()
59 ? (ImmutableNetwork<N, E>) network in copyOf()
60 : new ImmutableNetwork<N, E>(network); in copyOf()
69 public static <N, E> ImmutableNetwork<N, E> copyOf(ImmutableNetwork<N, E> network) { in copyOf() argument
70 return checkNotNull(network); in copyOf()
78 private static <N, E> Map<N, NetworkConnections<N, E>> getNodeConnections(Network<N, E> network) { in getNodeConnections() argument
83 for (N node : network.nodes()) { in getNodeConnections()
[all …]
/external/guava/guava/src/com/google/common/graph/
DImmutableNetwork.java51 private ImmutableNetwork(Network<N, E> network) { in ImmutableNetwork() argument
53 NetworkBuilder.from(network), getNodeConnections(network), getEdgeToReferenceNode(network)); in ImmutableNetwork()
57 public static <N, E> ImmutableNetwork<N, E> copyOf(Network<N, E> network) { in copyOf() argument
58 return (network instanceof ImmutableNetwork) in copyOf()
59 ? (ImmutableNetwork<N, E>) network in copyOf()
60 : new ImmutableNetwork<N, E>(network); in copyOf()
69 public static <N, E> ImmutableNetwork<N, E> copyOf(ImmutableNetwork<N, E> network) { in copyOf() argument
70 return checkNotNull(network); in copyOf()
78 private static <N, E> Map<N, NetworkConnections<N, E>> getNodeConnections(Network<N, E> network) { in getNodeConnections() argument
83 for (N node : network.nodes()) { in getNodeConnections()
[all …]
/external/autotest/server/site_tests/network_WiFi_ChaosConfigSniffer/
Dnetwork_WiFi_ChaosConfigSniffer.py10 from autotest_lib.client.common_lib.cros.network import iw_runner
31 network = networks[0]
34 f.write(pprint.pformat(network))
36 f.write('[%s]\n' % network.bss)
40 f.write('ssid = %s\n' % network.ssid)
41 f.write('frequency = %s\n' % network.frequency)
43 if network.frequency > 2484:
44 f.write('bss5 = %s\n' % network.bss)
46 f.write('bss = %s\n' % network.bss)
49 f.write('security = %s\n' % network.security)
[all …]
/external/webrtc/call/
Dsimulated_network_unittest.cc36 SimulatedNetwork network(config); in TEST() local
50 bool success = network.EnqueuePacket(PacketInFlightInfo{ in TEST()
58 if (network.NextDeliveryTimeUs()) in TEST()
59 next_delivery = Timestamp::Micros(*network.NextDeliveryTimeUs()); in TEST()
63 network.DequeueDeliverablePackets(current_time.us())) { in TEST()
69 while (network.NextDeliveryTimeUs()) { in TEST()
71 network.DequeueDeliverablePackets(*network.NextDeliveryTimeUs())) { in TEST()
91 SimulatedNetwork network(config); in TEST() local
107 bool success = network.EnqueuePacket(PacketInFlightInfo{ in TEST()
115 if (network.NextDeliveryTimeUs()) in TEST()
[all …]
/external/autotest/client/site_tests/network_ChromeWifiEndToEnd/
Dnetwork_ChromeWifiEndToEnd.py40 for network in networks_found:
41 network = NetworkInfo(name=network['Name'],
42 guid=network['GUID'],
43 connectionState=network['ConnectionState'],
44 security=network['WiFi']['Security'])
45 network_list.append(network)
93 def _connect_to_network(self, network): argument
102 '"' + network.guid +'"')
108 (network.name, new_network_connect['error']))
121 for network in network_list:
[all …]
/external/webrtc/rtc_base/
Dnetwork.cc324 for (Network* network : list) { in MergeNetworkList()
326 std::string key = MakeNetworkKey(network->name(), network->prefix(), in MergeNetworkList()
327 network->prefix_length()); in MergeNetworkList()
331 addrlist.net = network; in MergeNetworkList()
335 const std::vector<InterfaceAddress>& addresses = network->GetIPs(); in MergeNetworkList()
341 delete network; in MergeNetworkList()
404 Network* network = kv.second; in MergeNetworkList() local
406 bool found = absl::c_linear_search(networks_, network); in MergeNetworkList()
407 network->set_active(found); in MergeNetworkList()
418 for (Network* network : networks_) { in MergeNetworkList()
[all …]
/external/webrtc/sdk/android/api/org/webrtc/
DNetworkMonitorAutoDetect.java168 public void onAvailable(Network network) { in onAvailable() argument
169 Logging.d(TAG, "Network becomes available: " + network.toString()); in onAvailable()
170 onNetworkChanged(network); in onAvailable()
174 public void onCapabilitiesChanged(Network network, NetworkCapabilities networkCapabilities) { in onCapabilitiesChanged() argument
178 onNetworkChanged(network); in onCapabilitiesChanged()
182 public void onLinkPropertiesChanged(Network network, LinkProperties linkProperties) { in onLinkPropertiesChanged() argument
186 onNetworkChanged(network); in onLinkPropertiesChanged()
190 public void onLosing(Network network, int maxMsToLive) { in onLosing() argument
194 TAG, "Network " + network.toString() + " is about to lose in " + maxMsToLive + "ms"); in onLosing()
198 public void onLost(Network network) { in onLost() argument
[all …]

12345678910>>...63