HomeSort by relevance Sort by last modified time
    Searched refs:networks (Results 1 - 25 of 102) sorted by null

1 2 3 4 5

  /frameworks/opt/net/ethernet/java/com/android/server/ethernet/
EthernetConfigStore.java 42 SparseArray<IpConfiguration> networks = readIpAndProxyConfigurations(ipConfigFile); local
44 if (networks.size() == 0) {
49 if (networks.size() > 1) {
54 return networks.valueAt(0);
58 SparseArray<IpConfiguration> networks = new SparseArray<IpConfiguration>(); local
59 networks.put(0, config);
60 writeIpAndProxyConfigurations(ipConfigFile, networks);
  /frameworks/base/core/java/android/net/
INetworkRecommendationProvider.aidl 28 * Request scoring for networks.
33 * @param networks an array of {@link NetworkKey}s to score
36 void requestScores(in NetworkKey[] networks);
INetworkScoreCache.aidl 22 * A service which stores a subset of scored networks from the active network scorer.
39 void updateScores(in List<ScoredNetwork> networks);
NetworkRecommendationProvider.java 72 * @param networks a non-empty array of {@link NetworkKey}s to score.
74 public abstract void onRequestScores(NetworkKey[] networks);
99 public void requestScores(final NetworkKey[] networks) throws RemoteException {
101 if (networks != null && networks.length > 0) {
105 onRequestScores(networks);
INetworkScoreService.aidl 35 boolean updateScores(in ScoredNetwork[] networks);
81 * Request scoring for networks.
86 * @param networks an array of {@link NetworkKey}s to score
91 boolean requestScores(in NetworkKey[] networks);
NetworkScoreManager.java 70 * to the current active scorer app. That app is responsible for scoring the networks and
71 * calling {@link #updateScores} when complete. The networks to score are specified in
72 * {@link #EXTRA_NETWORKS_TO_SCORE}, and will generally consist of all networks which have been
73 * configured by the user as well as any open networks.
81 * Extra used with {@link #ACTION_SCORE_NETWORKS} to specify the networks to be scored, as an
89 * and secures open wifi networks available before enabling it. Applications that enable this
106 * name of the application that connects and secures open wifi networks automatically. The
272 * <p>This may be called at any time to re-score active networks. Scores will generally be
276 * @param networks the networks which have been scored by the scorer
    [all...]
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/
ThreeGPPNetworkElement.java 50 public ThreeGPPNetworkElement(List<CellularNetwork> networks) {
52 mNetworks = networks;
79 List<CellularNetwork> networks = new ArrayList<>(); local
83 networks.add(network);
86 return new ThreeGPPNetworkElement(networks);
  /external/autotest/client/site_tests/platform_DebugDaemonGetNetworkStatus/
platform_DebugDaemonGetNetworkStatus.py 22 networks = json.loads(result)
23 if 'services' not in networks or 'devices' not in networks:
24 raise error.TestFail('No networks found: %s' % result)
  /tools/test/connectivity/acts/tests/google/wifi/
WifiNetworkSelectorTest.py 61 #reset and clear all saved networks on the DUT
87 def add_networks(self, ad, networks):
88 """Add Wi-Fi networks to an Android device and verify the networks were
92 ad: the AndroidDevice object to add networks to.
93 networks: a list of dicts, each dict represents a Wi-Fi network.
95 for network in networks:
101 logging.debug("Configured networks: %s", configured_networks)
136 networks = [self.reference_networks[AP_1]['5g']]
137 self.add_networks(self.dut, networks)
    [all...]
WifiPreFlightTest.py 37 * 4 reference networks - two 2G and two 5G networks
41 * Check if reference networks show up in wifi scan
57 # Get reference networks as a list
63 networks = []
65 networks.append(ref_net[self.WIFI_2G])
66 networks.append(ref_net[self.WIFI_5G])
67 self.reference_networks = networks
82 """ Verify that when ATTN set to 0, all reference networks
86 1. List of reference networks
    [all...]
  /external/autotest/client/site_tests/network_ChromeCellularNetworkPresent/
network_ChromeCellularNetworkPresent.py 26 networks = test_context.find_cellular_networks()
27 if len(networks) != 1:
30 str(len(networks)))
32 network = networks[0]
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/
OpenNetworkRecommender.java 36 * @param networks List of scan details to pick a recommendation. This list should not be null
40 public ScanResult recommendNetwork(@NonNull List<ScanDetail> networks,
44 for (ScanDetail scanDetail : networks) {
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
WifiStatusTracker.java 79 List<WifiConfiguration> networks = mWifiManager.getConfiguredNetworks(); local
80 int length = networks.size();
82 if (networks.get(i).networkId == info.getNetworkId()) {
83 return networks.get(i).SSID;
  /external/autotest/server/cros/network/
chaos_clique_utils.py 155 networks = client.iw_runner.wait_for_scan_result(
157 if networks == None:
246 def get_security_from_scan(ap, networks, job):
250 @param networks: List of matching networks returned from scan.
258 security = networks[0].security
274 """Returns a list of matching networks after running iw scan.
280 @returns a list of the matching networks; if no networks are found at
289 networks = capturer.iw_runner.wait_for_scan_result
    [all...]
  /external/autotest/server/site_tests/network_WiFi_ChaosConfigSniffer/
network_WiFi_ChaosConfigSniffer.py 23 networks = wifi_client.iw_runner.wait_for_scan_result(
25 if networks == None:
29 network = networks[0]
  /external/autotest/server/cros/chaos_lib/
static_runner.py 92 # Use the dual band aux radio for scanning networks.
95 networks = iw_command.scan(capture_interface)
96 if networks is None:
103 elif len(networks) < ap_constants.MAX_SSID_COUNT:
105 elif len(networks) >= ap_constants.MAX_SSID_COUNT:
155 networks = utils.return_available_networks(
158 if networks is None:
159 # If scan returned no networks, iw scan failed.
169 if networks == list():
203 capturer_frequency=networks[0].frequency
    [all...]
chaos_runner.py 92 # Use the dual band aux radio for scanning networks.
95 networks = iw_command.scan(capture_interface)
96 if networks is None:
103 elif len(networks) < ap_constants.MAX_SSID_COUNT:
105 elif len(networks) >= ap_constants.MAX_SSID_COUNT:
194 networks = utils.return_available_networks(
197 if networks is None:
198 # If scan returned no networks, iw scan failed.
208 if networks == list():
242 capturer_frequency=networks[0].frequency
    [all...]
  /external/autotest/client/site_tests/network_ChromeWifiEndToEnd/
network_ChromeWifiEndToEnd.py 21 1. Tests that the configured wifi networks are seen by Chrome.
22 2. Tests the transitioning between various available networks.
31 """Extract the needed information from the list of networks found
34 @param networks_found: Networks found via getVisibleNetworks api.
35 @return Formated list of available wifi networks.
112 """Verify all WiFi networks in range are displayed."""
116 logging.info('Networks found via API: %s', networks_found_via_api)
147 wifi networks.
149 @param known_wifi_networks: List of known wifi networks.
170 networks = self._extract_wifi_network_info(
    [all...]
  /external/webrtc/webrtc/base/
network.h 68 // networks.
94 // is emitted whenever list of networks changes.
98 // Returns the current list of networks available on this machine.
102 // include ignored networks.
103 virtual void GetNetworks(NetworkList* networks) const = 0;
113 virtual void GetAnyAddressNetworks(NetworkList* networks) {}
115 // Dumps the current list of networks in the network manager.
135 void GetNetworks(std::vector<Network*>* networks) const override;
136 void GetAnyAddressNetworks(NetworkList* networks) override;
140 void set_max_ipv6_networks(int networks) { max_ipv6_networks_ = networks;
    [all...]
fakenetwork.h 92 std::vector<Network*> networks;
107 networks.push_back(net.release());
110 MergeNetworkList(networks, &changed);
  /external/syslinux/gpxe/src/usr/
iwmgmt.c 110 * Scan for wireless networks using 802.11 device
115 * The list of networks found will be printed in tabular format.
123 struct list_head *networks; local
159 networks = net80211_probe_finish_all ( ctx );
161 if ( list_empty ( networks ) ) {
167 printf ( "Networks on %s:\n\n", dev->netdev->name );
183 list_for_each_entry ( wlan, networks, list ) {
210 net80211_free_wlanlist ( networks );
224 printf ( "Scanning for networks on %s: %s\n",
  /external/webrtc/webrtc/p2p/stunprober/
stunprober_unittest.cc 60 const rtc::NetworkManager::NetworkList& networks,
65 new StunProber(socket_factory, rtc::Thread::Current(), networks));
83 rtc::NetworkManager::NetworkList networks; local
84 networks.push_back(&ipv4_network1);
99 StartProbing(socket_factory.get(), addrs, networks, shared_mode, 3,
main.cc 126 rtc::NetworkManager::NetworkList networks; local
127 network_manager->GetNetworks(&networks);
129 new StunProber(socket_factory.get(), rtc::Thread::Current(), networks);
  /external/autotest/client/cros/networking/chrome_testing/
chrome_networking_test_context.py 202 Queries the current cellular networks.
204 @return A list containing the found cellular networks.
211 Queries the current wifi networks.
213 @return A list containing the found wifi networks.
220 Queries the current networks of the queried type.
224 @return A list containing the found cellular networks.
233 'Failed to get networks: ' + call_status['error'])
234 networks = call_status['result']
235 if type(networks) != list:
237 'Expected a list, found "' + repr(networks) + '".'
    [all...]
  /external/autotest/client/site_tests/network_ChromeCellularSmokeTest/
network_ChromeCellularSmokeTest.py 40 networks = self._chrome_testing.find_cellular_networks()
41 if len(networks) != 1:
43 'Expected 1 cellular network, found ' + str(len(networks)))
44 network = networks[0]

Completed in 5196 milliseconds

1 2 3 4 5