IBinder.DeathRecipientDUMP_TRANSACTION, FIRST_CALL_TRANSACTION, FLAG_ONEWAY, INTERFACE_TRANSACTION, LAST_CALL_TRANSACTION, LIKE_TRANSACTION, PING_TRANSACTION, TWEET_TRANSACTION| Constructor and Description |
|---|
Binder() |
| Modifier and Type | Method and Description |
|---|---|
void |
attachInterface(IInterface owner,
String descriptor) |
static long |
clearCallingIdentity() |
protected void |
dump(FileDescriptor fd,
PrintWriter fout,
String[] args) |
void |
dump(FileDescriptor fd,
String[] args) |
void |
dumpAsync(FileDescriptor fd,
String[] args) |
protected void |
finalize() |
static void |
flushPendingCommands() |
static int |
getCallingPid() |
static int |
getCallingUid() |
String |
getInterfaceDescriptor() |
boolean |
isBinderAlive() |
static void |
joinThreadPool() |
void |
linkToDeath(IBinder.DeathRecipient recipient,
int flags) |
protected boolean |
onTransact(int code,
Parcel data,
Parcel reply,
int flags) |
boolean |
pingBinder() |
IInterface |
queryLocalInterface(String descriptor) |
static void |
restoreCallingIdentity(long token) |
boolean |
transact(int code,
Parcel data,
Parcel reply,
int flags) |
boolean |
unlinkToDeath(IBinder.DeathRecipient recipient,
int flags) |
public static final int getCallingPid()
public static final int getCallingUid()
public static final long clearCallingIdentity()
public static final void restoreCallingIdentity(long token)
public static final void flushPendingCommands()
public static final void joinThreadPool()
public void attachInterface(IInterface owner, String descriptor)
public String getInterfaceDescriptor()
getInterfaceDescriptor in interface IBinderpublic boolean pingBinder()
pingBinder in interface IBinderpublic boolean isBinderAlive()
isBinderAlive in interface IBinderpublic IInterface queryLocalInterface(String descriptor)
queryLocalInterface in interface IBinderprotected boolean onTransact(int code,
Parcel data,
Parcel reply,
int flags)
throws RemoteException
RemoteExceptionpublic void dump(FileDescriptor fd, String[] args)
public void dumpAsync(FileDescriptor fd, String[] args)
protected void dump(FileDescriptor fd, PrintWriter fout, String[] args)
public final boolean transact(int code,
Parcel data,
Parcel reply,
int flags)
throws RemoteException
transact in interface IBinderRemoteExceptionpublic void linkToDeath(IBinder.DeathRecipient recipient, int flags)
linkToDeath in interface IBinderpublic boolean unlinkToDeath(IBinder.DeathRecipient recipient, int flags)
unlinkToDeath in interface IBinderCopyright © 2008-2013. All Rights Reserved.