Binder

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.

Constructors

public Binder() empty body source
public Binder(String descriptor) source

Methods

public static final int getCallingPid() source
public static final int getCallingUid() source
public static final UserHandle getCallingUserHandle() source
public static final long clearCallingIdentity() source
public static final void restoreCallingIdentity(long token) empty body source
public static final void flushPendingCommands() empty body source
public static final boolean isProxy(IInterface iface) source
public void attachInterface(IInterface owner, String descriptor) source
public String getInterfaceDescriptor() source
public boolean pingBinder() source
public boolean isBinderAlive() source
public IInterface queryLocalInterface(String descriptor) source
public void dump(FileDescriptor fd, String[] args) empty body source
public void dumpAsync(FileDescriptor fd, String[] args) empty body source
protected boolean onTransact(int code, Parcel data, Parcel reply, int flags) throws RemoteException source
public final boolean transact(int code, Parcel data, Parcel reply, int flags) throws RemoteException source
public void linkToDeath(DeathRecipient recipient, int flags) empty body source
public boolean unlinkToDeath(DeathRecipient recipient, int flags) source

Made 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.