|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectandroid.os.ServiceManagerProxy
class ServiceManagerProxy
| Field Summary |
|---|
| Fields inherited from interface android.os.IServiceManager |
|---|
ADD_SERVICE_TRANSACTION, CHECK_SERVICE_TRANSACTION, CHECK_SERVICES_TRANSACTION, descriptor, GET_SERVICE_TRANSACTION, LIST_SERVICES_TRANSACTION, SET_PERMISSION_CONTROLLER_TRANSACTION |
| Constructor Summary | |
|---|---|
ServiceManagerProxy(IBinder remote)
|
|
| Method Summary | |
|---|---|
void |
addService(String name,
IBinder service)
Place a new @a service called @a name into the service manager. |
IBinder |
asBinder()
Retrieve the Binder object associated with this interface. |
IBinder |
checkService(String name)
Retrieve an existing service called @a name from the service manager. |
IBinder |
getService(String name)
Retrieve an existing service called @a name from the service manager. |
String[] |
listServices()
Return a list of all currently running services. |
void |
setPermissionController(IPermissionController controller)
Assign a permission controller to the service manager. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServiceManagerProxy(IBinder remote)
| Method Detail |
|---|
public IBinder asBinder()
IInterface
asBinder in interface IInterface
public IBinder getService(String name)
throws RemoteException
IServiceManager
getService in interface IServiceManagerRemoteException
public IBinder checkService(String name)
throws RemoteException
IServiceManager
checkService in interface IServiceManagerRemoteException
public void addService(String name,
IBinder service)
throws RemoteException
IServiceManager
addService in interface IServiceManagerRemoteException
public String[] listServices()
throws RemoteException
IServiceManager
listServices in interface IServiceManagerRemoteException
public void setPermissionController(IPermissionController controller)
throws RemoteException
IServiceManager
setPermissionController in interface IServiceManagerRemoteException
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||