/prebuilts/go/darwin-x86/src/internal/poll/ |
sockopt_unix.go | 11 // SetsockoptByte wraps the setsockopt network call with a byte argument.
|
/prebuilts/go/linux-x86/src/cmd/go/internal/web/ |
security.go | 8 // SecurityMode specifies whether a function should make network
|
/prebuilts/go/linux-x86/src/encoding/gob/ |
example_interface_test.go | 31 var network bytes.Buffer // Stand-in for the network. 39 enc := gob.NewEncoder(&network) 45 dec := gob.NewDecoder(&network)
|
/prebuilts/go/linux-x86/src/internal/poll/ |
sockopt_linux.go | 9 // SetsockoptIPMreqn wraps the setsockopt network call with an IPMreqn argument.
|
sockopt_unix.go | 11 // SetsockoptByte wraps the setsockopt network call with a byte argument.
|
/external/wpa_supplicant_8/wpa_supplicant/examples/ |
wpas-dbus-new-signals.py | 16 WPAS_DBUS_NETWORK_INTERFACE = "fi.w1.wpa_supplicant1.Network" 105 def networkAdded(network, properties): 106 print "NetworkAdded(%s)" % (network) 108 def networkRemoved(network): 109 print "NetworkRemoved(%s)" % (network) 111 def networkSelected(network): 112 print "NetworkSelected(%s)" % (network) 124 print "PropertiesChanged(Network): %s=%s" % (i, properties[i])
|
/frameworks/base/core/java/android/net/ |
SntpClient.java | 30 * Simple SNTP client class for retrieving network time. 82 * @param timeout network timeout in milliseconds. 83 * @param network network over which to send the request. 86 public boolean requestTime(String host, int timeout, Network network) { 90 network.setPrivateDnsBypass(true); 93 address = network.getByName(host); 99 return requestTime(address, NTP_PORT, timeout, network); 102 public boolean requestTime(InetAddress address, int port, int timeout, Network network) [all...] |
/frameworks/base/telephony/java/android/telephony/ims/compat/stub/ |
ImsConfigImplBase.java | 114 * Gets the value of the specified IMS feature item for specified network type. 119 * @param network as defined in android.telephony.TelephonyManager#NETWORK_TYPE_XXX. 122 public void getFeatureValue(int feature, int network, ImsConfigListener listener) 127 * Sets the value for IMS feature item for specified network type. 132 * @param network as defined in android.telephony.TelephonyManager#NETWORK_TYPE_XXX. 136 public void setFeatureValue(int feature, int network, int value, ImsConfigListener listener) 315 public void getFeatureValue(int feature, int network, ImsConfigListener listener) 317 getImsConfigImpl().getFeatureValue(feature, network, listener); 324 public void setFeatureValue(int feature, int network, int value, ImsConfigListener listener) 326 getImsConfigImpl().setFeatureValue(feature, network, value, listener) [all...] |
/prebuilts/go/darwin-x86/src/net/ |
file.go | 14 func (fileAddr) Network() string { return "file+net" } 17 // FileConn returns a copy of the network connection corresponding to 29 // FileListener returns a copy of the network listener corresponding 41 // FilePacketConn returns a copy of the packet network connection
|
listen_test.go | 36 network string 71 if !testableListenArgs(tt.network, JoinHostPort(tt.address, "0"), "") { 72 t.Logf("skipping %s test", tt.network+" "+tt.address) 76 ln1, err := Listen(tt.network, JoinHostPort(tt.address, "0")) 80 if err := checkFirstListener(tt.network, ln1); err != nil { 84 ln2, err := Listen(tt.network, JoinHostPort(tt.address, ln1.(*TCPListener).port())) 88 if err := checkSecondListener(tt.network, tt.address, err); err != nil { 97 network string 132 if !testableListenArgs(tt.network, JoinHostPort(tt.address, "0"), "") { 133 t.Logf("skipping %s test", tt.network+" "+tt.address [all...] |
/prebuilts/go/linux-x86/src/net/ |
file.go | 14 func (fileAddr) Network() string { return "file+net" } 17 // FileConn returns a copy of the network connection corresponding to 29 // FileListener returns a copy of the network listener corresponding 41 // FilePacketConn returns a copy of the packet network connection
|
listen_test.go | 36 network string 71 if !testableListenArgs(tt.network, JoinHostPort(tt.address, "0"), "") { 72 t.Logf("skipping %s test", tt.network+" "+tt.address) 76 ln1, err := Listen(tt.network, JoinHostPort(tt.address, "0")) 80 if err := checkFirstListener(tt.network, ln1); err != nil { 84 ln2, err := Listen(tt.network, JoinHostPort(tt.address, ln1.(*TCPListener).port())) 88 if err := checkSecondListener(tt.network, tt.address, err); err != nil { 97 network string 132 if !testableListenArgs(tt.network, JoinHostPort(tt.address, "0"), "") { 133 t.Logf("skipping %s test", tt.network+" "+tt.address [all...] |
/external/python/cpython3/Lib/ |
ipaddress.py | 61 address: A string or integer, the IP network. Either IPv4 or 70 address. Or if the network has host bits set. 83 raise ValueError('%r does not appear to be an IPv4 or IPv6 network' % 104 Network, so they're basically a combination of both the Address 105 and Network classes. 123 """Represent an address as 4 packed bytes in network (big-endian) order. 129 The integer address packed as 4 bytes in network (big-endian) order. 143 """Represent an address as 16 packed bytes in network (big-endian) order. 149 The integer address packed as 16 bytes in network (big-endian) order. 203 """Summarize a network range given the first and last IP addresses [all...] |
/external/opencv/ml/src/ |
mlcnn.cpp | 61 static void icvTrainCNNetwork( CvCNNetwork* network, 69 /*------------------------- functions for the CNN network ------------------------------*/ 70 static void icvCNNetworkAddLayer( CvCNNetwork* network, CvCNNLayer* layer ); 71 static void icvCNNetworkRelease( CvCNNetwork** network ); 106 #define ICV_CHECK_CNN_NETWORK(network) \ 110 if( !network ) \ 112 "Null <network> pointer. Network must be created by user." ); \ 113 n_layers = network->n_layers; \ 114 first_layer = last_layer = network->layers; [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/ |
ConnectivityServiceMock.java | 29 import android.net.Network; 85 * used to add a network request 91 * used to add a network listener - no request 97 * used to remove a network request, either a listener or a real request 203 // A network factory has connected. Send it all current NetworkRequests. 218 // A network agent has requested a connection. Establish the connection. 227 // mNetworkForNetId.remove(nai.network.netId); 228 // mNetIdInUse.delete(nai.network.netId); 243 // A network agent has disconnected. 244 // TODO - if we move the logic to the network agent (have them disconnec [all...] |
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/rtt/ |
rtt_test_utils.py | 100 for network in scanned_networks: 102 if (rconsts.SCAN_RESULT_KEY_RTT_RESPONDER in network and 103 network[rconsts.SCAN_RESULT_KEY_RTT_RESPONDER]): 104 matching_networks.append(network) 106 if (rconsts.SCAN_RESULT_KEY_RTT_RESPONDER not in network or 107 not network[rconsts.SCAN_RESULT_KEY_RTT_RESPONDER]): 108 matching_networks.append(network) 133 repeat: Re-scan this many times to find an RTT supporting network.
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
WifiConfigurationUtilTest.java | 58 // Shared network configuration created by another user. 63 // Private network configuration created by another user. 67 // Private network configuration created by the current user. 71 // Private network configuration created by the current user's managed profile. 494 * for an open network using {@link WifiConfigurationUtil#createPnoNetwork( 499 WifiConfiguration network = WifiConfigurationTestUtil.createOpenNetwork(); local 501 WifiConfigurationUtil.createPnoNetwork(network); 502 assertEquals(network.SSID, pnoNetwork.ssid); 511 * for an open hidden network using {@link WifiConfigurationUtil#createPnoNetwork( 516 WifiConfiguration network = WifiConfigurationTestUtil.createOpenHiddenNetwork() local 534 WifiConfiguration network = WifiConfigurationTestUtil.createPskNetwork(); local 550 WifiConfiguration network = WifiConfigurationTestUtil.createPskNetwork(TEST_SSID); local 561 WifiConfiguration network = WifiConfigurationTestUtil.createPskNetwork(TEST_SSID); local 574 WifiConfiguration network = WifiConfigurationTestUtil.createPskNetwork(TEST_SSID); local 585 WifiConfiguration network = WifiConfigurationTestUtil.createPskNetwork(TEST_SSID); local 623 WifiConfiguration network = WifiConfigurationTestUtil.createEapNetwork(); local [all...] |
/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
dbus_old.c | 26 * @network: (out) the configured network this object path refers to, if any 28 * Returns: The object path of the network interface this path refers to 30 * For a given object path, decomposes the object path into object id, network, 33 char * wpas_dbus_decompose_object_path(const char *path, char **network, 61 if (network && net_part) { 62 /* Deal with a request for a configured network */ 65 *network = NULL; 67 *network = os_strdup(net_name); 102 * wpas_dbus_new_invalid_network_error - Return a new invalid network error messag 211 char *network = NULL; local [all...] |
/frameworks/base/services/core/java/com/android/server/connectivity/ |
DnsManager.java | 35 import android.net.Network; 77 * [A] Event: A new network comes up. 177 public static PrivateDnsConfig tryBlockingResolveOf(Network network, String name) { 179 final InetAddress[] ips = ResolvUtil.blockingResolveAllLocally(network, name); 314 public void removeNetwork(Network network) { 315 mPrivateDnsMap.remove(network.netId); 316 mPrivateDnsValidationMap.remove(network.netId); 319 public PrivateDnsConfig updatePrivateDns(Network network, PrivateDnsConfig cfg) [all...] |
/system/connectivity/wificond/scanning/ |
scanner_impl.cpp | 173 for (auto& network : scan_settings.hidden_networks_) { 175 skipped_scan_ssids.emplace_back(network.ssid_); 178 ssids.push_back(network.ssid_); 247 for (auto& network : pno_settings.pno_networks_) { 248 // Add hidden network ssid. 249 if (network.is_hidden_) { 253 skipped_scan_ssids.emplace_back(network.ssid_); 256 scan_ssids->push_back(network.ssid_); 260 skipped_match_ssids.emplace_back(network.ssid_); 263 match_ssids->push_back(network.ssid_) [all...] |
/tools/test/connectivity/acts/tests/google/wifi/ |
WifiStressTest.py | 43 network. 65 "Need at least one reference network with psk.") 99 def scan_and_connect_by_ssid(self, network): 100 """Scan for network and connect using network information. 103 network: A dictionary representing the network to connect to. 106 ssid = network[WifiEnums.SSID_KEY] 109 wutils.wifi_connect(self.dut, network, num_of_tries=3) 111 def scan_and_connect_by_id(self, network, net_id) [all...] |
/external/autotest/server/cros/network/ |
connection_worker.py | 9 from autotest_lib.client.common_lib.cros.network import iw_runner 10 from autotest_lib.client.common_lib.cros.network import ping_runner 11 from autotest_lib.client.common_lib.cros.network import xmlrpc_datatypes 13 from autotest_lib.server.cros.network import wifi_client 14 from autotest_lib.server.cros.network import netperf_runner
|
/external/autotest/server/site_tests/network_WiFi_BluetoothStreamPerf/ |
network_WiFi_BluetoothStreamPerf.py | 9 from autotest_lib.client.common_lib.cros.network import ping_runner 10 from autotest_lib.client.common_lib.cros.network import xmlrpc_datatypes 15 from autotest_lib.server.cros.network import netperf_runner 16 from autotest_lib.server.cros.network import netperf_session 17 from autotest_lib.server.cros.network import wifi_cell_test_base
|
/frameworks/base/services/core/java/com/android/server/ |
NetworkTimeUpdateService.java | 29 import android.net.Network; 49 * Monitors the network time and updates the system time if it is out of sync 51 * If looking up the network time fails for some reason, it tries a few times with a short 54 * If the user enables AUTO_TIME, it will check immediately for the network time, if NITZ wasn't 74 private Network mDefaultNetwork = null; 90 // Try-again polling interval, in case the network request failed 97 // During bootup, the network may not have been up yet, or it's taking time for the 156 // have any default network, don't bother. 256 /** Handler to do the network accesses on */ 277 public void onAvailable(Network network) [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
WakeupLock.java | 155 for (ScanResultMatchInfo network : networkList) { 156 if (!mLockedNetworks.containsKey(network)) { 157 mLockedNetworks.put(network, CONSECUTIVE_MISSED_SCANS_REQUIRED_TO_EVICT); 173 * <p>If a network in the lock is not present in the list, reduce the number of scans 193 Log.d(TAG, "Found network in lock: " + entry.getKey().networkSsid); 202 Log.d(TAG, "Removed network from lock: " + entry.getKey().networkSsid); 287 for (ScanResultMatchInfo network : data) { 288 mLockedNetworks.put(network, CONSECUTIVE_MISSED_SCANS_REQUIRED_TO_EVICT);
|