Lines Matching full:service
6 #define LOG_TAG "Service"
13 /* The service name should not exceed SERVICE_NAME_MAX to avoid
16 * - Starting a service is done by writing its name to the "ctl.start"
18 * the service for us.
20 * - Stopping the service is done by writing its name to "ctl.stop"
23 * - Reading the status of a service is done by reading the property
27 * the service by writing to ctl.start/stop, but you won't be able to
33 /* The maximum amount of time to wait for a service to start or stop,
37 /* The minimal sleeping interval between checking for the service's state
43 SLOGE("Service name '%s' is too long", name);
47 SLOGW("Service '%s' is already running", name);
51 SLOGD("Starting service '%s'", name);
62 SLOGW("Timed out waiting for service '%s' to start", name);
72 SLOGE("Service name '%s' is too long", name);
76 SLOGW("Service '%s' is already stopped", name);
80 SLOGD("Stopping service '%s'", name);
92 SLOGW("Timed out waiting for service '%s' to stop", name);
107 SLOGD("Service name '%s' is too long", name);