android.content.pm
public
static
abstract
class
android.content.pm.IPackageInstallObserver.Stub
Local-side IPC implementation stub class.
Summary
|
|
|
Value |
|
int |
DUMP_TRANSACTION |
IBinder protocol transaction code: dump internal state. |
1598311760 |
0x5f444d50 |
int |
FIRST_CALL_TRANSACTION |
The first transaction code available for user commands. |
1 |
0x00000001 |
int |
FLAG_ONEWAY |
Flag to transact(int, Parcel, Parcel, int): this is a one-way call, meaning that the
caller returns immediately, without waiting for a result from the
callee. |
1 |
0x00000001 |
int |
INTERFACE_TRANSACTION |
IBinder protocol transaction code: interrogate the recipient side
of the transaction for its canonical interface descriptor. |
1598968902 |
0x5f4e5446 |
int |
LAST_CALL_TRANSACTION |
The last transaction code available for user commands. |
16777215 |
0x00ffffff |
int |
PING_TRANSACTION |
IBinder protocol transaction code: pingBinder(). |
1599098439 |
0x5f504e47 |
Public Constructors
Public Methods
attachInterface,
clearCallingIdentity,
dump,
finalize,
flushPendingCommands,
getCallingPid,
getCallingUid,
getInterfaceDescriptor,
isBinderAlive,
joinThreadPool,
linkToDeath,
onTransact,
pingBinder,
queryLocalInterface,
restoreCallingIdentity,
transact,
unlinkToDeath
|
|
|
|
|
void |
attachInterface(IInterface owner, String descriptor) |
|
|
final |
static |
|
long |
clearCallingIdentity() |
|
|
|
|
|
void |
dump(FileDescriptor fd, PrintWriter fout, String[] args) |
|
|
|
|
|
void |
finalize() |
|
|
final |
static |
|
void |
flushPendingCommands() |
|
|
final |
static |
|
int |
getCallingPid() |
|
|
final |
static |
|
int |
getCallingUid() |
|
|
|
|
|
String |
getInterfaceDescriptor() |
|
|
|
|
|
boolean |
isBinderAlive() |
|
|
final |
static |
|
void |
joinThreadPool() |
|
|
|
|
|
void |
linkToDeath(IBinder.DeathRecipient recipient, int flags) |
|
|
|
|
|
boolean |
onTransact(int code, Parcel data, Parcel reply, int flags) |
|
|
|
|
|
boolean |
pingBinder() |
|
|
|
|
|
IInterface |
queryLocalInterface(String descriptor) |
|
|
final |
static |
|
void |
restoreCallingIdentity(long token) |
|
|
final |
|
|
boolean |
transact(int code, Parcel data, Parcel reply, int flags) |
|
|
|
|
|
boolean |
unlinkToDeath(IBinder.DeathRecipient recipient, int flags) |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
Details
Public Constructors
public
IPackageInstallObserver.Stub()
Construct the stub at attach it to the interface.
Public Methods
public
IBinder
asBinder()
Retrieve the Binder object associated with this interface.
You must use this instead of a plain cast, so that proxy objects
can return the correct result.
Cast an IBinder object into an IPackageInstallObserver interface,
generating a proxy if needed.
public
boolean
onTransact(int code, Parcel data, Parcel reply, int flags)
Default implementation is a stub that returns false. You will want
to override this to do the appropriate unmarshalling of transactions.
If you want to call this, call transact().