/packages/apps/Settings/tests/robotests/src/com/android/settings/network/ |
MobilePlanPreferenceControllerTest.java | 17 package com.android.settings.network;
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
RealSystemFacade.java | 28 import android.net.Network; 54 public Network getNetwork(JobParameters params) { 59 public NetworkInfo getNetworkInfo(Network network, int uid, boolean ignoreBlocked) { 61 .getNetworkInfoForUid(network, uid, ignoreBlocked); 65 public NetworkCapabilities getNetworkCapabilities(Network network) { 67 .getNetworkCapabilities(network); 108 * Returns whether cleartext network traffic (HTTP) is permitted for the provided package to
|
/prebuilts/go/darwin-x86/src/log/syslog/ |
syslog_unix.go | 20 for _, network := range logTypes { 22 conn, err := net.Dial(network, path)
|
/prebuilts/go/darwin-x86/src/net/ |
interface_stub.go | 10 // network interfaces. Otherwise it returns a mapping of a specific 17 // network interfaces. Otherwise it returns addresses for a specific
|
tcpsock.go | 25 // Network returns the address's network name, "tcp". 26 func (a *TCPAddr) Network() string { return "tcp" } 55 // The network must be a TCP network name. 66 // See func Dial for a description of the network and address 68 func ResolveTCPAddr(network, address string) (*TCPAddr, error) { 69 switch network { 72 network = "tcp" 74 return nil, UnknownNetworkError(network) [all...] |
mockserver_test.go | 31 func newLocalListener(network string) (Listener, error) { 32 switch network { 51 return Listen(network, testUnixAddr()) 53 return nil, fmt.Errorf("%s is not supported", network) 58 network string 69 ln, err := ListenTCP(arg.network, &arg.TCPAddr) 104 network := ls.Listener.Addr().Network() 109 switch network { 118 func newLocalServer(network string) (*localServer, error) [all...] |
/prebuilts/go/linux-x86/src/log/syslog/ |
syslog_unix.go | 20 for _, network := range logTypes { 22 conn, err := net.Dial(network, path)
|
/prebuilts/go/linux-x86/src/net/ |
interface_stub.go | 10 // network interfaces. Otherwise it returns a mapping of a specific 17 // network interfaces. Otherwise it returns addresses for a specific
|
tcpsock.go | 25 // Network returns the address's network name, "tcp". 26 func (a *TCPAddr) Network() string { return "tcp" } 55 // The network must be a TCP network name. 66 // See func Dial for a description of the network and address 68 func ResolveTCPAddr(network, address string) (*TCPAddr, error) { 69 switch network { 72 network = "tcp" 74 return nil, UnknownNetworkError(network) [all...] |
mockserver_test.go | 31 func newLocalListener(network string) (Listener, error) { 32 switch network { 51 return Listen(network, testUnixAddr()) 53 return nil, fmt.Errorf("%s is not supported", network) 58 network string 69 ln, err := ListenTCP(arg.network, &arg.TCPAddr) 104 network := ls.Listener.Addr().Network() 109 switch network { 118 func newLocalServer(network string) (*localServer, error) [all...] |
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
ShadowConnectivityManager.java | 8 import android.net.Network; 33 private final Map<Integer, Network> netIdToNetwork = new HashMap<>(); 35 private Network processBoundNetwork; 85 public Network getActiveNetwork() { 108 public NetworkInfo getNetworkInfo(Network network) { 109 ShadowNetwork shadowNetwork = Shadows.shadowOf(network); 114 public Network[] getAllNetworks() { 115 return netIdToNetwork.values().toArray(new Network[netIdToNetwork.size()]); 137 * @return True if the active network is metered [all...] |
/frameworks/base/core/java/android/app/job/ |
JobParameters.java | 23 import android.net.Network; 71 private final Network network; field in class:JobParameters 80 String[] triggeredContentAuthorities, Network network) { 90 this.network = network; 187 * Return the network that should be used to perform any network requests 190 * Devices may have multiple active network connections simultaneously, o [all...] |
/frameworks/base/services/core/java/com/android/server/connectivity/ |
MultipathPolicyTracker.java | 43 import android.net.Network; 87 * network (i.e., when the app explicitly selected such networks). 174 public Integer getMultipathPreference(Network network) { 175 if (network == null) { 178 MultipathTracker t = mMultipathTrackers.get(network); 187 final Network network; field in class:MultipathPolicyTracker.MultipathTracker 198 public MultipathTracker(Network network, NetworkCapabilities nc) [all...] |
/cts/tests/tests/net/src/android/net/cts/ |
ConnectivityManagerTest.java | 41 import android.net.Network; 121 // Action sent to ConnectivityActionReceiver when a network callback is sent via PendingIntent. 187 private Network ensureWifiConnected() { 233 assertNotNull("You must have an active network connection to complete CTS", ni); 239 Network network = mCm.getActiveNetwork(); local 240 assertNotNull("You must have an active network connection to complete CTS", network); 242 NetworkInfo ni = mCm.getNetworkInfo(network); 243 assertNotNull("Network returned from getActiveNetwork was invalid", ni) 803 Network network = intent.getExtras() local 882 Network network = null; local 912 Network network = ensureWifiConnected(); local 1068 final Network network = ensureWifiConnected(); local [all...] |
/tools/test/connectivity/acts/tests/google/wifi/ |
WifiIOTtpeTest.py | 54 "Need at least one iot network with psk.") 67 for network in self.iot_networks: 68 SSID = network['SSID'].replace('-','_') 69 self.ssid_map[SSID] = network 90 def connect_to_wifi_network(self, network): 94 params: Dictionary with network info. 96 SSID = network[WifiEnums.SSID_KEY] 101 wutils.wifi_connect(self.dut, network, num_of_tries=3) 103 def run_iperf_client(self, network): 107 params: Dictionary with network info [all...] |
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
WifiConfigManagerTest.java | 130 // store writes for network updates followed by network additions are in the expected order. 200 * Verifies that network retrieval via 212 * Verifies that network addition via 240 * Verifies the addition of a single network using 255 // Ensure that the newly added network is disabled. 260 * Verifies the modification of a single network using 273 // Now change BSSID for the network. 286 * Verifies the addition of a single ephemeral network using 288 * the {@link WifiConfigManager#getSavedNetworks()} does not return this network 939 WifiConfiguration network = WifiConfigurationTestUtil.createOpenNetwork(); local 985 WifiConfiguration network = WifiConfigurationTestUtil.createEapNetwork(); local 1014 WifiConfiguration network = WifiConfigurationTestUtil.createEapNetwork(); local 1057 WifiConfiguration network = WifiConfigurationTestUtil.createEapNetwork(); local 1071 WifiConfiguration network = WifiConfigurationTestUtil.createEapNetwork(); local 1882 WifiConfiguration network = WifiConfigurationTestUtil.createPskNetwork(); local 1909 WifiConfiguration network = WifiConfigurationTestUtil.createPskNetwork(); local 1939 WifiConfiguration network = WifiConfigurationTestUtil.createPskNetwork(); local 1983 WifiConfiguration network = WifiConfigurationTestUtil.createPskNetwork(); local 2997 WifiConfiguration network = WifiConfigurationTestUtil.createEapNetwork(); local 3259 WifiConfiguration network = WifiConfigurationTestUtil.createOpenHiddenNetwork(); local 3285 WifiConfiguration network = WifiConfigurationTestUtil.createOpenHiddenNetwork(); local 3573 WifiConfiguration network; local [all...] |
/compatibility/cdd/9_security-model/ |
9_8_privacy.md | 40 ### 9.8.4\. Network Traffic 49 * [C-0-3] MUST display a warning to the user indicating the network traffic 55 * That network traffic may be monitored. 56 * That network traffic is being routed through the specific VPN 60 routes network data traffic through a proxy server or VPN gateway (for example,
|
/external/autotest/client/cros/cellular/pseudomodem/ |
connect_cdma_machine.py | 15 connecting to a network. 25 # Check here that the network is activated. The UI should prevent 28 network = self._modem.GetHomeNetwork() 29 if not network.activated:
|
/external/autotest/server/cros/network/ |
apmanager_service_provider.py | 5 from autotest_lib.client.common_lib.cros.network import apmanager_constants 8 from autotest_lib.server.cros.network import hostap_config
|
rf_switch_controller.py | 22 from autotest_lib.server.cros.network import rf_switch_ap_box 23 from autotest_lib.server.cros.network import rf_switch_client_box 66 autotest_lib.server.cros.network.rf_switch_ap_box.APBox objects. 75 autotest_lib.server.cros.network.rf_switch_client_box.ClientBox objects.
|
/external/autotest/server/site_tests/network_WiFi_ChromeEndToEnd/ |
network_WiFi_ChromeEndToEnd.py | 7 from autotest_lib.server.cros.network import hostap_config 8 from autotest_lib.server.cros.network import wifi_cell_test_base 22 @param ssid: Name to be assigned to the Wifi network.
|
/external/autotest/server/site_tests/network_WiFi_RoamSuspendSSID/ |
network_WiFi_RoamSuspendSSID.py | 8 from autotest_lib.client.common_lib.cros.network import xmlrpc_datatypes 9 from autotest_lib.server.cros.network import wifi_cell_test_base 15 1) Connects the DUT to a network A 16 2) Connects the DUT to a network B while keeping network A around. 17 3) Suspend the DUT (while connected to network B). 18 4) Deconfigure (take down) network B. 19 5) Assert that the DUT automatically connects to network A on resume.
|
/external/autotest/server/site_tests/network_WiFi_RoamSuspendTimeout/ |
network_WiFi_RoamSuspendTimeout.py | 8 from autotest_lib.client.common_lib.cros.network import xmlrpc_datatypes 9 from autotest_lib.server.cros.network import wifi_cell_test_base 53 logging.info("- Verify that we roam back to same network.")
|
/external/curl/docs/cmdline-opts/ |
abstract-unix-socket.d | 7 Connect through an abstract Unix domain socket, instead of using the network.
|
/external/dnsmasq/src/ |
Android.mk | 7 netlink.c network.c option.c rfc1035.c rfc2131.c util.c
|