HomeSort by relevance Sort by last modified time
    Searched refs:network (Results 151 - 175 of 1047) sorted by null

1 2 3 4 5 67 8 91011>>

  /prebuilts/go/darwin-x86/src/net/
file_test.go 22 network string
37 if !testableNetwork(tt.network) {
38 t.Logf("skipping %s test", tt.network)
42 var network, address string
43 switch tt.network {
45 c, err := newLocalPacketListener(tt.network)
50 network = c.LocalAddr().Network()
62 ls, err := newLocalServer(tt.network)
70 network = ls.Listener.Addr().Network(
    [all...]
net_test.go 24 for _, network := range []string{"tcp", "unix", "unixpacket"} {
25 if !testableNetwork(network) {
26 t.Logf("skipping %s test", network)
30 ln, err := newLocalListener(network)
34 switch network {
40 c, err := Dial(ln.Addr().Network(), ln.Addr().String())
44 switch network {
110 for _, network := range []string{"tcp", "unix", "unixpacket"} {
111 if !testableNetwork(network) {
112 t.Logf("skipping %s test", network)
    [all...]
unixsock_plan9.go 29 func dialUnix(ctx context.Context, network string, laddr, raddr *UnixAddr) (*UnixConn, error) {
45 func listenUnix(ctx context.Context, network string, laddr *UnixAddr) (*UnixListener, error) {
49 func listenUnixgram(ctx context.Context, network string, laddr *UnixAddr) (*UnixConn, error) {
  /prebuilts/go/linux-x86/src/net/
file_test.go 22 network string
37 if !testableNetwork(tt.network) {
38 t.Logf("skipping %s test", tt.network)
42 var network, address string
43 switch tt.network {
45 c, err := newLocalPacketListener(tt.network)
50 network = c.LocalAddr().Network()
62 ls, err := newLocalServer(tt.network)
70 network = ls.Listener.Addr().Network(
    [all...]
net_test.go 24 for _, network := range []string{"tcp", "unix", "unixpacket"} {
25 if !testableNetwork(network) {
26 t.Logf("skipping %s test", network)
30 ln, err := newLocalListener(network)
34 switch network {
40 c, err := Dial(ln.Addr().Network(), ln.Addr().String())
44 switch network {
110 for _, network := range []string{"tcp", "unix", "unixpacket"} {
111 if !testableNetwork(network) {
112 t.Logf("skipping %s test", network)
    [all...]
unixsock_plan9.go 29 func dialUnix(ctx context.Context, network string, laddr, raddr *UnixAddr) (*UnixConn, error) {
45 func listenUnix(ctx context.Context, network string, laddr *UnixAddr) (*UnixListener, error) {
49 func listenUnixgram(ctx context.Context, network string, laddr *UnixAddr) (*UnixConn, error) {
  /developers/build/prebuilts/gradle/WearHighBandwidthNetworking/Wearable/src/main/java/com/example/android/wearable/wear/wearhighbandwidthnetworking/
MainActivity.java 22 import android.net.Network;
37 * This sample demonstrates how to determine if a high-bandwidth network is available for use cases
38 * that require a minimum network bandwidth, such as streaming media or downloading large files.
39 * In addition, the sample demonstrates best practices for asking a user to add a new Wi-Fi network
40 * for high-bandwidth network operations, if currently available networks are inadequate.
45 // Intent action for sending the user directly to the add Wi-Fi network activity.
49 // Message to notify the network request timout handler that too much time has passed.
52 // How long the app should wait trying to connect to a sufficient high-bandwidth network before
53 // asking the user to add a new Wi-Fi network.
56 // The minimum network bandwidth required by the app for high-bandwidth operations
152 Network network = mConnectivityManager.getBoundNetworkForProcess(); local
    [all...]
  /developers/samples/android/wearable/wear/WearHighBandwidthNetworking/Wearable/src/main/java/com/example/android/wearable/wear/wearhighbandwidthnetworking/
MainActivity.java 22 import android.net.Network;
37 * This sample demonstrates how to determine if a high-bandwidth network is available for use cases
38 * that require a minimum network bandwidth, such as streaming media or downloading large files.
39 * In addition, the sample demonstrates best practices for asking a user to add a new Wi-Fi network
40 * for high-bandwidth network operations, if currently available networks are inadequate.
45 // Intent action for sending the user directly to the add Wi-Fi network activity.
49 // Message to notify the network request timout handler that too much time has passed.
52 // How long the app should wait trying to connect to a sufficient high-bandwidth network before
53 // asking the user to add a new Wi-Fi network.
56 // The minimum network bandwidth required by the app for high-bandwidth operations
152 Network network = mConnectivityManager.getBoundNetworkForProcess(); local
    [all...]
  /development/samples/browseable/WearHighBandwidthNetworking/src/com.example.android.wearable.wear.wearhighbandwidthnetworking/
MainActivity.java 22 import android.net.Network;
37 * This sample demonstrates how to determine if a high-bandwidth network is available for use cases
38 * that require a minimum network bandwidth, such as streaming media or downloading large files.
39 * In addition, the sample demonstrates best practices for asking a user to add a new Wi-Fi network
40 * for high-bandwidth network operations, if currently available networks are inadequate.
45 // Intent action for sending the user directly to the add Wi-Fi network activity.
49 // Message to notify the network request timout handler that too much time has passed.
52 // How long the app should wait trying to connect to a sufficient high-bandwidth network before
53 // asking the user to add a new Wi-Fi network.
56 // The minimum network bandwidth required by the app for high-bandwidth operations
152 Network network = mConnectivityManager.getBoundNetworkForProcess(); local
    [all...]
  /external/webrtc/talk/app/webrtc/java/android/org/webrtc/
NetworkMonitorAutoDetect.java 40 import android.net.Network;
118 * default network.
128 * Returns connection type and status information about |network|.
132 NetworkState getNetworkState(Network network) {
136 return getNetworkState(connectivityManager.getNetworkInfo(network));
154 Network[] getAllNetworks() {
156 return new Network[0];
162 * Returns the NetID of the current default network. Returns
163 * INVALID_NET_ID if no current default network connected
    [all...]
  /external/webrtc/webrtc/p2p/base/
stunport.h 33 rtc::Network* network,
39 UDPPort* port = new UDPPort(thread, factory, network, socket, username,
50 rtc::Network* network,
59 new UDPPort(thread, factory, network, ip, min_port, max_port, username,
112 rtc::Network* network,
123 rtc::Network* network,
    [all...]
  /prebuilts/go/darwin-x86/src/net/http/httptrace/
trace_test.go 15 connectStart := func(b byte) func(network, addr string) {
16 return func(network, addr string) {
43 connectStart := func(b byte) func(network, addr string) {
44 return func(network, addr string) {
46 t.Errorf(`%d. args for %q case = %q, %q; want addr of "addr"`, testNum, b, network, addr)
  /prebuilts/go/linux-x86/src/net/http/httptrace/
trace_test.go 15 connectStart := func(b byte) func(network, addr string) {
16 return func(network, addr string) {
43 connectStart := func(b byte) func(network, addr string) {
44 return func(network, addr string) {
46 t.Errorf(`%d. args for %q case = %q, %q; want addr of "addr"`, testNum, b, network, addr)
  /system/connectivity/wificond/tests/
scan_settings_unittest.cpp 97 HiddenNetwork network; local
98 network.ssid_ =
102 scan_settings.hidden_networks_ = {network};
123 HiddenNetwork network; local
124 network.ssid_ =
128 scan_settings.hidden_networks_ = {network};
154 PnoNetwork network, network1; local
155 network.ssid_ =
157 network.is_hidden_ = true;
166 pno_settings.pno_networks_ = {network, network1}
    [all...]
  /tools/test/connectivity/acts/tests/google/wifi/
WifiTeleCoexTest.py 45 self.network = { WifiEnums.SSID_KEY : self.wifi_network_ssid,
62 def connect_to_wifi(self, ad, network):
67 network: A JSON dict of the WiFi network configuration.
75 wifi_utils.wifi_connect(ad, network)
76 self.log.debug("Connected to %s network on %s device" % (
77 network[WifiEnums.SSID_KEY], ad.serial))
147 # Make sure Phone A and B are attached to voice network.
159 1. Check if device is still connected to the WiFi network.
168 raise signals.TestFailure("Phone failed to connect to %s network on
    [all...]
  /frameworks/base/core/java/android/net/
ConnectivityManager.java 67 * Class that answers queries about the state of network connectivity. It also
68 * notifies applications when network connectivity changes.
72 * <li>Monitor network connections (Wi-Fi, GPRS, UMTS, etc.)</li>
73 * <li>Send broadcast intents when network connectivity changes</li>
74 * <li>Attempt to "fail over" to another network when connectivity to a network
87 * A change in network connectivity has occurred. A default connection has either
88 * been established or lost. The NetworkInfo for the affected network is
100 * disconnected network, then the FAILOVER_CONNECTION boolean extra is
104 * to connect (or has already connected) to another network, th
2948 final Network network = getObject(message, Network.class); local
    [all...]
  /external/tensorflow/tensorflow/contrib/eager/python/
network_test.py 21 from tensorflow.contrib.eager.python import network
39 class MyNetwork(network.Network):
49 class RegularizedNetwork(network.Network):
69 checkpoint_path = network.save_network_checkpoint(
70 network=net, save_path=checkpoint_directory, global_step=global_step)
79 network.restore_network_checkpoint(net, save_path=checkpoint_directory)
85 network.restore_network_checkpoint(net, save_path=checkpoint_path)
92 net = network.Network(
    [all...]
  /external/autotest/server/site_tests/network_WiFi_PMKSACaching/
network_WiFi_PMKSACaching.py 10 from autotest_lib.client.common_lib.cros.network import iw_runner
11 from autotest_lib.client.common_lib.cros.network import ping_runner
12 from autotest_lib.client.common_lib.cros.network import xmlrpc_datatypes
13 from autotest_lib.client.common_lib.cros.network import xmlrpc_security_types
14 from autotest_lib.server.cros.network import hostap_config
15 from autotest_lib.server.cros.network import wifi_cell_test_base
  /external/autotest/server/site_tests/network_WiFi_RateControl/
network_WiFi_RateControl.py 9 from autotest_lib.client.common_lib.cros.network import iw_runner
10 from autotest_lib.client.common_lib.cros.network import tcpdump_analyzer
11 from autotest_lib.client.common_lib.cros.network import xmlrpc_datatypes
12 from autotest_lib.server.cros.network import hostap_config
13 from autotest_lib.server.cros.network import netperf_runner
14 from autotest_lib.server.cros.network import wifi_cell_test_base
  /external/ltp/testcases/lib/
tst_net_vars.c 80 "IPV4_LNETWORK: IPv4 network part of IPV4_LHOST\n"
81 "IPV4_RNETWORK: IPv4 network part of IPV4_RHOST\n"
87 "IPV6_LNETWORK: IPv6 network part of IPV6_LHOST\n"
88 "IPV6_RNETWORK: IPv6 network part of IPV6_LHOST\n"
122 struct in_addr network; local
124 memset(&network, 0, sizeof(network));
126 network.s_addr = ip->s_addr & mask->s_addr;
127 return network;
130 static int is_in_subnet_ipv4(const struct in_addr *network,
222 struct in_addr mask, network; local
276 struct in6_addr mask, network; local
    [all...]
  /external/tensorflow/tensorflow/contrib/tensorrt/
tensorrt_test.cc 65 // Creates a network to compute y=2x+3.
72 nvinfer1::INetworkDefinition* network = builder->createNetwork(); local
74 auto input = network->addInput(kInputTensor, nvinfer1::DataType::kFLOAT,
78 auto layer = network->addFullyConnected(*input, 1, weights.get(), bias.get());
83 network->markOutput(*output);
87 auto engine = builder->buildCudaEngine(*network);
91 network->destroy();
97 // Executes the network.
114 // Copy the input to the GPU, execute the network, and copy the output back.
133 // Create the network model
    [all...]
  /external/volley/src/main/java/com/android/volley/
RequestQueue.java 33 * resolving from either cache or network on a worker thread, and then delivering
58 /** The queue of requests that are actually going out to the network. */
62 /** Number of network request dispatcher threads to start. */
68 /** Network interface for performing requests. */
69 private final Network mNetwork;
74 /** The network dispatchers. */
87 * @param network A Network interface for performing HTTP requests
88 * @param threadPoolSize Number of network dispatcher threads to create
91 public RequestQueue(Cache cache, Network network, int threadPoolSize
    [all...]
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/
ConnectToNetworkNotificationBuilder.java 35 /** Intent when user dismissed the "Connect to Network" notification. */
39 /** Intent when user tapped action button to connect to recommended network. */
51 /** Extra data added to the Intent to specify the registering network notifier. */
68 * Creates the connect to network notification that alerts users of a recommended connectable
69 * network.
72 * the connection to the recommended network.
74 * @param notifierTag Unique tag of calling network notifier
75 * @param network The network to be recommended
78 ScanResult network) {
    [all...]
  /prebuilts/go/darwin-x86/src/internal/poll/
sockopt.go 11 // SetsockoptInt wraps the setsockopt network call with an int argument.
20 // SetsockoptInet4Addr wraps the setsockopt network call with an IPv4 address.
29 // SetsockoptLinger wraps the setsockopt network call with a Linger argument.
  /prebuilts/go/linux-x86/src/internal/poll/
sockopt.go 11 // SetsockoptInt wraps the setsockopt network call with an int argument.
20 // SetsockoptInet4Addr wraps the setsockopt network call with an IPv4 address.
29 // SetsockoptLinger wraps the setsockopt network call with a Linger argument.

Completed in 366 milliseconds

1 2 3 4 5 67 8 91011>>