android.content
public
static
class
android.content.SyncContextTest.IPC.T
Summary
Constants
| |
|
|
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 |
LAST_CALL_TRANSACTION |
The last transaction code available for user commands. |
16777215 |
0x00ffffff |
| int |
PING_TRANSACTION |
IBinder protocol transaction code: pingBinder(). |
1599098439 |
0x5f504e47 |
Public Methods
attachInterface,
clearCallingIdentity,
dump,
finalize,
flushPendingCommands,
getCallingPid,
getCallingUid,
getConstantData,
getContextObject,
getLastGcTime,
joinThreadPool,
linkToDeath,
onTransact,
pingBinder,
queryLocalInterface,
restoreCallingIdentity,
transact,
unlinkToDeath
| |
|
|
|
void |
attachInterface(IInterface owner, String descriptor) |
| |
|
final |
static |
long |
clearCallingIdentity() |
| |
|
|
|
void |
dump(FileDescriptor fd, PrintWriter fout) |
| |
|
|
|
void |
finalize() |
| |
|
final |
static |
void |
flushPendingCommands() |
| |
|
final |
static |
int |
getCallingPid() |
| |
|
final |
static |
int |
getCallingUid() |
| |
|
|
|
int |
getConstantData(Parcel outData) |
| |
|
final |
static |
IBinder |
getContextObject() |
| |
|
|
static |
long |
getLastGcTime() |
| |
|
final |
static |
void |
joinThreadPool() |
| |
|
|
|
void |
linkToDeath(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(DeathRecipient recipient, int flags) |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
Details
Constants
public
static
final
int
RUN_ACTIVITY_TRANSACTION
Constant Value:
1
(0x00000001)
public
static
final
int
SET_STATUS_TEXT_TRANSACTION
Constant Value:
2
(0x00000002)
public
static
final
String
descriptor
Constant Value:
"android.content.SyncContext.ITransport"
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.
public
static
ITransport
asInterface(IBinder b)
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().
public
int
runActivity(Intent intent, Map extrasOut)
public
void
setStatusText(String text)