Lines Matching refs:Service
58 : Service(control, dispatcher, metrics, manager, Technology::kVPN),
77 StringPrintf("VPN service %s already connected.",
83 StringPrintf("VPN service %s already connecting.",
88 Service::Connect(error, reason);
93 SLOG(this, 1) << "Disconnect from service " << unique_name();
94 Service::Disconnect(error, reason);
118 replace_if(id.begin(), id.end(), &Service::IllegalChar, '_');
128 return Service::Load(storage) &&
133 return Service::Save(storage) &&
138 // The base method also disconnects the service.
139 Service::Unload();
163 // service. It's safe to use an unretained callback to driver's method because
164 // both the binder and the driver will be destroyed when this service is
179 Service::SetConnection(connection);
183 if (!Service::IsAutoConnectable(reason)) {
187 // the chances that the VPN service is connectable and avoids dialog popups.
192 // Don't auto-connect a VPN service if another VPN service is already active.
211 // The underlying service may not have a Tethering property. This is
226 LOG(INFO) << "Renaming service " << unique_name() << ": "
241 // from unloading this service.