Home | History | Annotate | Download | only in server

Lines Matching refs:service

34  * to initialize the system service.
35 * <li>{@link #onStart()} is called to get the service running. The service should
42 * is an opportunity to do special work, like acquiring optional service dependencies,
43 * waiting to see if SafeMode is enabled, or registering with a service that gets
95 * Initializes the system service.
133 * Called when the dependencies listed in the @Service class-annotation are available
135 * When this method returns, the service should be published.
140 * Called on each phase of the boot process. Phases before the service's start phase
141 * (as defined in the @Service annotation) are never received.
182 * user (such as binding to a service running in the user).
203 * Publish the service so it is accessible to other services and apps.
205 * @param name the name of the new service
206 * @param service the service object
208 protected final void publishBinderService(String name, IBinder service) {
209 publishBinderService(name, service, false);
213 * Publish the service so it is accessible to other services and apps.
215 * @param name the name of the new service
216 * @param service the service object
218 * to access this service
220 protected final void publishBinderService(String name, IBinder service,
222 publishBinderService(name, service, allowIsolated, DUMP_FLAG_PRIORITY_DEFAULT);
226 * Publish the service so it is accessible to other services and apps.
228 * @param name the name of the new service
229 * @param service the service object
231 * to access this service
234 protected final void publishBinderService(String name, IBinder service,
236 ServiceManager.addService(name, service, allowIsolated, dumpPriority);
240 * Get a binder service by its name.
247 * Publish the service so it is only accessible to the system process.
249 protected final <T> void publishLocalService(Class<T> type, T service) {
250 LocalServices.addService(type, service);
254 * Get a local service by interface.