| /external/autotest/metadata/tests/ |
| D | network.star | 13 '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/ |
| D | AbstractNetworkTest.java | 44 * Abstract base class for testing implementations of {@link Network} interface. Network instances 53 * <li>Test cases related to the specific implementation of the {@link Network} interface. 61 Network<Integer, String> network; field in AbstractNetworkTest 64 * The same reference as {@link #network}, except as a mutable network. This field is null in case 65 * {@link #createGraph()} didn't return a mutable network. 109 abstract Network<Integer, String> createGraph(); in createGraph() 113 * graph implementations, this method should replace {@link #network} with a new graph that 120 * graph implementations, this method should replace {@link #network} with a new graph that 131 network = createGraph(); in init() 132 if (network instanceof MutableNetwork) { in init() [all …]
|
| D | AbstractStandardUndirectedNetworkTest.java | 32 * Abstract base class for testing undirected {@link Network} implementations defined in this 41 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() [all …]
|
| D | AbstractStandardDirectedNetworkTest.java | 34 * 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 …]
|
| D | DefaultNetworkImplementationsTest.java | 38 * Test for {@link Network} methods which have default implementations. Currently those 39 * implementations are in {@link AbstractNetwork}; in future they might be in {@link Network} 46 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() [all …]
|
| /external/guava/android/guava-tests/test/com/google/common/graph/ |
| D | AbstractNetworkTest.java | 44 * Abstract base class for testing implementations of {@link Network} interface. Network instances 53 * <li>Test cases related to the specific implementation of the {@link Network} interface. 61 Network<Integer, String> network; field in AbstractNetworkTest 64 * The same reference as {@link #network}, except as a mutable network. This field is null in case 65 * {@link #createGraph()} didn't return a mutable network. 109 abstract Network<Integer, String> createGraph(); in createGraph() 113 * graph implementations, this method should replace {@link #network} with a new graph that 120 * graph implementations, this method should replace {@link #network} with a new graph that 131 network = createGraph(); in init() 132 if (network instanceof MutableNetwork) { in init() [all …]
|
| D | AbstractStandardUndirectedNetworkTest.java | 31 * Abstract base class for testing undirected {@link Network} implementations defined in this 40 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() [all …]
|
| D | AbstractStandardDirectedNetworkTest.java | 33 * Abstract base class for testing directed {@link Network} implementations defined in this package. 39 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() [all …]
|
| D | DefaultNetworkImplementationsTest.java | 38 * Test for {@link Network} methods which have default implementations. Currently those 39 * implementations are in {@link AbstractNetwork}; in future they might be in {@link Network} 46 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() [all …]
|
| /external/iproute2/man/man8/ |
| D | ip-netns.8 | 3 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/ |
| D | simulated_network_unittest.cc | 35 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/components/metrics/net/ |
| D | network_metrics_provider.cc | 28 #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() 51 return SystemProfileProto::Network::EFFECTIVE_CONNECTION_TYPE_UNKNOWN; in ConvertEffectiveConnectionType() 54 return SystemProfileProto::Network::EFFECTIVE_CONNECTION_TYPE_UNKNOWN; in ConvertEffectiveConnectionType() [all …]
|
| D | network_metrics_provider_unittest.cc | 14 #include "services/network/test/test_network_connection_tracker.h" 19 #include "chromeos/ash/components/network/network_handler_test_helper.h" 53 network::TestNetworkConnectionTracker::CreateAsyncGetter()); in TEST_F() 64 EXPECT_EQ(SystemProfileProto::Network::EFFECTIVE_CONNECTION_TYPE_UNKNOWN, in TEST_F() 65 system_profile.network().min_effective_connection_type()); in TEST_F() 66 EXPECT_EQ(SystemProfileProto::Network::EFFECTIVE_CONNECTION_TYPE_UNKNOWN, in TEST_F() 67 system_profile.network().max_effective_connection_type()); in TEST_F() 78 EXPECT_EQ(SystemProfileProto::Network::EFFECTIVE_CONNECTION_TYPE_2G, in TEST_F() 79 system_profile.network().min_effective_connection_type()); in TEST_F() 80 EXPECT_EQ(SystemProfileProto::Network::EFFECTIVE_CONNECTION_TYPE_2G, in TEST_F() [all …]
|
| /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
| D | ShadowConnectivityManager.java | 13 import android.net.Network; 40 private final Map<Integer, Network> netIdToNetwork = new HashMap<>(); 42 private Network processBoundNetwork; 46 private Map<Network, Boolean> reportedNetworkConnectivity = new HashMap<>(); 47 private Map<Network, NetworkCapabilities> networkCapabilitiesMap = new HashMap<>(); 49 private final Map<Network, LinkProperties> linkPropertiesMap = new HashMap<>(); 79 public Map<Network, Boolean> getReportedNetworkConnectivity() { in getReportedNetworkConnectivity() 123 protected Network getActiveNetwork() { in getActiveNetwork() 151 protected NetworkInfo getNetworkInfo(Network network) { in getNetworkInfo() argument 152 if (network == null) { in getNetworkInfo() [all …]
|
| /external/cronet/net/android/java/src/org/chromium/net/ |
| D | NetworkChangeNotifierAutoDetect.java | 22 import android.net.Network; 61 * Immutable class representing the state of a device's network. 71 // Indicates if this network is using DNS-over-TLS. 188 * Returns boolean indicating if this network uses DNS-over-TLS. 219 * @param networkInfo The NetworkInfo for the active network. 220 * @return the info of the network that is available to this app. 232 // Android hasn't finished updating the network access permissions as BLOCKED is only in processActiveNetworkInfo() 240 // Network state is not blocked which implies that network access is in processActiveNetworkInfo() 255 * default network. 258 Network network = null; in getNetworkState() local [all …]
|
| /external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ |
| D | ShadowConnectivityManager.java | 15 import android.net.Network; 46 private final Map<Integer, Network> netIdToNetwork = new HashMap<>(); 48 private Network processBoundNetwork; 52 private Map<Network, Boolean> reportedNetworkConnectivity = new HashMap<>(); 53 private Map<Network, NetworkCapabilities> networkCapabilitiesMap = new HashMap<>(); 55 private final Map<Network, LinkProperties> linkPropertiesMap = new HashMap<>(); 56 private final Map<Network, ProxyInfo> proxyInfoMap = new HashMap<>(); 98 public Map<Network, Boolean> getReportedNetworkConnectivity() { in getReportedNetworkConnectivity() 186 protected Network getActiveNetwork() { in getActiveNetwork() 214 protected NetworkInfo getNetworkInfo(Network network) { in getNetworkInfo() argument [all …]
|
| /external/webrtc/sdk/android/api/org/webrtc/ |
| D | NetworkMonitorAutoDetect.java | 22 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/guava/guava/src/com/google/common/graph/ |
| D | ImmutableNetwork.java | 30 * 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/android/guava/src/com/google/common/graph/ |
| D | ImmutableNetwork.java | 30 * 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/robolectric/robolectric/src/test/java/org/robolectric/shadows/ |
| D | ShadowNetworkTest.java | 8 import android.net.Network; 25 Network network = ShadowNetwork.newInstance(netId); in getNetId_shouldReturnConstructorNetId() local 26 ShadowNetwork shadowNetwork = Shadows.shadowOf(network); in getNetId_shouldReturnConstructorNetId() 33 Network network = ShadowNetwork.newInstance(0); in bindSocketDatagramSocket_shouldNotCrash() local 34 network.bindSocket(new DatagramSocket()); in bindSocketDatagramSocket_shouldNotCrash() 39 Network network = ShadowNetwork.newInstance(0); in bindSocketSocket_shouldNotCrash() local 40 network.bindSocket(new Socket()); in bindSocketSocket_shouldNotCrash() 46 Network network = ShadowNetwork.newInstance(0); in bindSocketFileDescriptor_shouldNotCrash() local 47 network.bindSocket(new FileDescriptor()); in bindSocketFileDescriptor_shouldNotCrash() 53 Network network = ShadowNetwork.newInstance(0); in isSocketBoundSocketDatagramSocket() local [all …]
|
| /external/iptables/iptables/tests/shell/testcases/nft-only/ |
| D | 0009-needless-bitwise_0 | 56 [ 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/webrtc/rtc_base/ |
| D | network_unittest.cc | 11 #include "rtc_base/network.h" 122 bool SameNameAndPrefix(const rtc::Network& a, const rtc::Network& b) { in SameNameAndPrefix() 134 std::vector<const Network*> CopyNetworkPointers( in CopyNetworkPointers() 135 const std::vector<std::unique_ptr<Network>>& owning_list) { in CopyNetworkPointers() 136 std::vector<const Network*> ptr_list; in CopyNetworkPointers() 138 for (const auto& network : owning_list) { in CopyNetworkPointers() local 139 ptr_list.push_back(network.get()); in CopyNetworkPointers() 154 std::vector<std::unique_ptr<Network>> list, in MergeNetworkList() 162 const Network& network) { in IsIgnoredNetwork() argument 164 return network_manager.IsIgnoredNetwork(network); in IsIgnoredNetwork() [all …]
|
| D | network.h | 49 class Network; variable 57 bool CompareNetworks(const std::unique_ptr<Network>& a, 58 const std::unique_ptr<Network>& b); 61 // Makes a string key for this network. Used in the network manager's maps. 62 // Network objects are keyed on interface name, network prefix and the 94 // Network/mask in CIDR representation. 113 // Generic network manager interface. It provides list of local 127 ENUMERATION_ALLOWED, // Adapter enumeration is allowed. Getting 0 network 128 // from GetNetworks means that there is no network 134 // Called when network list is updated. [all …]
|
| /external/autotest/client/cros/enterprise/ |
| D | enterprise_network_api.py | 21 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 …]
|
| /external/webrtc/test/network/g3doc/ |
| D | index.md | 1 # Network Emulation Framework 9 This documentation explain the implementation details of Network Emulation 19 Network Emulation Framework provides an ability to emulate network behavior 21 configure network behavior, the user can choose different options: 28 routes used to connect them. All network related entities are created and 37 network routes from senders to receivers. This task queue behaviour is 41 The network operates on IP level and supports only UDP for now. 47 * `webrtc::NetworkBehaviorInterface` - defines how emulated network should 52 received via emulated network. It has source and destination address and 59 framework. It represents a network interface on client's machine. It has its [all …]
|