public abstract class ServiceManagerNative extends Binder implements IServiceManager
IBinder.DeathRecipient
ADD_SERVICE_TRANSACTION, CHECK_SERVICE_TRANSACTION, CHECK_SERVICES_TRANSACTION, descriptor, GET_SERVICE_TRANSACTION, LIST_SERVICES_TRANSACTION, SET_PERMISSION_CONTROLLER_TRANSACTION
DUMP_TRANSACTION, FIRST_CALL_TRANSACTION, FLAG_ONEWAY, INTERFACE_TRANSACTION, LAST_CALL_TRANSACTION, LIKE_TRANSACTION, PING_TRANSACTION, SYSPROPS_TRANSACTION, TWEET_TRANSACTION
Constructor and Description |
---|
ServiceManagerNative() |
Modifier and Type | Method and Description |
---|---|
IBinder |
asBinder()
Retrieve the Binder object associated with this interface.
|
static IServiceManager |
asInterface(IBinder obj)
Cast a Binder object into a service manager interface, generating
a proxy if needed.
|
boolean |
onTransact(int code,
Parcel data,
Parcel reply,
int flags)
Default implementation is a stub that returns false.
|
attachInterface, clearCallingIdentity, dump, dump, dumpAsync, finalize, flushPendingCommands, getCallingPid, getCallingUid, getCallingUserHandle, getInterfaceDescriptor, getThreadStrictModePolicy, isBinderAlive, joinThreadPool, linkToDeath, pingBinder, queryLocalInterface, restoreCallingIdentity, setThreadStrictModePolicy, transact, unlinkToDeath
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addService, checkService, getService, listServices, setPermissionController
public static IServiceManager asInterface(IBinder obj)
public boolean onTransact(int code, Parcel data, Parcel reply, int flags)
Binder
If you want to call this, call transact().
onTransact
in class Binder
public IBinder asBinder()
IInterface
asBinder
in interface IInterface