void
|
attachInterface(IInterface owner, String descriptor)
Convenience method for associating a specific interface with the Binder.
|
final
static
long
|
clearCallingIdentity()
Reset the identity of the incoming IPC to the local process.
|
void
|
dump(FileDescriptor fd, String[] args)
|
void
|
dump(FileDescriptor fd, PrintWriter fout, String[] args)
Print the object's state into the given stream.
|
void
|
finalize()
Is called before the object's memory is being reclaimed by the VM.
|
final
static
void
|
flushPendingCommands()
Flush any Binder commands pending in the current thread to the kernel
driver.
|
final
static
int
|
getCallingPid()
Return the ID of the process that sent you the current transaction
that is being processed.
|
final
static
int
|
getCallingUid()
Return the ID of the user assigned to the process that sent you the
current transaction that is being processed.
|
String
|
getInterfaceDescriptor()
Default implementation returns an empty interface name.
|
boolean
|
isBinderAlive()
Check to see if the process that the binder is in is still alive.
Note that if you're calling on a local binder, this always returns true
because your process is alive if you're calling it.
|
final
static
void
|
joinThreadPool()
Add the calling thread to the IPC thread pool.
|
void
|
linkToDeath(IBinder.DeathRecipient recipient, int flags)
Local implementation is a no-op.
|
boolean
|
onTransact(int code, Parcel data, Parcel reply, int flags)
Default implementation is a stub that returns false.
|
boolean
|
pingBinder()
Default implementation always returns true -- if you got here,
the object is alive.
|
IInterface
|
queryLocalInterface(String descriptor)
Use information supplied to attachInterface() to return the
associated IInterface if it matches the requested
descriptor.
|
final
static
void
|
restoreCallingIdentity(long token)
Restore the identity of the incoming IPC back to a previously identity
that was returned by clearCallingIdentity().
|
final
boolean
|
transact(int code, Parcel data, Parcel reply, int flags)
Default implementation rewinds the parcels and calls onTransact.
|
boolean
|
unlinkToDeath(IBinder.DeathRecipient recipient, int flags)
Local implementation is a no-op.
|