/external/autotest/server/site_tests/network_WiFi_SuspendTwice/ |
network_WiFi_SuspendTwice.py | 5 from autotest_lib.client.common_lib.cros.network import xmlrpc_datatypes 6 from autotest_lib.server.cros.network import hostap_config 7 from autotest_lib.server.cros.network import wifi_cell_test_base
|
/external/autotest/server/site_tests/network_WiFi_WakeOnDisconnect/ |
network_WiFi_WakeOnDisconnect.py | 9 from autotest_lib.server.cros.network import hostap_config 10 from autotest_lib.server.cros.network import lucid_sleep_test_base 11 from autotest_lib.server.cros.network import wifi_client
|
/external/autotest/server/site_tests/network_WiFi_WakeOnSSID/ |
network_WiFi_WakeOnSSID.py | 10 from autotest_lib.server.cros.network import hostap_config 11 from autotest_lib.server.cros.network import lucid_sleep_test_base 12 from autotest_lib.server.cros.network import wifi_client
|
/external/autotest/server/site_tests/network_WiFi_WoWLAN/ |
network_WiFi_WoWLAN.py | 9 from autotest_lib.server.cros.network import hostap_config 10 from autotest_lib.server.cros.network import lucid_sleep_test_base 11 from autotest_lib.server.cros.network import wifi_client
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/ |
ThreeGPPNetworkElement.java | 30 * The 3GPP Cellular Network ANQP Element, IEEE802.11-2012 section 8.4.4.11. 81 CellularNetwork network = CellularNetwork.parse(payload); local 82 if (network != null) { 83 networks.add(network);
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/wificond/ |
PnoNetwork.java | 44 PnoNetwork network = (PnoNetwork) rhs; local 45 return java.util.Arrays.equals(ssid, network.ssid) 46 && isHidden == network.isHidden;
|
/external/glide/third_party/gif_encoder/src/main/java/com/bumptech/glide/gifencoder/ |
NeuQuant.java | 10 * "Kohonen neural networks for optimal colour quantization" in "Network: 52 * Network Definitions ------------------- 121 protected int[][] network; /* the network itself - [netsize][4] */ field in class:NeuQuant 125 /* for network lookup - really 256 */ 137 * Initialise network in range (0,0,0) to (255,255,255) and set parameters 149 network = new int[netsize][]; 151 network[i] = new int[4]; 152 p = network[i]; 163 index[network[i][3]] = i [all...] |
/external/webrtc/webrtc/base/ |
network.cc | 15 #include "webrtc/base/network.h" 65 Network* net; 69 bool CompareNetworks(const Network* a, const Network* b) { 78 bool SortNetworks(const Network* a, const Network* b) { 79 // Network types will be preferred above everything else while sorting 200 new rtc::Network("any", "any", ipv4_any_address, 0)); 210 new rtc::Network("any", "any", ipv6_any_address, 0)); 221 for (Network* network : networks_) 570 scoped_ptr<Network> network; local [all...] |
/external/autotest/server/site_tests/network_WiFi_GTK/ |
network_WiFi_GTK.py | 8 from autotest_lib.client.common_lib.cros.network import xmlrpc_datatypes 9 from autotest_lib.client.common_lib.cros.network import xmlrpc_security_types 10 from autotest_lib.server.cros.network import arping_runner 11 from autotest_lib.server.cros.network import hostap_config 12 from autotest_lib.server.cros.network import wifi_cell_test_base 51 # Now check that network traffic goes through.
|
/external/autotest/server/site_tests/network_WiFi_PTK/ |
network_WiFi_PTK.py | 8 from autotest_lib.client.common_lib.cros.network import ping_runner 9 from autotest_lib.client.common_lib.cros.network import xmlrpc_datatypes 10 from autotest_lib.client.common_lib.cros.network import xmlrpc_security_types 11 from autotest_lib.server.cros.network import hostap_config 12 from autotest_lib.server.cros.network import wifi_cell_test_base
|
/frameworks/base/core/java/android/net/ |
IConnectivityManager.aidl | 21 import android.net.Network; 41 * state of network connectivity. 46 Network getActiveNetwork(); 47 Network getActiveNetworkForUid(int uid, boolean ignoreBlocked); 51 NetworkInfo getNetworkInfoForUid(in Network network, int uid, boolean ignoreBlocked); 53 Network getNetworkForType(int networkType); 54 Network[] getAllNetworks(); 61 LinkProperties getLinkProperties(in Network network); [all...] |
/system/connectivity/wificond/tests/ |
scan_settings_unittest.cpp | 94 HiddenNetwork network; local 95 network.ssid_ = 99 scan_settings.hidden_networks_ = {network}; 130 PnoNetwork network, network1; local 131 network.ssid_ = 133 network.is_hidden_ = true; 142 pno_settings.pno_networks_ = {network, network1};
|
/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...] |
platform_test.go | 15 // testableNetwork reports whether network is testable on the current 17 func testableNetwork(network string) bool { 18 ss := strings.Split(network, ":") 64 // testableAddress reports whether address of network is testable on 66 func testableAddress(network, address string) bool { 67 switch ss := strings.Split(network, ":"); ss[0] { 79 func testableListenArgs(network, address, client string) bool { 80 if !testableNetwork(network) || !testableAddress(network, address) { 86 switch ss := strings.Split(network, ":"); ss[0] [all...] |
/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...] |
platform_test.go | 15 // testableNetwork reports whether network is testable on the current 17 func testableNetwork(network string) bool { 18 ss := strings.Split(network, ":") 64 // testableAddress reports whether address of network is testable on 66 func testableAddress(network, address string) bool { 67 switch ss := strings.Split(network, ":"); ss[0] { 79 func testableListenArgs(network, address, client string) bool { 80 if !testableNetwork(network) || !testableAddress(network, address) { 86 switch ss := strings.Split(network, ":"); ss[0] [all...] |
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
WifiConfigurationUtilTest.java | 55 // Shared network configuration created by another user. 60 // Private network configuration created by another user. 64 // Private network configuration created by the current user. 68 // Private network configuration created by the current user's managed profile. 193 * for an open network using {@link WifiConfigurationUtil#createPnoNetwork( 198 WifiConfiguration network = WifiConfigurationTestUtil.createOpenNetwork(); local 200 WifiConfigurationUtil.createPnoNetwork(network, 1); 201 assertEquals(network.SSID, pnoNetwork.ssid); 210 * for an open hidden network using {@link WifiConfigurationUtil#createPnoNetwork( 215 WifiConfiguration network = WifiConfigurationTestUtil.createOpenHiddenNetwork() local 233 WifiConfiguration network = WifiConfigurationTestUtil.createPskNetwork(); local 249 WifiConfiguration network = WifiConfigurationTestUtil.createPskNetwork(TEST_SSID); local 260 WifiConfiguration network = WifiConfigurationTestUtil.createPskNetwork(TEST_SSID); local 271 WifiConfiguration network = WifiConfigurationTestUtil.createPskNetwork(TEST_SSID); local 284 WifiConfiguration network = WifiConfigurationTestUtil.createEapNetwork(); local [all...] |
/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)
|
/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)) 145 # Make sure Phone A and B are attached to voice network. 157 1. Check if device is still connected to the WiFi network. 164 raise signals.TestFailure("Phone failed to connect to %s network on [all...] |