Lines Matching defs:name
44 * Returns a reference to a service with the given name.
46 * @param name the name of the service to get
49 public static IBinder getService(String name) {
51 IBinder service = sCache.get(name);
55 return getIServiceManager().getService(name);
64 * Place a new @a service called @a name into the service
67 * @param name the name of the new service
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
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
99 public static IBinder checkService(String name) {
101 IBinder service = sCache.get(name);
105 return getIServiceManager().checkService(name);