Build 1.0_r1(from source)

android.app
Interface IApplicationThread

All Superinterfaces:
IInterface
All Known Implementing Classes:
ApplicationThreadNative, ApplicationThreadProxy

public interface IApplicationThread
extends IInterface

System private API for communicating with the application. This is given to the activity manager by an application when it starts up, for the activity manager to tell the application about things it needs to do.


Field Summary
static int BIND_APPLICATION_TRANSACTION
           
static int DEBUG_OFF
           
static int DEBUG_ON
           
static int DEBUG_WAIT
           
static String descriptor
           
static int DUMP_SERVICE_TRANSACTION
           
static int PROCESS_IN_BACKGROUND_TRANSACTION
           
static int REQUEST_PSS_TRANSACTION
           
static int REQUEST_THUMBNAIL_TRANSACTION
           
static int SCHEDULE_ACTIVITY_CONFIGURATION_CHANGED_TRANSACTION
           
static int SCHEDULE_BIND_SERVICE_TRANSACTION
           
static int SCHEDULE_CONFIGURATION_CHANGED_TRANSACTION
           
static int SCHEDULE_CREATE_SERVICE_TRANSACTION
           
static int SCHEDULE_EXIT_TRANSACTION
           
static int SCHEDULE_FINISH_ACTIVITY_TRANSACTION
           
static int SCHEDULE_LAUNCH_ACTIVITY_TRANSACTION
           
static int SCHEDULE_LOW_MEMORY_TRANSACTION
           
static int SCHEDULE_NEW_INTENT_TRANSACTION
           
static int SCHEDULE_PAUSE_ACTIVITY_TRANSACTION
           
static int SCHEDULE_RECEIVER_TRANSACTION
           
static int SCHEDULE_REGISTERED_RECEIVER_TRANSACTION
           
static int SCHEDULE_RELAUNCH_ACTIVITY_TRANSACTION
           
static int SCHEDULE_RESUME_ACTIVITY_TRANSACTION
           
static int SCHEDULE_SEND_RESULT_TRANSACTION
           
static int SCHEDULE_SERVICE_ARGS_TRANSACTION
           
static int SCHEDULE_STOP_ACTIVITY_TRANSACTION
           
static int SCHEDULE_STOP_SERVICE_TRANSACTION
           
static int SCHEDULE_UNBIND_SERVICE_TRANSACTION
           
static int SCHEDULE_WINDOW_VISIBILITY_TRANSACTION
           
static int UPDATE_TIME_ZONE_TRANSACTION
           
 
Method Summary
 void bindApplication(String packageName, ApplicationInfo info, List<ProviderInfo> providers, ComponentName testName, String profileName, Bundle testArguments, IInstrumentationWatcher testWatcher, int debugMode, Configuration config, Map<String,IBinder> services)
           
 void dumpService(FileDescriptor fd, IBinder servicetoken, String[] args)
           
 void processInBackground()
           
 void requestPss()
           
 void requestThumbnail(IBinder token)
           
 void scheduleActivityConfigurationChanged(IBinder token)
           
 void scheduleBindService(IBinder token, Intent intent, boolean rebind)
           
 void scheduleConfigurationChanged(Configuration config)
           
 void scheduleCreateService(IBinder token, ServiceInfo info)
           
 void scheduleDestroyActivity(IBinder token, boolean finished, int configChanges)
           
 void scheduleExit()
           
 void scheduleLaunchActivity(Intent intent, IBinder token, ActivityInfo info, Bundle state, List<ResultInfo> pendingResults, List<Intent> pendingNewIntents, boolean notResumed)
           
 void scheduleLowMemory()
           
 void scheduleNewIntent(List<Intent> intent, IBinder token)
           
 void schedulePauseActivity(IBinder token, boolean finished, int configChanges)
           
 void scheduleReceiver(Intent intent, ActivityInfo info, int resultCode, String data, Bundle extras, boolean sync)
           
 void scheduleRegisteredReceiver(IIntentReceiver receiver, Intent intent, int resultCode, String data, Bundle extras, boolean ordered)
           
 void scheduleRelaunchActivity(IBinder token, List<ResultInfo> pendingResults, List<Intent> pendingNewIntents, int configChanges, boolean notResumed)
           
 void scheduleResumeActivity(IBinder token)
           
 void scheduleSendResult(IBinder token, List<ResultInfo> results)
           
 void scheduleServiceArgs(IBinder token, int startId, Intent args)
           
 void scheduleStopActivity(IBinder token, boolean showWindow, int configChanges)
           
 void scheduleStopService(IBinder token)
           
 void scheduleUnbindService(IBinder token, Intent intent)
           
 void scheduleWindowVisibility(IBinder token, boolean showWindow)
           
 void updateTimeZone()
           
 
Methods inherited from interface android.os.IInterface
asBinder
 

Field Detail

DEBUG_OFF

static final int DEBUG_OFF
See Also:
Constant Field Values

DEBUG_ON

static final int DEBUG_ON
See Also:
Constant Field Values

DEBUG_WAIT

static final int DEBUG_WAIT
See Also:
Constant Field Values

descriptor

static final String descriptor
See Also:
Constant Field Values

SCHEDULE_PAUSE_ACTIVITY_TRANSACTION

static final int SCHEDULE_PAUSE_ACTIVITY_TRANSACTION
See Also:
Constant Field Values

SCHEDULE_STOP_ACTIVITY_TRANSACTION

static final int SCHEDULE_STOP_ACTIVITY_TRANSACTION
See Also:
Constant Field Values

SCHEDULE_WINDOW_VISIBILITY_TRANSACTION

static final int SCHEDULE_WINDOW_VISIBILITY_TRANSACTION
See Also:
Constant Field Values

SCHEDULE_RESUME_ACTIVITY_TRANSACTION

static final int SCHEDULE_RESUME_ACTIVITY_TRANSACTION
See Also:
Constant Field Values

SCHEDULE_SEND_RESULT_TRANSACTION

static final int SCHEDULE_SEND_RESULT_TRANSACTION
See Also:
Constant Field Values

SCHEDULE_LAUNCH_ACTIVITY_TRANSACTION

static final int SCHEDULE_LAUNCH_ACTIVITY_TRANSACTION
See Also:
Constant Field Values

SCHEDULE_NEW_INTENT_TRANSACTION

static final int SCHEDULE_NEW_INTENT_TRANSACTION
See Also:
Constant Field Values

SCHEDULE_FINISH_ACTIVITY_TRANSACTION

static final int SCHEDULE_FINISH_ACTIVITY_TRANSACTION
See Also:
Constant Field Values

SCHEDULE_RECEIVER_TRANSACTION

static final int SCHEDULE_RECEIVER_TRANSACTION
See Also:
Constant Field Values

SCHEDULE_CREATE_SERVICE_TRANSACTION

static final int SCHEDULE_CREATE_SERVICE_TRANSACTION
See Also:
Constant Field Values

SCHEDULE_STOP_SERVICE_TRANSACTION

static final int SCHEDULE_STOP_SERVICE_TRANSACTION
See Also:
Constant Field Values

BIND_APPLICATION_TRANSACTION

static final int BIND_APPLICATION_TRANSACTION
See Also:
Constant Field Values

SCHEDULE_EXIT_TRANSACTION

static final int SCHEDULE_EXIT_TRANSACTION
See Also:
Constant Field Values

REQUEST_THUMBNAIL_TRANSACTION

static final int REQUEST_THUMBNAIL_TRANSACTION
See Also:
Constant Field Values

SCHEDULE_CONFIGURATION_CHANGED_TRANSACTION

static final int SCHEDULE_CONFIGURATION_CHANGED_TRANSACTION
See Also:
Constant Field Values

SCHEDULE_SERVICE_ARGS_TRANSACTION

static final int SCHEDULE_SERVICE_ARGS_TRANSACTION
See Also:
Constant Field Values

UPDATE_TIME_ZONE_TRANSACTION

static final int UPDATE_TIME_ZONE_TRANSACTION
See Also:
Constant Field Values

PROCESS_IN_BACKGROUND_TRANSACTION

static final int PROCESS_IN_BACKGROUND_TRANSACTION
See Also:
Constant Field Values

SCHEDULE_BIND_SERVICE_TRANSACTION

static final int SCHEDULE_BIND_SERVICE_TRANSACTION
See Also:
Constant Field Values

SCHEDULE_UNBIND_SERVICE_TRANSACTION

static final int SCHEDULE_UNBIND_SERVICE_TRANSACTION
See Also:
Constant Field Values

DUMP_SERVICE_TRANSACTION

static final int DUMP_SERVICE_TRANSACTION
See Also:
Constant Field Values

SCHEDULE_REGISTERED_RECEIVER_TRANSACTION

static final int SCHEDULE_REGISTERED_RECEIVER_TRANSACTION
See Also:
Constant Field Values

SCHEDULE_LOW_MEMORY_TRANSACTION

static final int SCHEDULE_LOW_MEMORY_TRANSACTION
See Also:
Constant Field Values

SCHEDULE_ACTIVITY_CONFIGURATION_CHANGED_TRANSACTION

static final int SCHEDULE_ACTIVITY_CONFIGURATION_CHANGED_TRANSACTION
See Also:
Constant Field Values

SCHEDULE_RELAUNCH_ACTIVITY_TRANSACTION

static final int SCHEDULE_RELAUNCH_ACTIVITY_TRANSACTION
See Also:
Constant Field Values

REQUEST_PSS_TRANSACTION

static final int REQUEST_PSS_TRANSACTION
See Also:
Constant Field Values
Method Detail

schedulePauseActivity

void schedulePauseActivity(IBinder token,
                           boolean finished,
                           int configChanges)
                           throws RemoteException
Throws:
RemoteException

scheduleStopActivity

void scheduleStopActivity(IBinder token,
                          boolean showWindow,
                          int configChanges)
                          throws RemoteException
Throws:
RemoteException

scheduleWindowVisibility

void scheduleWindowVisibility(IBinder token,
                              boolean showWindow)
                              throws RemoteException
Throws:
RemoteException

scheduleResumeActivity

void scheduleResumeActivity(IBinder token)
                            throws RemoteException
Throws:
RemoteException

scheduleSendResult

void scheduleSendResult(IBinder token,
                        List<ResultInfo> results)
                        throws RemoteException
Throws:
RemoteException

scheduleLaunchActivity

void scheduleLaunchActivity(Intent intent,
                            IBinder token,
                            ActivityInfo info,
                            Bundle state,
                            List<ResultInfo> pendingResults,
                            List<Intent> pendingNewIntents,
                            boolean notResumed)
                            throws RemoteException
Throws:
RemoteException

scheduleRelaunchActivity

void scheduleRelaunchActivity(IBinder token,
                              List<ResultInfo> pendingResults,
                              List<Intent> pendingNewIntents,
                              int configChanges,
                              boolean notResumed)
                              throws RemoteException
Throws:
RemoteException

scheduleNewIntent

void scheduleNewIntent(List<Intent> intent,
                       IBinder token)
                       throws RemoteException
Throws:
RemoteException

scheduleDestroyActivity

void scheduleDestroyActivity(IBinder token,
                             boolean finished,
                             int configChanges)
                             throws RemoteException
Throws:
RemoteException

scheduleReceiver

void scheduleReceiver(Intent intent,
                      ActivityInfo info,
                      int resultCode,
                      String data,
                      Bundle extras,
                      boolean sync)
                      throws RemoteException
Throws:
RemoteException

scheduleCreateService

void scheduleCreateService(IBinder token,
                           ServiceInfo info)
                           throws RemoteException
Throws:
RemoteException

scheduleBindService

void scheduleBindService(IBinder token,
                         Intent intent,
                         boolean rebind)
                         throws RemoteException
Throws:
RemoteException

scheduleUnbindService

void scheduleUnbindService(IBinder token,
                           Intent intent)
                           throws RemoteException
Throws:
RemoteException

scheduleServiceArgs

void scheduleServiceArgs(IBinder token,
                         int startId,
                         Intent args)
                         throws RemoteException
Throws:
RemoteException

scheduleStopService

void scheduleStopService(IBinder token)
                         throws RemoteException
Throws:
RemoteException

bindApplication

void bindApplication(String packageName,
                     ApplicationInfo info,
                     List<ProviderInfo> providers,
                     ComponentName testName,
                     String profileName,
                     Bundle testArguments,
                     IInstrumentationWatcher testWatcher,
                     int debugMode,
                     Configuration config,
                     Map<String,IBinder> services)
                     throws RemoteException
Throws:
RemoteException

scheduleExit

void scheduleExit()
                  throws RemoteException
Throws:
RemoteException

requestThumbnail

void requestThumbnail(IBinder token)
                      throws RemoteException
Throws:
RemoteException

scheduleConfigurationChanged

void scheduleConfigurationChanged(Configuration config)
                                  throws RemoteException
Throws:
RemoteException

updateTimeZone

void updateTimeZone()
                    throws RemoteException
Throws:
RemoteException

processInBackground

void processInBackground()
                         throws RemoteException
Throws:
RemoteException

dumpService

void dumpService(FileDescriptor fd,
                 IBinder servicetoken,
                 String[] args)
                 throws RemoteException
Throws:
RemoteException

scheduleRegisteredReceiver

void scheduleRegisteredReceiver(IIntentReceiver receiver,
                                Intent intent,
                                int resultCode,
                                String data,
                                Bundle extras,
                                boolean ordered)
                                throws RemoteException
Throws:
RemoteException

scheduleLowMemory

void scheduleLowMemory()
                       throws RemoteException
Throws:
RemoteException

scheduleActivityConfigurationChanged

void scheduleActivityConfigurationChanged(IBinder token)
                                          throws RemoteException
Throws:
RemoteException

requestPss

void requestPss()
                throws RemoteException
Throws:
RemoteException

Build 1.0_r1(from source)

Please submit a feedback, bug or feature