/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);
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
WakeupLockTest.java | 71 * Updates the lock enough times to evict any networks not passed in. 76 private void updateEnoughTimesToEvictWithAsserts(Collection<ScanResultMatchInfo> networks) { 79 mWakeupLock.update(networks); 84 * Updates the lock enough times to evict any networks not passed in. 89 private void updateEnoughTimesToEvictWithoutAsserts(Collection<ScanResultMatchInfo> networks) { 91 mWakeupLock.update(networks); 101 List<ScanResultMatchInfo> networks = Collections.singletonList(mNetwork1); local 102 mWakeupLock.setLock(networks); 105 mWakeupLock.update(networks); 107 mWakeupLock.update(networks); 124 List<ScanResultMatchInfo> networks = Collections.singletonList(mNetwork1); local 137 List<ScanResultMatchInfo> networks = Collections.singletonList(mNetwork1); local 264 List<ScanResultMatchInfo> networks = Collections.singletonList(mNetwork1); local 278 List<ScanResultMatchInfo> networks = Collections.singletonList(mNetwork1); local [all...] |
WifiConfigStoreLegacyTest.java | 111 final List<WifiConfiguration> networks = new ArrayList<>(); local 112 networks.add(pskNetwork); 113 networks.add(wepNetwork); 114 networks.add(eapNetwork); 115 networks.add(passpointNetwork); 132 createWpaSupplicantLoadData(networks).entrySet()) { 144 .thenReturn(createIpConfigStoreLoadData(networks)); 156 networks, storeData.getConfigurations()); 170 final List<WifiConfiguration> networks = new ArrayList<>(); local 171 networks.add(pskNetwork) [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 | 63 #reset and clear all saved networks on the DUT 89 def add_networks(self, ad, networks): 90 """Add Wi-Fi networks to an Android device and verify the networks were 94 ad: the AndroidDevice object to add networks to. 95 networks: a list of dicts, each dict represents a Wi-Fi network. 97 for network in networks: 103 logging.debug("Configured networks: %s", configured_networks) 142 networks = [self.reference_networks[AP_1]['5g']] 143 self.add_networks(self.dut, 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]
|
/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: 163 networks = utils.return_available_networks( 166 if networks is None: 167 # If scan returned no networks, iw scan failed. 177 if networks == list(): 211 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: 202 networks = utils.return_available_networks( 205 if networks is None: 206 # If scan returned no networks, iw scan failed. 216 if networks == list(): 250 capturer_frequency=networks[0].frequency [all...] |
/frameworks/base/services/core/java/com/android/server/net/ |
IpConfigStore.java | 182 final SparseArray<IpConfiguration> networks) { 185 for(int i = 0; i < networks.size(); i++) { 186 writeConfig(out, String.valueOf(networks.keyAt(i)), networks.valueAt(i)); 192 ArrayMap<String, IpConfiguration> networks) { 195 for(int i = 0; i < networks.size(); i++) { 196 writeConfig(out, networks.keyAt(i), networks.valueAt(i)); 233 ArrayMap<String, IpConfiguration> networks = readIpConfigurations(inputStream); local 234 if (networks == null) 250 ArrayMap<String, IpConfiguration> networks = new ArrayMap<>(); local [all...] |
/compatibility/cdd/9_security-model/ |
9_14_automotive-system-isolation.md | 5 to send and receive messages over vehicle networks such as CAN bus.
|
/device/google/cuttlefish_common/guest/monitoring/vsoc_service/java/com/android/google/gce/gceservice/ |
ConnectivityChecker.java | 43 NetworkInfo[] networks = connManager.getAllNetworkInfo(); 47 for (NetworkInfo network : networks) {
|
/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);
|
/tools/test/connectivity/acts/framework/acts/test_utils/power/ |
PowerWiFiBaseTest.py | 37 self.networks = self.unpack_custom_file(self.network_file, False) 38 self.main_network = self.networks['main_network'] 39 self.aux_network = self.networks['aux_network']
|
/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...] |