Home
last modified time | relevance | path

Searched refs:service_path (Results 1 – 15 of 15) sorted by relevance

/external/chromium/chrome/browser/ui/webui/options/chromeos/
Dinternet_options_handler.cc412 std::string service_path; in SetApnCallback() local
417 !args->GetString(0, &service_path) || in SetApnCallback()
428 cros->FindCellularNetworkByPath(service_path); in SetApnCallback()
494 cros->AddNetworkObserver(wifi_network->service_path(), this); in MonitorNetworks()
502 cros->AddNetworkObserver(cell_network->service_path(), this); in MonitorNetworks()
514 cros->GetDataPlans(cellular->service_path()); in OnCellularDataPlanChanged()
523 connection_plans.SetString("servicePath", cellular->service_path()); in OnCellularDataPlanChanged()
575 std::string service_path; in SetDetailsCallback() local
579 !args->GetString(0, &service_path) || in SetDetailsCallback()
592 chromeos::WifiNetwork* network = cros->FindWifiNetworkByPath(service_path); in SetDetailsCallback()
[all …]
Dinternet_options_handler.h62 void HandleWifiButtonClick(const std::string& service_path,
64 void HandleCellularButtonClick(const std::string& service_path,
66 void HandleVPNButtonClick(const std::string& service_path,
107 ListValue* GetNetwork(const std::string& service_path,
/external/chromium/chrome/browser/chromeos/cros/
Dnetwork_library.cc1653 return ActivateCellularModem(service_path().c_str(), NULL); in StartActivation()
1660 RequestCellularDataPlanUpdate(service_path().c_str()); in RefreshDataPlansIfNeeded()
2161 virtual void AddNetworkObserver(const std::string& service_path, in AddNetworkObserver() argument
2167 NetworkObserverMap::iterator iter = network_observers_.find(service_path); in AddNetworkObserver()
2172 oblist = new NetworkObserverList(this, service_path); in AddNetworkObserver()
2173 network_observers_[service_path] = oblist; in AddNetworkObserver()
2179 virtual void RemoveNetworkObserver(const std::string& service_path, in RemoveNetworkObserver() argument
2182 DCHECK(service_path.size()); in RemoveNetworkObserver()
2184 network_observers_.find(service_path); in RemoveNetworkObserver()
2699 RequestNetworkServiceConnect(network->service_path().c_str(), in CallConnectToNetwork()
[all …]
Dnetwork_library.h278 const std::string& service_path() const { return service_path_; } in service_path() function
330 Network(const std::string& service_path, ConnectionType type) in Network() argument
340 service_path_(service_path), in Network()
415 explicit EthernetNetwork(const std::string& service_path) : in EthernetNetwork() argument
416 Network(service_path, TYPE_ETHERNET) { in EthernetNetwork()
434 explicit VirtualNetwork(const std::string& service_path) : in VirtualNetwork() argument
435 Network(service_path, TYPE_VPN), in VirtualNetwork()
513 WirelessNetwork(const std::string& service_path, ConnectionType type) in WirelessNetwork() argument
514 : Network(service_path, type), in WirelessNetwork()
559 explicit CellularNetwork(const std::string& service_path) in CellularNetwork() argument
[all …]
/external/chromium/chrome/browser/ui/webui/chromeos/
Dmobile_setup_ui.cc108 const std::string& service_path) { in GetCellularNetwork() argument
110 GetNetworkLibrary()->FindCellularNetworkByPath(service_path); in GetCellularNetwork()
136 explicit MobileSetupUIHTMLSource(const std::string& service_path);
161 explicit MobileSetupHandler(const std::string& service_path);
395 const std::string& service_path) in MobileSetupUIHTMLSource() argument
397 service_path_(service_path) { in MobileSetupUIHTMLSource()
443 MobileSetupHandler::MobileSetupHandler(const std::string& service_path) in MobileSetupHandler() argument
446 service_path_(service_path), in MobileSetupHandler()
504 EvaluateCellularNetwork(GetCellularNetwork(network->service_path())); in OnNetworkChanged()
554 lib->AddNetworkObserver(network->service_path(), this); in StartActivation()
[all …]
/external/chromium/chrome/browser/chromeos/net/
Dnetwork_change_notifier_chromeos.cc46 network->service_path() != service_path_ || in UpdateNetworkState()
56 service_path_ = network->service_path(); in UpdateNetworkState()
57 lib->AddNetworkObserver(network->service_path(), this); in UpdateNetworkState()
75 if (network->service_path() != service_path_) { in OnNetworkChanged()
/external/chromium/chrome/browser/chromeos/
Dnetwork_login_observer.cc59 network_failures_[wifi->service_path()] = wifi->failed(); in RefreshStoredNetworks()
64 network_failures_[vpn->service_path()] = vpn->failed(); in RefreshStoredNetworks()
79 network_failures_.find(wifi->service_path()); in OnNetworkManagerChanged()
113 network_failures_.find(vpn->service_path()); in OnNetworkManagerChanged()
Dnetwork_message_observer.cc166 network_states_.find(network->service_path()); in CheckNetworkFailed()
222 network_states_[(*it)->service_path()] = (*it)->state(); in OnNetworkManagerChanged()
226 network_states_[(*it)->service_path()] = (*it)->state(); in OnNetworkManagerChanged()
230 network_states_[(*it)->service_path()] = (*it)->state(); in OnNetworkManagerChanged()
251 cros->GetDataPlans(cellular->service_path()); in OnCellularDataPlanChanged()
280 bool new_plan = cellular->service_path() != cellular_service_path_ || in OnCellularDataPlanChanged()
309 cellular_service_path_ = cellular->service_path(); in SaveLastCellularInfo()
/external/chromium/chrome/browser/chromeos/status/
Dnetwork_menu.cc106 const std::string& service_path = menu_items_[index].service_path; in ConnectToNetworkAt() local
108 WifiNetwork* wifi = cros->FindWifiNetworkByPath(service_path); in ConnectToNetworkAt()
132 << service_path; in ConnectToNetworkAt()
137 service_path); in ConnectToNetworkAt()
156 << service_path; in ConnectToNetworkAt()
166 VirtualNetwork* vpn = cros->FindVirtualNetworkByPath(service_path); in ConnectToNetworkAt()
187 LOG(WARNING) << "VPN does not exist to connect to: " << service_path; in ConnectToNetworkAt()
409 && wifi_networks[i]->service_path() == active_wifi->service_path()) in InitMenuItems()
414 wifi_networks[i]->service_path(), flag)); in InitMenuItems()
480 cell_networks[i]->service_path() == active_cellular->service_path() && in InitMenuItems()
[all …]
Dnetwork_menu.h118 const std::string& service_path, int flags) in MenuItem()
122 service_path(service_path), in MenuItem()
136 std::string service_path; member
Dnetwork_menu_button.cc395 std::string new_network = network ? network->service_path() : std::string(); in RefreshNetworkObserver()
/external/chromium/chrome/browser/automation/
Dtesting_automation_provider_chromeos.cc265 network_library->ethernet_network()->service_path()); in GetNetworkInfo()
268 network_library->wifi_network()->service_path()); in GetNetworkInfo()
272 network_library->cellular_network()->service_path()); in GetNetworkInfo()
283 items->Set(ethernet_network->service_path(), item); in GetNetworkInfo()
302 items->Set(wifi->service_path(), item); in GetNetworkInfo()
329 items->Set(cellular_networks[i]->service_path(), item); in GetNetworkInfo()
392 std::string service_path, password, identity, certpath; in ConnectToWifiNetwork() local
393 if (!args->GetString("service_path", &service_path) || in ConnectToWifiNetwork()
403 network_library->FindWifiNetworkByPath(service_path); in ConnectToWifiNetwork()
416 new ServicePathConnectObserver(this, reply_message, service_path); in ConnectToWifiNetwork()
Dautomation_provider_observers_chromeos.cc161 const std::string& service_path) in ServicePathConnectObserver() argument
163 service_path_(service_path) {} in ServicePathConnectObserver()
Dautomation_provider_observers.h808 const std::string& service_path);
/external/chromium/chrome/browser/chromeos/options/
Dnetwork_config_view.h121 : service_path_(network->service_path()), in ChildNetworkConfigView()