/external/autotest/metadata/tests/ |
D | network.star | 13 '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/ |
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 …]
|
D | NetworkMutationTest.java | 30 /** Tests for repeated node and edge addition and removal in a {@link Network}. */ 53 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() [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/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/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; 79 // Used to specify the underlying network type if the type is CONNECTION_VPN. 127 // above for the underlying network that is used by the VPN. 161 * The methods in this class get called when the network changes if the callback 162 * is registered with a proper network request. It is only available in Android Lollipop 168 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() [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/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/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/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/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/rtc_base/ |
D | network.h | 39 class Network; variable 46 // Makes a string key for this network. Used in the network manager's maps. 47 // Network objects are keyed on interface name, network prefix and the 79 // Generic network manager interface. It provides list of local 91 typedef std::vector<Network*> NetworkList; 95 ENUMERATION_ALLOWED, // Adapter enumeration is allowed. Getting 0 network 96 // from GetNetworks means that there is no network 105 // Called when network list is updated. 108 // Indicates a failure when getting list of network interfaces. 115 // Start/Stop monitoring of network interfaces [all …]
|
D | network.cc | 11 #include "rtc_base/network.h" 52 Network* net; 56 bool CompareNetworks(const Network* a, const Network* b) { in CompareNetworks() 65 bool SortNetworks(const Network* a, const Network* b) { in SortNetworks() 66 // Network types will be preferred above everything else while sorting in SortNetworks() 91 // TODO(jonaso) : Rollout support for cellular network cost using A/B in ComputeNetworkCostByType() 118 // (network conditions over the route) are the same. Note that setting the in ComputeNetworkCostByType() 122 // select candidate pairs, where the network cost is among the criteria. in ComputeNetworkCostByType() 125 // The cost of a VPN should be computed using its underlying network type. in ComputeNetworkCostByType() 160 // Note: consider changing to const Network* as arguments [all …]
|
D | network_unittest.cc | 11 #include "rtc_base/network.h" 72 bool SameNameAndPrefix(const rtc::Network& a, const rtc::Network& b) { in SameNameAndPrefix() 102 const Network& network) { in IsIgnoredNetwork() argument 103 return network_manager.IsIgnoredNetwork(network); in IsIgnoredNetwork() 254 // Test that the Network ctor works properly. 256 Network ipv4_network1("test_eth0", "Test Network Adapter 1", in TEST_F() 259 EXPECT_EQ("Test Network Adapter 1", ipv4_network1.description()); in TEST_F() 266 Network ipv4_network1("test_eth0", "Test Network Adapter 1", in TEST_F() 268 Network ipv4_network2("test_eth1", "Test Network Adapter 2", in TEST_F() 277 Network ignore_me("ignore_me", "Ignore me please!", IPAddress(0x12345600U), in TEST_F() [all …]
|
/external/autotest/client/site_tests/policy_GlobalNetworkSettings/ |
D | policy_GlobalNetworkSettings.py | 29 If both networks are available, only the policy network should 30 connect. If the policy network is unavailable, then the user network 35 network. 37 network. 43 BLOCKED_ERROR = ('Could not connect to .* network. ' 49 'Unable to connect to user or policy network: %s' 53 raise error.TestFail('Network API received unrecognized ' 55 'network: %s' % user_error) 58 raise error.TestFail('Network API received unrecognized ' 60 'network: %s' % policy_error) [all …]
|
/external/armnn/src/armnn/test/ |
D | QuantizerTest.cpp | 7 #include "../Network.hpp" 194 auto network = PolymorphicDowncast<const Network*>(inputNetwork); in VisitLayersTopologically() local 195 auto graph = network->GetGraph().TopologicalSort(); in VisitLayersTopologically() 228 INetworkPtr network = INetwork::Create(); in BOOST_AUTO_TEST_CASE() local 231 IConnectableLayer* input0 = network->AddInputLayer(0); in BOOST_AUTO_TEST_CASE() 232 IConnectableLayer* input1 = network->AddInputLayer(1); in BOOST_AUTO_TEST_CASE() 233 IConnectableLayer* addition = network->AddAdditionLayer(); in BOOST_AUTO_TEST_CASE() 234 IConnectableLayer* output = network->AddOutputLayer(2); in BOOST_AUTO_TEST_CASE() 249 …INetworkPtr quantizedNetworkQAsymmU8 = INetworkQuantizer::Create(network.get(), qAsymmU8Options)->… in BOOST_AUTO_TEST_CASE() 254 …INetworkPtr quantizedNetworkQAsymmS8 = INetworkQuantizer::Create(network.get(), qAsymmS8Options)->… in BOOST_AUTO_TEST_CASE() [all …]
|
/external/autotest/client/site_tests/network_ChromeWifiEndToEnd/ |
D | network_ChromeWifiEndToEnd.py | 24 4. Tests that the DUT autoconnects to previously connected WiFi network. 40 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) 58 @raises error.TestFail if network names do not match. 64 'Following network does not match: %s' % name) 65 logging.info('Network names match!') [all …]
|