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);
79 * Retrieve an existing service called @a name from the
80 * service manager. Non-blocking.
84 IBinder service = sCache.get(name);
85 if (service != null) {
86 return service;
113 * @param cache the cache of service references