FileDocCategorySizeDatePackage
IApplicationThread.javaAPI DocAndroid 1.5 API6706Wed May 06 22:41:54 BST 2009android.app

IApplicationThread

public interface IApplicationThread implements android.os.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. {@hide}

Fields Summary
static final int
DEBUG_OFF
static final int
DEBUG_ON
static final int
DEBUG_WAIT
String
descriptor
int
SCHEDULE_PAUSE_ACTIVITY_TRANSACTION
int
SCHEDULE_STOP_ACTIVITY_TRANSACTION
int
SCHEDULE_WINDOW_VISIBILITY_TRANSACTION
int
SCHEDULE_RESUME_ACTIVITY_TRANSACTION
int
SCHEDULE_SEND_RESULT_TRANSACTION
int
SCHEDULE_LAUNCH_ACTIVITY_TRANSACTION
int
SCHEDULE_NEW_INTENT_TRANSACTION
int
SCHEDULE_FINISH_ACTIVITY_TRANSACTION
int
SCHEDULE_RECEIVER_TRANSACTION
int
SCHEDULE_CREATE_SERVICE_TRANSACTION
int
SCHEDULE_STOP_SERVICE_TRANSACTION
int
BIND_APPLICATION_TRANSACTION
int
SCHEDULE_EXIT_TRANSACTION
int
REQUEST_THUMBNAIL_TRANSACTION
int
SCHEDULE_CONFIGURATION_CHANGED_TRANSACTION
int
SCHEDULE_SERVICE_ARGS_TRANSACTION
int
UPDATE_TIME_ZONE_TRANSACTION
int
PROCESS_IN_BACKGROUND_TRANSACTION
int
SCHEDULE_BIND_SERVICE_TRANSACTION
int
SCHEDULE_UNBIND_SERVICE_TRANSACTION
int
DUMP_SERVICE_TRANSACTION
int
SCHEDULE_REGISTERED_RECEIVER_TRANSACTION
int
SCHEDULE_LOW_MEMORY_TRANSACTION
int
SCHEDULE_ACTIVITY_CONFIGURATION_CHANGED_TRANSACTION
int
SCHEDULE_RELAUNCH_ACTIVITY_TRANSACTION
int
REQUEST_PSS_TRANSACTION
int
PROFILER_CONTROL_TRANSACTION
Constructors Summary
Methods Summary
public voidbindApplication(java.lang.String packageName, android.content.pm.ApplicationInfo info, java.util.List providers, android.content.ComponentName testName, java.lang.String profileName, android.os.Bundle testArguments, IInstrumentationWatcher testWatcher, int debugMode, android.content.res.Configuration config, java.util.Map services)

public voiddumpService(java.io.FileDescriptor fd, android.os.IBinder servicetoken, java.lang.String[] args)

public voidprocessInBackground()

public voidprofilerControl(boolean start, java.lang.String path)

public voidrequestPss()

public voidrequestThumbnail(android.os.IBinder token)

public voidscheduleActivityConfigurationChanged(android.os.IBinder token)

public voidscheduleBindService(android.os.IBinder token, android.content.Intent intent, boolean rebind)

public voidscheduleConfigurationChanged(android.content.res.Configuration config)

public voidscheduleCreateService(android.os.IBinder token, android.content.pm.ServiceInfo info)

public voidscheduleDestroyActivity(android.os.IBinder token, boolean finished, int configChanges)

public voidscheduleExit()

public voidscheduleLaunchActivity(android.content.Intent intent, android.os.IBinder token, android.content.pm.ActivityInfo info, android.os.Bundle state, java.util.List pendingResults, java.util.List pendingNewIntents, boolean notResumed, boolean isForward)

public voidscheduleLowMemory()

public voidscheduleNewIntent(java.util.List intent, android.os.IBinder token)

public voidschedulePauseActivity(android.os.IBinder token, boolean finished, boolean userLeaving, int configChanges)

public voidscheduleReceiver(android.content.Intent intent, android.content.pm.ActivityInfo info, int resultCode, java.lang.String data, android.os.Bundle extras, boolean sync)

public voidscheduleRegisteredReceiver(IIntentReceiver receiver, android.content.Intent intent, int resultCode, java.lang.String data, android.os.Bundle extras, boolean ordered)

public voidscheduleRelaunchActivity(android.os.IBinder token, java.util.List pendingResults, java.util.List pendingNewIntents, int configChanges, boolean notResumed)

public voidscheduleResumeActivity(android.os.IBinder token, boolean isForward)

public voidscheduleSendResult(android.os.IBinder token, java.util.List results)

public voidscheduleServiceArgs(android.os.IBinder token, int startId, android.content.Intent args)

public voidscheduleStopActivity(android.os.IBinder token, boolean showWindow, int configChanges)

public voidscheduleStopService(android.os.IBinder token)

public voidscheduleUnbindService(android.os.IBinder token, android.content.Intent intent)

public voidscheduleWindowVisibility(android.os.IBinder token, boolean showWindow)

public voidupdateTimeZone()