Home | History | Annotate | Download | only in cros

Lines Matching refs:service_path

1653   return ActivateCellularModem(service_path().c_str(), NULL);
1660 RequestCellularDataPlanUpdate(service_path().c_str());
2161 virtual void AddNetworkObserver(const std::string& service_path,
2167 NetworkObserverMap::iterator iter = network_observers_.find(service_path);
2172 oblist = new NetworkObserverList(this, service_path);
2173 network_observers_[service_path] = oblist;
2179 virtual void RemoveNetworkObserver(const std::string& service_path,
2182 DCHECK(service_path.size());
2184 network_observers_.find(service_path);
2699 RequestNetworkServiceConnect(network->service_path().c_str(),
2712 virtual void ConnectToWifiNetwork(const std::string& service_path) {
2713 service_path);
2716 << service_path;
2747 const char* service_path,
2751 if (service_path && info) {
2755 networklib->ParseNetwork(std::string(service_path), dict);
2821 const char* service_path,
2825 if (service_path && info) {
2826 VLOG(1) << "Connecting to new VPN Service: " << service_path;
2830 networklib->ParseNetwork(std::string(service_path), dict);
2835 LOG(WARNING) << "Unable to create VPN Service: " << service_path;
2863 VLOG(1) << "Disconnect from network: " << network->service_path();
2864 if (chromeos::DisconnectFromNetwork(network->service_path().c_str())) {
2866 Network* found_network = FindNetworkByPath(network->service_path());
2880 virtual void ForgetWifiNetwork(const std::string& service_path) {
2883 DeleteRememberedService(service_path.c_str());
2884 DeleteRememberedWifiNetwork(service_path);
3047 const std::string& service_path) {
3049 service_path.c_str(),
3237 const char* service_path,
3241 if (service_path) {
3244 networklib->DeleteNetwork(std::string(service_path));
3248 networklib->ParseNetwork(std::string(service_path), dict);
3254 const char* service_path,
3258 if (service_path) {
3261 networklib->DeleteRememberedWifiNetwork(std::string(service_path));
3265 networklib->ParseRememberedNetwork(std::string(service_path), dict);
3381 network_map_.insert(std::make_pair(network->service_path(), network));
3383 VLOG(2) << "Adding Network: " << network->service_path()
3400 void DeleteNetwork(const std::string& service_path) {
3401 NetworkMap::iterator found = network_map_.find(service_path);
3415 LOG(ERROR) << "Deleting active ethernet network: " << service_path;
3425 LOG(ERROR) << "Deleting active wifi network: " << service_path;
3435 LOG(ERROR) << "Deleting active cellular network: " << service_path;
3438 // Find and delete any existing data plans associated with |service_path|.
3439 CellularDataPlanMap::iterator found = data_plan_map_.find(service_path);
3452 LOG(ERROR) << "Deleting active virtual network: " << service_path;
3462 std::make_pair(wifi->service_path(), wifi));
3467 void DeleteRememberedWifiNetwork(const std::string& service_path) {
3468 NetworkMap::iterator found = remembered_network_map_.find(service_path);
3471 << service_path;
3508 std::string service_path;
3509 (*iter)->GetAsString(&service_path);
3510 if (!service_path.empty()) {
3514 NetworkMap::iterator found = old_network_map.find(service_path);
3524 network_update_requests_[service_path] = network_priority_order++;
3526 RequestNetworkServiceInfo(service_path.c_str(),
3544 std::string service_path;
3545 (*iter)->GetAsString(&service_path);
3546 if (!service_path.empty()) {
3547 VLOG(1) << "Watched Service: " << service_path;
3549 service_path.c_str(), &NetworkServiceUpdate, this);
3572 std::string service_path;
3573 (*iter)->GetAsString(&service_path);
3574 if (!service_path.empty()) {
3578 NetworkMap::iterator found = old_network_map.find(service_path);
3589 service_path.c_str(),
3602 const std::string& service_path) {
3605 EthernetNetwork* ethernet = new EthernetNetwork(service_path);
3609 WifiNetwork* wifi = new WifiNetwork(service_path);
3613 CellularNetwork* cellular = new CellularNetwork(service_path);
3617 VirtualNetwork* vpn = new VirtualNetwork(service_path);
3622 return new Network(service_path, type);
3627 Network* ParseNetwork(const std::string& service_path,
3629 Network* network = FindNetworkByPath(service_path);
3632 network = CreateNewNetwork(type, service_path);
3648 PriorityMap::iterator found2 = network_update_requests_.find(service_path);
3659 // << service_path;
3667 // Returns NULL if |service_path| refers to a network that is not a
3669 Network* ParseRememberedNetwork(const std::string& service_path,
3672 NetworkMap::iterator found = remembered_network_map_.find(service_path);
3678 network = CreateNewNetwork(type, service_path);
3682 VLOG(1) << "Ignoring remembered network: " << service_path
3859 network->service_path());
3867 network->service_path();
4025 void UpdateCellularDataPlan(const std::string& service_path,
4027 VLOG(1) << "Updating cellular data plans for: " << service_path;
4029 // Find and delete any existing data plans associated with |service_path|.
4030 CellularDataPlanMap::iterator found = data_plan_map_.find(service_path);
4036 data_plan_map_[service_path] = data_plans;
4046 CellularNetwork* cellular = FindCellularNetworkByPath(service_path);
4161 data_plan_map_[cellular1->service_path()] = data_plans;
4345 virtual void AddNetworkObserver(const std::string& service_path,
4347 virtual void RemoveNetworkObserver(const std::string& service_path,
4451 virtual void ConnectToWifiNetwork(const std::string& service_path) {}
4468 virtual void ForgetWifiNetwork(const std::string& service_path) {}