Build 1.0_r1(from source)

android.app
Class ApplicationThreadNative

java.lang.Object
  extended by android.os.Binder
      extended by android.app.ApplicationThreadNative
All Implemented Interfaces:
IApplicationThread, IBinder, IInterface

public abstract class ApplicationThreadNative
extends Binder
implements IApplicationThread


Nested Class Summary
 
Nested classes/interfaces inherited from interface android.os.IBinder
IBinder.DeathRecipient
 
Field Summary
 
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
 
Fields inherited from interface android.os.IBinder
DUMP_TRANSACTION, FIRST_CALL_TRANSACTION, FLAG_ONEWAY, INTERFACE_TRANSACTION, LAST_CALL_TRANSACTION, PING_TRANSACTION
 
Constructor Summary
ApplicationThreadNative()
           
 
Method Summary
 IBinder asBinder()
          Retrieve the Binder object associated with this interface.
static IApplicationThread asInterface(IBinder obj)
          Cast a Binder object into an application thread interface, generating a proxy if needed.
 boolean onTransact(int code, Parcel data, Parcel reply, int flags)
          Default implementation is a stub that returns false.
 
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 class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
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
 

Constructor Detail

ApplicationThreadNative

public ApplicationThreadNative()
Method Detail

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

Build 1.0_r1(from source)

Please submit a feedback, bug or feature