|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IServiceManager
Basic interface for finding and publishing system services. An implementation of this interface is usually published as the global context object, which can be retrieved via BinderNative.getContextObject(). An easy way to retrieve this is with the static method BnServiceManager.getDefault().
| Field Summary | |
|---|---|
static int |
ADD_SERVICE_TRANSACTION
|
static int |
CHECK_SERVICE_TRANSACTION
|
static int |
CHECK_SERVICES_TRANSACTION
|
static String |
descriptor
|
static int |
GET_SERVICE_TRANSACTION
|
static int |
LIST_SERVICES_TRANSACTION
|
static int |
SET_PERMISSION_CONTROLLER_TRANSACTION
|
| Method Summary | |
|---|---|
void |
addService(String name,
IBinder service)
Place a new @a service called @a name into the service manager. |
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 interface android.os.IInterface |
|---|
asBinder |
| Field Detail |
|---|
static final String descriptor
static final int GET_SERVICE_TRANSACTION
static final int CHECK_SERVICE_TRANSACTION
static final int ADD_SERVICE_TRANSACTION
static final int LIST_SERVICES_TRANSACTION
static final int CHECK_SERVICES_TRANSACTION
static final int SET_PERMISSION_CONTROLLER_TRANSACTION
| Method Detail |
|---|
IBinder getService(String name)
throws RemoteException
RemoteException
IBinder checkService(String name)
throws RemoteException
RemoteException
void addService(String name,
IBinder service)
throws RemoteException
RemoteException
String[] listServices()
throws RemoteException
RemoteException
void setPermissionController(IPermissionController controller)
throws RemoteException
RemoteException
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||