IApplicationThreadpublic interface IApplicationThread implements android.os.IInterfaceSystem 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 |
Methods Summary |
---|
public void | bindApplication(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 void | dumpService(java.io.FileDescriptor fd, android.os.IBinder servicetoken, java.lang.String[] args)
| public void | processInBackground()
| public void | profilerControl(boolean start, java.lang.String path)
| public void | requestPss()
| public void | requestThumbnail(android.os.IBinder token)
| public void | scheduleActivityConfigurationChanged(android.os.IBinder token)
| public void | scheduleBindService(android.os.IBinder token, android.content.Intent intent, boolean rebind)
| public void | scheduleConfigurationChanged(android.content.res.Configuration config)
| public void | scheduleCreateService(android.os.IBinder token, android.content.pm.ServiceInfo info)
| public void | scheduleDestroyActivity(android.os.IBinder token, boolean finished, int configChanges)
| public void | scheduleExit()
| public void | scheduleLaunchActivity(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 void | scheduleLowMemory()
| public void | scheduleNewIntent(java.util.List intent, android.os.IBinder token)
| public void | schedulePauseActivity(android.os.IBinder token, boolean finished, boolean userLeaving, int configChanges)
| public void | scheduleReceiver(android.content.Intent intent, android.content.pm.ActivityInfo info, int resultCode, java.lang.String data, android.os.Bundle extras, boolean sync)
| public void | scheduleRegisteredReceiver(IIntentReceiver receiver, android.content.Intent intent, int resultCode, java.lang.String data, android.os.Bundle extras, boolean ordered)
| public void | scheduleRelaunchActivity(android.os.IBinder token, java.util.List pendingResults, java.util.List pendingNewIntents, int configChanges, boolean notResumed)
| public void | scheduleResumeActivity(android.os.IBinder token, boolean isForward)
| public void | scheduleSendResult(android.os.IBinder token, java.util.List results)
| public void | scheduleServiceArgs(android.os.IBinder token, int startId, android.content.Intent args)
| public void | scheduleStopActivity(android.os.IBinder token, boolean showWindow, int configChanges)
| public void | scheduleStopService(android.os.IBinder token)
| public void | scheduleUnbindService(android.os.IBinder token, android.content.Intent intent)
| public void | scheduleWindowVisibility(android.os.IBinder token, boolean showWindow)
| public void | updateTimeZone()
|
|