Class of android.os · Binder.java · Android's reference
public class Binder implements IBinder
A local binder: a transaction is a direct call of onTransact, on the caller's thread.
public Binder() empty body sourcepublic Binder(String descriptor) sourcepublic static final int getCallingPid() sourcepublic static final int getCallingUid() sourcepublic static final UserHandle getCallingUserHandle() sourcepublic static final long clearCallingIdentity() sourcepublic static final void restoreCallingIdentity(long token) empty body sourcepublic static final void flushPendingCommands() empty body sourcepublic static final boolean isProxy(IInterface iface) sourcepublic void attachInterface(IInterface owner, String descriptor) sourcepublic String getInterfaceDescriptor() sourcepublic boolean pingBinder() sourcepublic boolean isBinderAlive() sourcepublic IInterface queryLocalInterface(String descriptor) sourcepublic void dump(FileDescriptor fd, String[] args) empty body sourcepublic void dumpAsync(FileDescriptor fd, String[] args) empty body sourceprotected boolean onTransact(int code, Parcel data, Parcel reply, int flags) throws RemoteException sourcepublic final boolean transact(int code, Parcel data, Parcel reply, int flags) throws RemoteException sourcepublic void linkToDeath(DeathRecipient recipient, int flags) empty body sourcepublic boolean unlinkToDeath(DeathRecipient recipient, int flags) sourceMade from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.