Lines Matching refs:Service
71 // A Service is a uniquely named entity, which the system can
74 // state of the Service. If the Entry is populated at the time of Service
75 // creation, that information is used to prime the Service. If not, the Entry
77 class Service : public base::RefCounted<Service> {
155 // A constructor for the Service object
156 Service(ControlInterface* control_interface,
164 // concurrent connection, and another Service is already connected
175 // Disconnect this service. Override this method to add your service specific
178 // Disconnects this service via Disconnect(). Marks the service as having
183 // Disconnects this service via Disconnect(). The service will not be eligible
187 // Connect to this service via Connect(). This function indicates that the
204 // Updates the state of the Service and alerts the manager. Also
210 // is called when portal detection failed for the Service.
235 // Returns true if the connection for |this| depends on service |b|.
242 // Return true if service is allowed to automatically switch to fallback
254 // Records the failure mode and time. Sets the Service state to "Failure".
256 // Records the failure mode and time. Sets the Service state to "Idle".
260 // Returns a string that is guaranteed to uniquely identify this Service
266 // Returns the unique persistent storage identifier for the service.
270 // this service can be loaded. Returns an empty string if no entry in
275 // Returns whether the service configuration can be loaded from |storage|.
278 // Returns true if the service uses 802.1x for key management.
281 // Loads the service from persistent |storage|. Returns true on success.
284 // Indicate to service that it is no longer persisted to storage. It
286 // true to indicate that this service should also be unregistered from
290 // Attempt to remove the service. On failure, no changes in state will occur.
293 // Saves the service to persistent |storage|. Returns true on success.
296 // Applies all the properties in |args| to this service object's mutable
303 // value in this service object's store. Returns false if one or more
307 // Returns whether portal detection is explicitly disabled on this service
312 // of this service's technology via a property set on it.
315 // Returns true if the service is persisted to a non-ephemeral profile.
318 // Returns true if the service RPC identifier should be part of the
322 // Returns true if there is a proxy configuration set on this service.
325 // Returns whether this service has had recent connection issues.
332 // Set the connection for this service. If the connection is non-NULL, create
333 // an HTTP Proxy that will utilize this service's connection to serve
338 // Emit service's IP config change event to chrome.
342 // Examines the EAP credentials for the service and returns true if a
353 // Returns true if this service contains a IP address in its static IP
357 // Returns true if this service contains nameservers in its static IP
361 // The inherited class that needs to send metrics after the service has
364 // the system was resumed until when the service transitioned to the
365 // connected state. This value is non-zero for the first service transition
374 // Sets the connectable property of the service, and broadcast the
378 // Sets the connectable property of the service, broadcasts the new
386 // Return RPC identifier for device that's internal to this service, which is
402 // Sets the has_ever_connected_ property of the service
443 // Compare two services. Returns true if Service |a| should be displayed
445 // state of the service (service->state()) is used as the most significant
446 // criteria for comparsion, otherwise the service state is ignored. Use
457 // These are defined in service.cc so that we don't have to include profile.h
460 // setting the profile for this service via |manager_|?
463 // Sets the profile property of this service. Broadcasts the new value if it's
464 // not nullptr. If the new value is nullptr, the service will either be set to
473 // Notification that occurs when a service now has profile data saved
474 // on its behalf. Some service types like WiFi can choose to register
483 // changed. Some service subclasses can choose to respond to this
534 // this service.
544 friend class base::RefCounted<Service>;
548 virtual ~Service();
550 // Returns true if a character is allowed to be in a service storage id.
553 // Returns true if a character is disallowed to be in a service storage id.
561 // Returns whether this service is in a state conducive to auto-connect.
564 // this service is busy with another connection.
566 // If the service is not auto-connectable, |*reason| will be set to
567 // point to C-string explaining why the service is not auto-connectable.
577 bool(Service::*get)(Error* error),
578 bool(Service::*set)(const bool& value, Error* error),
579 void(Service::*clear)(Error* error));
582 int32_t(Service::*get)(Error* error),
583 bool(Service::*set)(const int32_t& value, Error* error));
586 std::string(Service::*get)(Error* error),
587 bool(Service::*set)(const std::string& value, Error* error));
590 uint16_t(Service::*get)(Error* error) const);
593 std::string(Service::*get)(Error*) const);
595 const std::string& name, Strings(Service::*get)(Error* error) const);
597 const std::string& name, std::string(Service::*get)(Error* error) const);
604 bool(Service::*get)(Error* error),
605 bool(Service::*set)(const bool& value, Error* error),
606 void(Service::*clear)(Error* error));
616 // Update the service's string-based "Error" RPC property based on the
644 // Inform base class of the security properties for the service.
650 // Return whether this service is suspected or confirmed to be
786 // Returns TCP port of service's HTTP proxy in host order.
801 // SaveServiceToProfile, SaveToProfile never assigns this service
816 // Currently only report stats for wifi service.
824 base::WeakPtrFactory<Service> weak_ptr_factory_;
862 // The time of the most recent failure. Value is 0 if the service is
865 // Whether or not this service has ever reached kStateConnected.
881 std::string unique_name_; // MUST be unique amongst service instances
883 // Service's friendly name is presented through the UI. By default it's the
884 // same as |unique_name_| but normally Service subclasses override
903 // The |serial_number_| for the next Service.
906 // Network identifier indicating the network (gateway) the service is
909 // When set to true, this service will automatically fallback to Google's DNS
914 // service is established.
916 // When set to true, the credentials for this service will be considered
920 // Flag indicating if this service is unreliable (experiencing multiple
924 DISALLOW_COPY_AND_ASSIGN(Service);