/external/chromium_org/content/renderer/p2p/ |
ipc_network_manager_unittest.cc | 54 std::vector<rtc::Network*> networks; local 57 // Add 2 networks with the same prefix and prefix length. 79 network_manager_->GetNetworks(&networks); 80 EXPECT_EQ(1uL, networks.size()); 81 EXPECT_EQ(2uL, networks[0]->GetIPs().size()); 85 networks.clear(); 97 network_manager_->GetNetworks(&networks); 99 // Verify we have 2 networks now. 100 EXPECT_EQ(2uL, networks.size()); 102 EXPECT_EQ(64, networks[1]->prefix_length()) [all...] |
ipc_network_manager.cc | 76 std::vector<rtc::Network*> networks; local 94 networks.push_back(network); 110 networks.push_back(network); 130 networks.push_back(network_v4); 137 networks.push_back(network_v6); 141 MergeNetworkList(networks, &changed);
|
/external/chromium_org/remoting/client/plugin/ |
pepper_network_manager.cc | 66 // Convert the networks to rtc::Network. 67 std::vector<rtc::Network*> networks; local 90 networks.push_back(network); 95 MergeNetworkList(networks, &changed);
|
/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/chromium_org/chrome/browser/extensions/api/networking_private/ |
networking_private_event_router_chromeos.cc | 145 NetworkStateHandler::NetworkStateList networks; local 147 &networks); 160 networks.begin(); 161 iter != networks.end();
|
/external/chromium_org/chrome/browser/local_discovery/ |
privet_traffic_detector.cc | 26 net::NetworkInterfaceList networks; local 27 if (!GetNetworkList(&networks, net::INCLUDE_HOST_SCOPE_VIRTUAL_INTERFACES)) 31 for (size_t i = 0; i < networks.size(); ++i) { 33 net::GetAddressFamily(networks[i].address); 35 networks[i].network_prefix >= 24) { 36 ip4_networks.push_back(networks[i]); 110 void PrivetTrafficDetector::Restart(const net::NetworkInterfaceList& networks) { 112 networks_ = networks;
|
/frameworks/base/services/core/java/com/android/server/net/ |
IpConfigStore.java | 165 final SparseArray<IpConfiguration> networks) { 169 for(int i = 0; i < networks.size(); i++) { 170 writeConfig(out, networks.keyAt(i), networks.valueAt(i)); 177 SparseArray<IpConfiguration> networks = new SparseArray<IpConfiguration>(); local 270 networks.put(id, config); 329 return networks;
|
/external/chromium_org/chromeos/network/ |
client_cert_resolver.cc | 171 // Searches for matches between |networks| and |certs| and writes matches to 175 std::vector<NetworkAndCertPattern>* networks, 180 networks->begin(); 181 it != networks->end(); ++it) { 304 // Configure only networks that were not configured before. 306 // We'll drop networks from |resolved_networks_|, which are not known anymore. 310 NetworkStateHandler::NetworkStateList networks; local 316 &networks); local 320 networks.begin(); it != networks.end(); ++it) 345 &networks); local 361 NetworkStateHandler::NetworkStateList networks; local [all...] |
network_cert_migrator.cc | 48 // Migrates each network of |networks| with a deprecated CaCertNss property to 74 void Run(const NetworkStateHandler::NetworkStateList& networks) { 78 networks.begin(); it != networks.end(); ++it) { 343 NetworkStateHandler::NetworkStateList networks; local 346 true, // only configured networks 347 false, // visible and not visible networks 349 &networks); local 350 helper->Run(networks); 356 // Maybe there are networks referring to certs that were not loaded before bu [all...] |
network_state_handler_unittest.cc | 71 NetworkStateHandler::NetworkStateList networks; variable 76 &networks); variable 77 network_count_ = networks.size(); 323 // Get all networks. 324 NetworkStateHandler::NetworkStateList networks; local 329 &networks); local 330 EXPECT_EQ(kNumShillManagerClientStubImplServices + 1, networks.size()); 336 &networks); local 337 EXPECT_EQ(2u, networks.size()); 338 // Get all wifi networks 343 &networks); local 350 &networks); local 359 &networks); local 405 NetworkStateHandler::NetworkStateList networks; local [all...] |
network_connection_handler.cc | 255 // networks. These states will not be affected by a recent configuration. 262 // For existing networks, perform some immediate consistency checks. 299 // Connect immediately to 'connectable' networks. 793 "Disconnecting unmanaged and shared networks if any exist."); 795 // Get the list of unmanaged & shared networks that are connected or 797 NetworkStateHandler::NetworkStateList networks; local 799 NetworkTypePattern::Wireless(), &networks); local 801 networks.begin(); 802 it != networks.end(); 806 break; // Connected and connecting networks are listed first [all...] |
/external/chromium_org/third_party/libjingle/source/talk/p2p/client/ |
connectivitychecker.cc | 234 std::vector<rtc::Network*> networks; local 235 network_manager_->GetNetworks(&networks); 236 if (networks.empty()) { 237 LOG(LS_ERROR) << "No networks while registering http start."; 243 nics_.find(NicId(networks[0]->GetBestIP(), proxy_info.address)); 245 nics_.find(NicId(networks[0]->ip(), proxy_info.address)); 362 std::vector<rtc::Network*> networks; local 363 network_manager_->GetNetworks(&networks); 364 if (networks.empty()) { 365 LOG(LS_ERROR) << "Machine has no networks; nothing to do" 417 std::vector<rtc::Network*> networks; local 479 std::vector<rtc::Network*> networks; local 562 std::vector<rtc::Network*> networks; local [all...] |
basicportallocator.cc | 404 std::vector<rtc::Network*> networks; local 405 allocator_->network_manager()->GetNetworks(&networks); 406 if (networks.empty()) { 407 LOG(LS_WARNING) << "Machine has no networks; no ports will be allocated"; 410 for (uint32 i = 0; i < networks.size(); ++i) { 435 networks[i]->GetBestIP().family() == AF_INET6) { 437 networks[i]->ip().family() == AF_INET6) { 439 // Skip IPv6 networks unless the flag's been set. 445 DisableEquivalentPhases(networks[i], config, &sequence_flags); 453 new AllocationSequence(this, networks[i], config, sequence_flags) [all...] |
/external/chromium_org/third_party/webrtc/base/ |
nat_unittest.cc | 200 std::vector<Network*> networks; local 201 network_manager.GetNetworks(&networks); 202 if (networks.empty()) { 211 for (std::vector<Network*>::iterator it = networks.begin(); 212 it != networks.end(); ++it) {
|
/external/tcpdump/ |
print-egp.c | 144 int gateways, distances, networks; local 193 networks = *cp++; 194 while (--networks >= 0) {
|
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/ |
p2ptransportchannel.cc | 929 std::set<rtc::Network*> networks; local [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
NetworkActivity.java | 410 * networks is required. 418 * Create a list of available Wifi networks sorted by connection status (a connected Wifi 428 List<ScanResult> networks = mConnectivityListener.getAvailableNetworks(); local 430 if (networks.size() > 0) { 432 // "networks" is already sorted by the signal strength and connection status. 437 for (ScanResult scanResult : networks) {
|
WifiNetworksBrowseInfo.java | 114 List<ScanResult> networks = getAvailableNetworks(currentConnection); local 116 if (networks.size() > 0) { 117 for (ScanResult network : networks) {
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
WifiConfigStore.java | 88 * wifi networks. The API is not thread safe is being 128 * - Maintain a list of configured networks for quick access 141 /* configured networks with network id as the key */ 147 * the configuration file at start and can thus change for networks. 148 * We store the IP configuration for networks along with a unique id 157 * so as, framework knows not to re-add those SSIDs automatically to the Saved networks 170 /* Tracks the highest priority of configured networks */ 366 // Boost RSSI values of associated networks 592 * Fetch the list of configured networks 593 * and enable all stored networks in supplicant 606 List<WifiConfiguration> networks = new ArrayList<>(); local 666 List<WifiConfiguration> networks = new ArrayList<WifiConfiguration>(); local 1634 final List<WifiConfiguration> networks = new ArrayList<WifiConfiguration>(); local 2578 final SparseArray<IpConfiguration> networks = new SparseArray<IpConfiguration>(); local 2589 SparseArray<IpConfiguration> networks = super.readIpAndProxyConfigurations(ipConfigFile); local [all...] |
WifiAutoJoinController.java | 67 /** Whether to allow connections to untrusted networks. */ 407 * as those networks get a relative lower score than the selected configuration 459 List<WifiConfiguration> networks = local 461 if (networks != null) size = networks.size(); 462 logDbg("updateConfigurationHistory found " + size + " networks"); 463 if (networks != null) { 464 for (WifiConfiguration config : networks) { 752 * b/18490330 only use scorer for untrusted networks [all...] |
/development/apps/Development/src/com/android/development/ |
Connectivity.java | 474 Network[] networks = mCm.getAllNetworks(); local 475 for (Network network : networks) {
|
/external/chromium_org/chrome/browser/ui/webui/options/chromeos/ |
internet_options_handler.cc | 220 // Disconnected LTE networks should show the button if we are online and 951 NetworkStateHandler::NetworkStateList networks; local 953 NetworkTypePattern::Wireless(), &networks); local 965 NetworkStateHandler::NetworkStateList networks; local 967 NetworkTypePattern::VPN(), &networks); local 979 NetworkStateHandler::NetworkStateList networks; local 985 &networks); local [all...] |
/external/chromium_org/ui/chromeos/network/ |
network_icon.cc | 73 // Updates |strength_index_| for wireless networks. Returns true if changed. 76 // Updates the local state for cellular networks. Returns true if changed. 79 // Updates the portal state for wireless networks. Returns true if changed. 181 // Images for strength bars for wired networks. 184 // Imagaes for strength arcs for wireless networks. 689 // For networks that are always in roaming don't show roaming badge. 948 NetworkStateHandler::NetworkStateList networks; local [all...] |
/external/chromium_org/components/wifi/ |
wifi_service_win.cc | 249 // |NetworkListChanged| event with new list of visible networks. 263 // Return |iterator| to network identified by |network_guid| in |networks| 265 NetworkList::iterator FindNetwork(NetworkList& networks, 271 // Sort networks, so connected/connecting is up front, then by type: 273 static void SortNetworks(NetworkList* networks); 353 // Get the list of visible wireless networks. 409 // Notify |network_list_changed_observer_| that list of visible networks has 410 // changed to |networks|. 411 void NotifyNetworkListChanged(const NetworkList& networks); 605 // WAP and WAP2 networks could use either AES or TKIP encryption type 638 NetworkList networks; local 845 NetworkList networks; local [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
NetworkControllerImpl.java | 928 List<WifiConfiguration> networks = mWifiManager.getConfiguredNetworks(); local [all...] |