Example usage for Java android.os Binder fields, constructors, methods, implement or subclass
The text is from its open source code.
Binder() Default constructor initializes the object. |
void | attachInterface(@Nullable IInterface owner, @Nullable String descriptor) Convenience method for associating a specific interface with the Binder. |
long | clearCallingIdentity() Reset the identity of the incoming IPC on the current thread. |
int | getCallingPid() Return the ID of the process that sent you the current transaction that is being processed. |
int | getCallingUid() Return the Linux uid assigned to the process that sent you the current transaction that is being processed. |
UserHandle | getCallingUserHandle() Return the UserHandle assigned to the process that sent you the current transaction that is being processed. |
void | restoreCallingIdentity(long token) Restore the identity of the incoming IPC on the current thread back to a previously identity that was returned by #clearCallingIdentity . |