android.app
Class ApplicationThreadNative
java.lang.Object
android.os.Binder
android.app.ApplicationThreadNative
- All Implemented Interfaces:
- IApplicationThread, IBinder, IInterface
public abstract class ApplicationThreadNative
- extends Binder
- implements IApplicationThread
| Fields inherited from interface android.app.IApplicationThread |
BIND_APPLICATION_TRANSACTION, DEBUG_OFF, DEBUG_ON, DEBUG_WAIT, descriptor, DUMP_SERVICE_TRANSACTION, PROCESS_IN_BACKGROUND_TRANSACTION, REQUEST_PSS_TRANSACTION, REQUEST_THUMBNAIL_TRANSACTION, SCHEDULE_ACTIVITY_CONFIGURATION_CHANGED_TRANSACTION, SCHEDULE_BIND_SERVICE_TRANSACTION, SCHEDULE_CONFIGURATION_CHANGED_TRANSACTION, SCHEDULE_CREATE_SERVICE_TRANSACTION, SCHEDULE_EXIT_TRANSACTION, SCHEDULE_FINISH_ACTIVITY_TRANSACTION, SCHEDULE_LAUNCH_ACTIVITY_TRANSACTION, SCHEDULE_LOW_MEMORY_TRANSACTION, SCHEDULE_NEW_INTENT_TRANSACTION, SCHEDULE_PAUSE_ACTIVITY_TRANSACTION, SCHEDULE_RECEIVER_TRANSACTION, SCHEDULE_REGISTERED_RECEIVER_TRANSACTION, SCHEDULE_RELAUNCH_ACTIVITY_TRANSACTION, SCHEDULE_RESUME_ACTIVITY_TRANSACTION, SCHEDULE_SEND_RESULT_TRANSACTION, SCHEDULE_SERVICE_ARGS_TRANSACTION, SCHEDULE_STOP_ACTIVITY_TRANSACTION, SCHEDULE_STOP_SERVICE_TRANSACTION, SCHEDULE_UNBIND_SERVICE_TRANSACTION, SCHEDULE_WINDOW_VISIBILITY_TRANSACTION, UPDATE_TIME_ZONE_TRANSACTION |
| Methods inherited from class android.os.Binder |
attachInterface, clearCallingIdentity, dump, finalize, flushPendingCommands, getCallingPid, getCallingUid, getInterfaceDescriptor, isBinderAlive, joinThreadPool, linkToDeath, pingBinder, queryLocalInterface, restoreCallingIdentity, transact, unlinkToDeath |
| Methods inherited from interface android.app.IApplicationThread |
bindApplication, dumpService, processInBackground, requestPss, requestThumbnail, scheduleActivityConfigurationChanged, scheduleBindService, scheduleConfigurationChanged, scheduleCreateService, scheduleDestroyActivity, scheduleExit, scheduleLaunchActivity, scheduleLowMemory, scheduleNewIntent, schedulePauseActivity, scheduleReceiver, scheduleRegisteredReceiver, scheduleRelaunchActivity, scheduleResumeActivity, scheduleSendResult, scheduleServiceArgs, scheduleStopActivity, scheduleStopService, scheduleUnbindService, scheduleWindowVisibility, updateTimeZone |
ApplicationThreadNative
public ApplicationThreadNative()
asInterface
public static IApplicationThread asInterface(IBinder obj)
- Cast a Binder object into an application thread interface, generating
a proxy if needed.
onTransact
public boolean onTransact(int code,
Parcel data,
Parcel reply,
int flags)
throws RemoteException
- Description copied from class:
Binder
- 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().
- Overrides:
onTransact in class Binder
- Throws:
RemoteException
asBinder
public IBinder asBinder()
- Description copied from interface:
IInterface
- 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.
- Specified by:
asBinder in interface IInterface
Please submit a feedback, bug or feature