/external/webrtc/webrtc/p2p/stunprober/ |
main.cc | 126 rtc::NetworkManager::NetworkList networks; local 127 network_manager->GetNetworks(&networks); 129 new StunProber(socket_factory.get(), rtc::Thread::Current(), networks);
|
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,
|
/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);
|
/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",
|
/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);
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
WifiStatusTracker.java | 97 List<WifiConfiguration> networks = mWifiManager.getConfiguredNetworks(); local 98 int length = networks.size(); 100 if (networks.get(i).networkId == info.getNetworkId()) { 101 return networks.get(i).SSID;
|
/frameworks/base/services/core/java/com/android/server/net/ |
IpConfigStore.java | 167 final SparseArray<IpConfiguration> networks) { 171 for(int i = 0; i < networks.size(); i++) { 172 writeConfig(out, networks.keyAt(i), networks.valueAt(i)); 193 SparseArray<IpConfiguration> networks = new SparseArray<IpConfiguration>(); local 285 networks.put(id, config); 344 return networks;
|
/external/webrtc/talk/app/webrtc/androidtests/src/org/webrtc/ |
NetworkMonitorTest.java | 266 Network[] networks = delegate.getAllNetworks(); local 267 if (networks.length >= 1) { 268 delegate.getNetworkState(networks[0]); 269 delegate.hasInternetCapability(networks[0]);
|
/external/webrtc/webrtc/base/ |
nat_unittest.cc | 208 std::vector<Network*> networks; local 209 network_manager.GetNetworks(&networks); 210 networks.erase(std::remove_if(networks.begin(), networks.end(), 215 networks.end()); 216 if (networks.empty()) { 225 for (std::vector<Network*>::iterator it = networks.begin(); 226 it != networks.end(); ++it) {
|
network_unittest.cc | 92 NetworkManager::NetworkList* networks) { 96 include_ignored, networks); 268 // Add ipv4_network1 to the list of networks. 332 // Sets up some test IPv6 networks and appends them to list. 333 // Four networks are added - public and link local, for two interfaces. 347 // Public networks: 387 // Test that no more than manager.max_ipv6_networks() IPv6 networks get 395 // Add twice the allowed number of IPv6 networks. 419 // List size should be the max allowed IPv6 networks plus one IPv4 network. 426 // Tests that when two network lists that describe the same set of networks ar 953 std::vector<Network*> networks; local [all...] |
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
WifiNetworkSelectorTestUtil.java | 74 * WifiConfiguration for these networks and set up the mocked WifiConfigManager. 174 * to the networkd ID) and setup the WifiConfigManager mocks for these networks. 315 * Configure the score cache for externally scored networks 319 * @param scores scores of the networks 320 * @param meteredHints hints of if the networks are metered 324 List<ScoredNetwork> networks = new ArrayList<>(); local 348 networks.add(scoredNetwork); 351 scoreCache.updateScores(networks); 355 * Setup WifiConfigManager mock for ephemeral networks.
|
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()) { 153 networks, storeData.getConfigurations());
|
WifiConfigurationUtilTest.java | 301 List<WifiConfiguration> networks = new ArrayList<>(); local 318 // Add all the networks to the list. 319 networks.add(tempDisabledNetwork1); 320 networks.add(enabledNetwork1); 321 networks.add(permDisabledNetwork); 322 networks.add(tempDisabledNetwork2); 323 networks.add(enabledNetwork2); 344 Collections.sort(networks, comparator); 346 // Now ensure that the networks were sorted correctly. 347 assertEquals(enabledNetwork1, networks.get(0)) [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
WifiBackupRestore.java | 122 * @param configurations list of currently saved networks that needs to be backed up. 203 * @return list of networks retrieved from the backed up data. 289 // ConfigKey mismatches are expected for private networks because the 376 * @return list of networks retrieved from the backed up data. 391 // Incorporate the networks present in the backup data. 406 SparseArray<IpConfiguration> networks = local 409 if (networks != null) { 410 for (int i = 0; i < networks.size(); i++) { 411 int id = networks.keyAt(i); 415 configuration.setIpConfiguration(networks.valueAt(i)) [all...] |
SupplicantStaIfaceHal.java | 387 loge("Failed to remove all networks on failure."); 398 * networks and saves |config|. 412 loge("Failed to remove existing networks"); 463 * Load all the configured networks from wpa_supplicant. 466 * the networks. 474 Log.e(TAG, "Failed to list networks"); 529 * Remove all networks from supplicant 533 ArrayList<Integer> networks = listNetworks(); local 534 if (networks == null) { 535 Log.e(TAG, "removeAllNetworks failed, got null networks"); [all...] |
WifiConfigManager.java | 75 * This class provides the APIs to manage configured Wi-Fi networks. 77 * - Maintaining a list of configured networks for quick access. 192 * Link networks only if they have less than this number of scan cache entries. 197 * Link networks only if the bssid in scan results for the networks match in the first 217 * General sorting algorithm of all networks for scanning purposes: 218 * Place the configurations in descending order of their |numAssociation| values. If networks 259 * Map of configured networks with network id as the key. 274 * Flag to indicate if only networks with the same psk should be linked. 307 * This is keeping track of the next network ID to be assigned. Any new networks will b 459 List<WifiConfiguration> networks = new ArrayList<>(); local 2268 List<WifiConfiguration> networks = new ArrayList<>(getInternalConfiguredNetworks()); local 2301 List<WifiConfiguration> networks = new ArrayList<>(getInternalConfiguredNetworks()); local [all...] |
/cts/tests/netlegacy22.api/src/android/net/cts/legacy/api22/ |
ConnectivityManagerLegacyTest.java | 88 // Returns a list of all the IP addresses for all the networks of a given legacy type. We can't 93 Network[] networks = mCm.getAllNetworks(); local 94 for (int i = 0; i < networks.length; i++) { 95 NetworkInfo ni = mCm.getNetworkInfo(networks[i]); 99 LinkProperties lp = mCm.getLinkProperties(networks[i]);
|
/external/tcpdump/ |
print-egp.c | 137 int gateways, distances, networks; local 186 networks = *cp++; 187 while (--networks >= 0) {
|
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/ |
NetworkMonitorAutoDetect.java | 150 * Returns all connected networks. 179 final Network[] networks = getAllNetworks(); local 181 for (Network network : networks) { 187 // There should not be multiple connected networks of the 203 * ignore specialized networks (e.g. IMS, FOTA).
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
ConnectivityListener.java | 200 final Network[] networks = mConnectivityManager.getAllNetworks(); local 201 for (final Network network : networks) { 246 * Return a list of wifi networks. Ensure that if a wifi network is connected that it appears
|
/external/webrtc/webrtc/p2p/client/ |
basicportallocator.cc | 313 std::vector<rtc::Network*>* networks) { 314 networks->clear(); 328 network_manager->GetAnyAddressNetworks(networks); 330 network_manager->GetNetworks(networks); 332 networks->erase(std::remove_if(networks->begin(), networks->end(), 337 networks->end()); 344 std::vector<rtc::Network*> networks; local 345 GetNetworks(&networks); 404 std::vector<rtc::Network*> networks; local [all...] |
/external/webrtc/webrtc/p2p/base/ |
p2ptransportchannel.cc | 320 std::set<rtc::Network*> networks; local 323 if (networks.find(network) == networks.end()) { 324 networks.insert(network); 1063 std::set<rtc::Network*> networks; local [all...] |
/hardware/libhardware_legacy/include/hardware_legacy/ |
gscan.h | 308 // require firmware to store a large number of networks, covering the whole list of known networks. 321 // Calling wifi_set_epno_list shall reset the "done" status of pno networks in firmware. 324 // frequency range (min5GHz_rssi and min24GHz_rssi for 5GHz and 2.4GHz networks respectively). 372 int same_network_bonus; // score bonus for all networks with the same network flag 373 int secure_bonus; // score bonus for networks that are not open 374 int band5GHz_bonus; // 5GHz RSSI score bonus (applied to all 5GHz networks) 376 wifi_epno_network networks[MAX_EPNO_NETWORKS]; // PNO networks member in struct:__anon41466 390 /* Reset the ePNO list - no ePNO networks should be matched after this * [all...] |
/development/apps/Development/src/com/android/development/ |
Connectivity.java | 610 Network[] networks = mCm.getAllNetworks(); local 611 for (Network network : networks) {
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
NetworkScoreServiceTest.java | 231 final NetworkKey[] networks = new NetworkKey[0]; local 232 assertTrue(mNetworkScoreService.requestScores(networks)); 233 verify(mRecommendationProvider).requestScores(networks); [all...] |