/tools/test/connectivity/acts/framework/acts/test_utils/wifi/ |
wifi_test_utils.py | 435 for network in self.reference_networks: 436 for key in network: 438 if "password" in network[key]: 439 self.secure_networks_2g.append(network[key]) 441 self.open_networks_2g.append(network[key]) 443 if "password" in network[key]: 444 self.secure_networks_5g.append(network[key]) 446 self.open_networks_5g.append(network[key]) 498 """Makes sure a specified target Wi-Fi network exists in a list of Wi-Fi 502 target: A dict representing a Wi-Fi network [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/tests/google/wifi/ |
WifiManagerTest.py | 45 network. 72 "Need at least one reference network with psk.") 105 params: A tuple of network info and AndroidDevice object. 107 network, ad = params 110 SSID = network[WifiEnums.SSID_KEY] 115 wutils.wifi_connect(ad, network, num_of_tries=3) 117 def get_connection_data(self, dut, network): 118 """Get network id and ssid info from connection data. 122 network: dict representing the network to connect to [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...] |
/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
|
/external/boringssl/src/ssl/test/runner/ |
tls.go | 41 // A listener implements a network listener (net.Listener) for TLS connections. 70 // given network address using net.Listen. 73 func Listen(network, laddr string, config *Config) (net.Listener, error) { 77 l, err := net.Listen(network, laddr) 90 // DialWithDialer connects to the given network address using dialer.Dial and 97 func DialWithDialer(dialer *net.Dialer, network, addr string, config *Config) (*Conn, error) { 119 rawConn, err := dialer.Dial(network, addr) 162 // Dial connects to the given network address using net.Dial 168 func Dial(network, addr string, config *Config) (*Conn, error) { 169 return DialWithDialer(new(net.Dialer), network, addr, config [all...] |
/packages/apps/Dialer/java/com/android/voicemail/impl/fetch/ |
FetchVoicemailReceiver.java | 25 import android.net.Network; 141 VvmLog.i(TAG, "Requesting network to fetch voicemail"); 193 public void onAvailable(final Network network) { 194 super.onAvailable(network); 195 fetchVoicemail(network, getVoicemailStatusEditor()); 199 private void fetchVoicemail(final Network network, final VoicemailStatus.Editor status) { 209 new ImapHelper(mContext, mPhoneAccount, network, status)) {
|
/packages/apps/Settings/src/com/android/settings/network/ |
VpnPreferenceController.java | 16 package com.android.settings.network; 23 import android.net.Network; 130 // Legacy VPNs should do nothing if the network is disconnected. Third-party 182 public void onAvailable(Network network) { 183 Log.d(TAG, "onAvailable " + network.netId); 188 public void onLost(Network network) { 189 Log.d(TAG, "onLost " + network.netId);
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/ |
UtilsTest.java | 16 import android.net.Network; 46 private Network network; field in class:UtilsTest 62 when(wifiManager.getCurrentNetwork()).thenReturn(network); 66 when(connectivityManager.getLinkProperties(network)).thenReturn(lp); 73 when(wifiManager.getCurrentNetwork()).thenReturn(network); 75 when(connectivityManager.getLinkProperties(network)).thenReturn(null);
|
/prebuilts/go/darwin-x86/src/log/syslog/ |
syslog.go | 80 network string 111 // address raddr on the specified network. Each write to the returned 114 // If network is empty, Dial will connect to the local syslog server. 116 // of network and raddr. 117 func Dial(network, raddr string, priority Priority, tag string) (*Writer, error) { 131 network: network, 154 if w.network == "" { 161 c, err = net.Dial(w.network, w.raddr) 284 // Compared to the network form below, the changes are [all...] |
/prebuilts/go/darwin-x86/src/net/ |
interface.go | 20 errInvalidInterface = errors.New("invalid network interface") 21 errInvalidInterfaceIndex = errors.New("invalid network interface index") 22 errInvalidInterfaceName = errors.New("invalid network interface name") 23 errNoSuchInterface = errors.New("no such network interface") 24 errNoSuchMulticastInterface = errors.New("no such multicast network interface") 27 // Interface represents a mapping between network interface name 28 // and index. It also represents network interface facility 98 // Interfaces returns a list of the system's network interfaces. 125 // On Solaris, it returns one of the logical network interfaces 172 // An ipv6ZoneCache represents a cache holding partial network [all...] |
cgo_unix.go | 60 func cgoLookupPort(ctx context.Context, network, service string) (port int, err error, completed bool) { 62 switch network { 71 return 0, &DNSError{Err: "unknown network", Name: network + "/" + service}, true 73 if len(network) >= 4 { 74 switch network[3] { 82 port, err := cgoLookupServicePort(&hints, network, service) 86 go cgoPortLookup(result, &hints, network, service) 97 func cgoLookupServicePort(hints *C.struct_addrinfo, network, service string) (port int, err error) { 116 return 0, &DNSError{Err: err.Error(), Name: network + "/" + service [all...] |
/prebuilts/go/linux-x86/src/log/syslog/ |
syslog.go | 80 network string 111 // address raddr on the specified network. Each write to the returned 114 // If network is empty, Dial will connect to the local syslog server. 116 // of network and raddr. 117 func Dial(network, raddr string, priority Priority, tag string) (*Writer, error) { 131 network: network, 154 if w.network == "" { 161 c, err = net.Dial(w.network, w.raddr) 284 // Compared to the network form below, the changes are [all...] |
/prebuilts/go/linux-x86/src/net/ |
interface.go | 20 errInvalidInterface = errors.New("invalid network interface") 21 errInvalidInterfaceIndex = errors.New("invalid network interface index") 22 errInvalidInterfaceName = errors.New("invalid network interface name") 23 errNoSuchInterface = errors.New("no such network interface") 24 errNoSuchMulticastInterface = errors.New("no such multicast network interface") 27 // Interface represents a mapping between network interface name 28 // and index. It also represents network interface facility 98 // Interfaces returns a list of the system's network interfaces. 125 // On Solaris, it returns one of the logical network interfaces 172 // An ipv6ZoneCache represents a cache holding partial network [all...] |
cgo_unix.go | 60 func cgoLookupPort(ctx context.Context, network, service string) (port int, err error, completed bool) { 62 switch network { 71 return 0, &DNSError{Err: "unknown network", Name: network + "/" + service}, true 73 if len(network) >= 4 { 74 switch network[3] { 82 port, err := cgoLookupServicePort(&hints, network, service) 86 go cgoPortLookup(result, &hints, network, service) 97 func cgoLookupServicePort(hints *C.struct_addrinfo, network, service string) (port int, err error) { 116 return 0, &DNSError{Err: err.Error(), Name: network + "/" + service [all...] |
/cts/tests/tests/net/src/android/net/cts/ |
ConnectivityManagerTest.java | 32 import android.net.Network; 91 // Action sent to ConnectivityActionReceiver when a network callback is sent via PendingIntent. 148 private Network ensureWifiConnected() { 194 assertNotNull("You must have an active network connection to complete CTS", ni); 200 Network network = mCm.getActiveNetwork(); local 201 assertNotNull("You must have an active network connection to complete CTS", network); 203 NetworkInfo ni = mCm.getNetworkInfo(network); 204 assertNotNull("Network returned from getActiveNetwork was invalid", ni) 675 Network network = intent.getExtras() local 754 Network network = null; local 784 Network network = ensureWifiConnected(); local [all...] |
/external/autotest/client/site_tests/network_ChromeCellularSmokeTest/ |
network_ChromeCellularSmokeTest.py | 19 Tests that Chrome can bring the network to a connected state and effectively 20 access the internet through the cellular network. The test repeats a 22 always connect to the network via chrome.networkingPrivate. 43 'Expected 1 cellular network, found ' + str(len(networks))) 44 network = networks[0] 46 network, pm_constants.DEFAULT_TEST_NETWORK_PREFIX, 48 return network 67 # Make sure that the network becomes disconnected. 69 logging.info('Disconnecting from network: ' + network_id) 74 logging.info('Checking that the network is disconnected.' [all...] |
/external/autotest/server/site_tests/network_WiFi_IPv6RA/ |
network_WiFi_IPv6RA.py | 9 from autotest_lib.client.common_lib.cros.network import xmlrpc_datatypes 10 from autotest_lib.server.cros.network import wifi_cell_test_base 11 from autotest_lib.server.cros.network import hostap_config
|
/external/webrtc/webrtc/p2p/base/ |
tcpport.h | 33 rtc::Network* network, 40 TCPPort* port = new TCPPort(thread, factory, network, ip, min_port, 65 rtc::Network* network,
|
turnport.h | 45 rtc::Network* network, 53 return new TurnPort(thread, factory, network, socket, username, password, 59 rtc::Network* network, 69 return new TurnPort(thread, factory, network, ip, min_port, max_port, 158 rtc::Network* network, 169 rtc::Network* network, [all...] |
/packages/apps/Dialer/java/com/android/voicemail/impl/sync/ |
VvmNetworkRequestCallback.java | 21 import android.net.Network; 37 * Base class for network request call backs for visual voicemail syncing with the Imap server. This 38 * handles retries and network requests. 85 * @return NetworkRequest for a proper transport type. Use only cellular network if the carrier 116 public void onLost(Network network) { 124 public void onAvailable(Network network) { 125 super.onAvailable(network);
|
/packages/apps/Settings/src/com/android/settings/dashboard/ |
SupportFragment.java | 25 import android.net.Network; 55 public void onCapabilitiesChanged(Network network, 61 public void onAvailable(Network network) { 66 public void onLost(Network network) {
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
ConfigureWifiSettings.java | 32 import com.android.settings.network.NetworkScoreManagerWrapper; 33 import com.android.settings.network.NetworkScorerPickerPreferenceController; 34 import com.android.settings.network.WifiCallingPreferenceController;
|
/external/iputils/ |
iputils.spec | 6 Summary: The ping program for checking to see if network hosts are alive. 21 specified network host and can tell you if that machine is alive and 22 receiving network traffic.
|