Home | History | Annotate | Download | only in os

Lines Matching refs:service

38         // Find the service manager
44 * Returns a reference to a service with the given name.
46 * @param name the name of the service to get
47 * @return a reference to the service, or <code>null</code> if the service doesn't exist
51 IBinder service = sCache.get(name);
52 if (service != null) {
53 return service;
64 * Place a new @a service called @a name into the service
67 * @param name the name of the new service
68 * @param service the service object
70 public static void addService(String name, IBinder service) {
72 getIServiceManager().addService(name, service, false);
79 * Place a new @a service called @a name into the service
82 * @param name the name of the new service
83 * @param service the service object
85 * to access this service
87 public static void addService(String name, IBinder service, boolean allowIsolated) {
89 getIServiceManager().addService(name, service, allowIsolated);
96 * Retrieve an existing service called @a name from the
97 * service manager. Non-blocking.
101 IBinder service = sCache.get(name);
102 if (service != null) {
103 return service;
130 * @param cache the cache of service references