Home
last modified time | relevance | path

Searched refs:networks (Results 1 – 25 of 84) sorted by relevance

1234

/external/chromium_org/content/renderer/p2p/
Dipc_network_manager_unittest.cc54 std::vector<rtc::Network*> networks; in TEST_F() local
79 network_manager_->GetNetworks(&networks); in TEST_F()
80 EXPECT_EQ(1uL, networks.size()); in TEST_F()
81 EXPECT_EQ(2uL, networks[0]->GetIPs().size()); in TEST_F()
85 networks.clear(); in TEST_F()
97 network_manager_->GetNetworks(&networks); in TEST_F()
100 EXPECT_EQ(2uL, networks.size()); in TEST_F()
102 EXPECT_EQ(64, networks[1]->prefix_length()); in TEST_F()
103 EXPECT_EQ(2uL, networks[1]->GetIPs().size()); in TEST_F()
105 EXPECT_EQ(networks[1]->GetIPs()[0], ip_address); in TEST_F()
[all …]
Dipc_network_manager.cc76 std::vector<rtc::Network*> networks; in OnNetworkListChanged() local
94 networks.push_back(network); in OnNetworkListChanged()
110 networks.push_back(network); in OnNetworkListChanged()
130 networks.push_back(network_v4); in OnNetworkListChanged()
137 networks.push_back(network_v6); in OnNetworkListChanged()
141 MergeNetworkList(networks, &changed); in OnNetworkListChanged()
/external/chromium_org/chrome/browser/resources/chromeos/
Dchoose_mobile_network.js14 showNetworks_: function(networks) { argument
15 this.networks_ = networks;
17 if (networks.length == 0) {
26 for (var i in networks) {
32 $('label' + i).textContent = networks[i].operatorName;
33 if (networks[i].status == 'current') {
36 } else if (networks[i].status == 'forbidden') {
94 ChooseNetwork.showNetworks = function(networks) { argument
95 ChooseNetwork.getInstance().showNetworks_(networks);
/external/chromium_org/third_party/libjingle/source/talk/p2p/client/
Dconnectivitychecker.cc234 std::vector<rtc::Network*> networks; in OnRequestDone() local
235 network_manager_->GetNetworks(&networks); in OnRequestDone()
236 if (networks.empty()) { in OnRequestDone()
243 nics_.find(NicId(networks[0]->GetBestIP(), proxy_info.address)); in OnRequestDone()
245 nics_.find(NicId(networks[0]->ip(), proxy_info.address)); in OnRequestDone()
362 std::vector<rtc::Network*> networks; in OnNetworksChanged() local
363 network_manager_->GetNetworks(&networks); in OnNetworksChanged()
364 if (networks.empty()) { in OnNetworksChanged()
417 std::vector<rtc::Network*> networks; in CreateRelayPorts() local
418 network_manager_->GetNetworks(&networks); in CreateRelayPorts()
[all …]
/external/chromium_org/chromeos/network/
Dclient_cert_resolver.cc175 std::vector<NetworkAndCertPattern>* networks, in FindCertificateMatches() argument
180 networks->begin(); in FindCertificateMatches()
181 it != networks->end(); ++it) { in FindCertificateMatches()
310 NetworkStateHandler::NetworkStateList networks; in NetworkListChanged() local
316 &networks); in NetworkListChanged()
320 networks.begin(); it != networks.end(); ++it) { in NetworkListChanged()
339 NetworkStateHandler::NetworkStateList networks; in OnCertificatesLoaded() local
345 &networks); in OnCertificatesLoaded()
346 ResolveNetworks(networks); in OnCertificatesLoaded()
361 NetworkStateHandler::NetworkStateList networks; in PolicyApplied() local
[all …]
Dnetwork_state_handler_unittest.cc71 NetworkStateHandler::NetworkStateList networks; in NetworkListChanged() local
76 &networks); in NetworkListChanged()
77 network_count_ = networks.size(); in NetworkListChanged()
324 NetworkStateHandler::NetworkStateList networks; in TEST_F() local
329 &networks); in TEST_F()
330 EXPECT_EQ(kNumShillManagerClientStubImplServices + 1, networks.size()); in TEST_F()
336 &networks); in TEST_F()
337 EXPECT_EQ(2u, networks.size()); in TEST_F()
343 &networks); in TEST_F()
344 EXPECT_EQ(3u, networks.size()); in TEST_F()
[all …]
Dnetwork_cert_migrator.cc74 void Run(const NetworkStateHandler::NetworkStateList& networks) { in Run() argument
78 networks.begin(); it != networks.end(); ++it) { in Run()
343 NetworkStateHandler::NetworkStateList networks; in NetworkListChanged() local
349 &networks); in NetworkListChanged()
350 helper->Run(networks); in NetworkListChanged()
/external/chromium_org/chrome/browser/local_discovery/
Dprivet_traffic_detector.cc26 net::NetworkInterfaceList networks; in GetNetworkListOnFileThread() local
27 if (!GetNetworkList(&networks, net::INCLUDE_HOST_SCOPE_VIRTUAL_INTERFACES)) in GetNetworkListOnFileThread()
31 for (size_t i = 0; i < networks.size(); ++i) { in GetNetworkListOnFileThread()
33 net::GetAddressFamily(networks[i].address); in GetNetworkListOnFileThread()
35 networks[i].network_prefix >= 24) { in GetNetworkListOnFileThread()
36 ip4_networks.push_back(networks[i]); in GetNetworkListOnFileThread()
110 void PrivetTrafficDetector::Restart(const net::NetworkInterfaceList& networks) { in Restart() argument
112 networks_ = networks; in Restart()
/external/chromium_org/remoting/test/
Dfake_network_manager.cc37 void FakeNetworkManager::GetNetworks(NetworkList* networks) const { in GetNetworks()
38 networks->clear(); in GetNetworks()
39 networks->push_back(network_.get()); in GetNetworks()
/external/chromium_org/chrome/browser/local_discovery/wifi/
Dbootstrapping_network_switcher.cc44 const NetworkPropertiesList& networks) { in OnGotNetworkList() argument
45 for (NetworkPropertiesList::const_iterator i = networks.begin(); in OnGotNetworkList()
46 i != networks.end(); in OnGotNetworkList()
Dmock_wifi_manager.cc23 const std::vector<NetworkProperties>& networks) { in CallSSIDListCallback() argument
24 ssid_list_callback_.Run(networks); in CallSSIDListCallback()
/external/chromium_org/remoting/client/plugin/
Dpepper_network_manager.cc67 std::vector<rtc::Network*> networks; in OnNetworkList() local
90 networks.push_back(network); in OnNetworkList()
95 MergeNetworkList(networks, &changed); in OnNetworkList()
/external/chromium_org/third_party/webrtc/base/
Dfakenetwork.h85 std::vector<Network*> networks; in DoUpdateNetworks() local
100 networks.push_back(net.release()); in DoUpdateNetworks()
103 MergeNetworkList(networks, &changed); in DoUpdateNetworks()
Dnetwork.h75 virtual void GetNetworks(NetworkList* networks) const = 0;
87 virtual void GetNetworks(std::vector<Network*>* networks) const;
144 NetworkList* networks) const;
148 bool CreateNetworks(bool include_ignored, NetworkList* networks) const;
Dnat_unittest.cc200 std::vector<Network*> networks; in TestPhysicalInternal() local
201 network_manager.GetNetworks(&networks); in TestPhysicalInternal()
202 if (networks.empty()) { in TestPhysicalInternal()
211 for (std::vector<Network*>::iterator it = networks.begin(); in TestPhysicalInternal()
212 it != networks.end(); ++it) { in TestPhysicalInternal()
Dnetwork.cc256 NetworkList* networks) const { in CreateNetworks()
265 NetworkList* networks) const { in ConvertIfAddrs()
320 networks->push_back(network.release()); in ConvertIfAddrs()
329 NetworkList* networks) const { in CreateNetworks()
337 ConvertIfAddrs(interfaces, include_ignored, networks); in CreateNetworks()
387 NetworkList* networks) const { in CreateNetworks()
466 networks->push_back(network.release()); in CreateNetworks()
/external/chromium_org/chrome/browser/extensions/api/networking_private/
Dnetworking_private_event_router_chromeos.cc145 NetworkStateHandler::NetworkStateList networks; in NetworkListChanged() local
147 &networks); in NetworkListChanged()
160 networks.begin(); in NetworkListChanged()
161 iter != networks.end(); in NetworkListChanged()
/external/chromium_org/components/wifi/
Dwifi_service_win.cc265 NetworkList::iterator FindNetwork(NetworkList& networks,
273 static void SortNetworks(NetworkList* networks);
411 void NotifyNetworkListChanged(const NetworkList& networks);
638 NetworkList networks; in GetVisibleNetworks() local
639 error = GetVisibleNetworkList(&networks); in GetVisibleNetworks()
640 if (error == ERROR_SUCCESS && !networks.empty()) { in GetVisibleNetworks()
641 SortNetworks(&networks); in GetVisibleNetworks()
642 for (NetworkList::const_iterator it = networks.begin(); in GetVisibleNetworks()
643 it != networks.end(); in GetVisibleNetworks()
845 NetworkList networks; in OnNetworkScanCompleteOnMainThread() local
[all …]
Dwifi_service_mac.mm113 // Updates |networks_| with the list of visible wireless networks.
123 // Notifies |network_list_changed_observer_| that list of visible networks has
124 // changed to |networks|.
125 void NotifyNetworkListChanged(const NetworkList& networks);
144 // Cached list of visible networks. Updated by |UpdateNetworks|.
285 NSSet* networks = [interface_
292 CWNetwork* network = [networks anyObject];
480 // Sort networks, so connected/connecting is up front.
624 void WiFiServiceMac::NotifyNetworkListChanged(const NetworkList& networks) {
629 for (NetworkList::const_iterator it = networks.begin();
[all …]
Dfake_wifi_service.cc211 void FakeWiFiService::NotifyNetworkListChanged(const NetworkList& networks) { in NotifyNetworkListChanged() argument
213 for (NetworkList::const_iterator it = networks.begin(); it != networks.end(); in NotifyNetworkListChanged()
/external/chromium_org/chrome/browser/ui/webui/options/chromeos/
Dinternet_options_handler.cc951 NetworkStateHandler::NetworkStateList networks; in GetWirelessList() local
953 NetworkTypePattern::Wireless(), &networks); in GetWirelessList()
955 networks.begin(); iter != networks.end(); ++iter) { in GetWirelessList()
965 NetworkStateHandler::NetworkStateList networks; in GetVPNList() local
967 NetworkTypePattern::VPN(), &networks); in GetVPNList()
969 networks.begin(); iter != networks.end(); ++iter) { in GetVPNList()
979 NetworkStateHandler::NetworkStateList networks; in GetRememberedList() local
985 &networks); in GetRememberedList()
987 networks.begin(); iter != networks.end(); ++iter) { in GetRememberedList()
/external/tcpdump/
Dprint-egp.c144 int gateways, distances, networks; in egpnrprint() local
193 networks = *cp++; in egpnrprint()
194 while (--networks >= 0) { in egpnrprint()
/external/chromium_org/net/base/
Dnet_util_posix.cc118 bool GetNetworkList(NetworkInterfaceList* networks, int policy) { in GetNetworkList() argument
143 networks->push_back( in GetNetworkList()
278 networks->push_back(network_infos[i].interface); in GetNetworkList()
Dnet_util_win.cc90 bool GetNetworkList(NetworkInterfaceList* networks, int policy) { in GetNetworkList() argument
187 networks->push_back( in GetNetworkList()
201 networks->push_back(*(ipv6_address.get())); in GetNetworkList()
/external/chromium_org/ui/chromeos/network/
Dnetwork_list.cc64 const NetworkStateHandler::NetworkStateList& networks) { in UpdateNetworks() argument
68 networks.begin(); in UpdateNetworks()
69 iter != networks.end(); in UpdateNetworks()

1234