Lines Matching refs:Service
32 #include "shill/service.h"
56 // Method to return service RPC identifier.
63 void Connect(const VPNServiceRefPtr& service, Error* error) override;
102 // Resets the VPN state and deallocates all resources. If there's a service
103 // associated through Connect, sets its state to Service::kStateIdle and
104 // disassociates from the service.
107 // Resets the VPN state and deallocates all resources. If there's a service
108 // associated through Connect, sets its state to Service::kStateFailure with
109 // failure reason |failure| and disassociates from the service.
110 void FailService(Service::ConnectFailure failure);
113 // and deallocates all resources. If there's a service associated through
114 // Connect, sets its state |state|; if |state| is Service::kStateFailure, sets
115 // the failure reason to |failure|; disassociates from the service.
116 void Cleanup(Service::ConnectState state, Service::ConnectFailure failure);
132 static Service::ConnectFailure TranslateExitStatusToFailure(int status);