Lines Matching refs:name
24 * Returns a reference to a service with the given name.
26 * @param name the name of the service to get
29 public static IBinder getService(String name) {
36 public static IBinder getServiceOrThrow(String name) throws ServiceNotFoundException {
37 throw new ServiceNotFoundException(name);
41 * Place a new @a service called @a name into the service
44 * @param name the name of the new service
47 public static void addService(String name, IBinder service) {
52 * Retrieve an existing service called @a name from the
55 public static IBinder checkService(String name) {
83 * Exception thrown when no service published for given name. This might be
91 public ServiceNotFoundException(String name) {
92 super("No service published for: " + name);