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 | BACKUP_MODE_INCREMENTAL | static final int | BACKUP_MODE_FULL | static final int | BACKUP_MODE_RESTORE | static final int | BACKUP_MODE_RESTORE_FULL | static final int | DEBUG_OFF | static final int | DEBUG_ON | static final int | DEBUG_WAIT | static final int | PACKAGE_REMOVED | static final int | EXTERNAL_STORAGE_UNAVAILABLE | 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 | 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 | SCHEDULE_SLEEPING_TRANSACTION | int | PROFILER_CONTROL_TRANSACTION | int | SET_SCHEDULING_GROUP_TRANSACTION | int | SCHEDULE_CREATE_BACKUP_AGENT_TRANSACTION | int | SCHEDULE_DESTROY_BACKUP_AGENT_TRANSACTION | int | SCHEDULE_ON_NEW_ACTIVITY_OPTIONS_TRANSACTION | int | SCHEDULE_SUICIDE_TRANSACTION | int | DISPATCH_PACKAGE_BROADCAST_TRANSACTION | int | SCHEDULE_CRASH_TRANSACTION | int | DUMP_HEAP_TRANSACTION | int | DUMP_ACTIVITY_TRANSACTION | int | CLEAR_DNS_CACHE_TRANSACTION | int | SET_HTTP_PROXY_TRANSACTION | int | SET_CORE_SETTINGS_TRANSACTION | int | UPDATE_PACKAGE_COMPATIBILITY_INFO_TRANSACTION | int | SCHEDULE_TRIM_MEMORY_TRANSACTION | int | DUMP_MEM_INFO_TRANSACTION | int | DUMP_GFX_INFO_TRANSACTION | int | DUMP_PROVIDER_TRANSACTION | int | DUMP_DB_INFO_TRANSACTION | int | UNSTABLE_PROVIDER_DIED_TRANSACTION | int | REQUEST_ASSIST_CONTEXT_EXTRAS_TRANSACTION | int | SCHEDULE_TRANSLUCENT_CONVERSION_COMPLETE_TRANSACTION | int | SET_PROCESS_STATE_TRANSACTION | int | SCHEDULE_INSTALL_PROVIDER_TRANSACTION | int | UPDATE_TIME_PREFS_TRANSACTION | int | CANCEL_VISIBLE_BEHIND_TRANSACTION | int | BACKGROUND_VISIBLE_BEHIND_CHANGED_TRANSACTION | int | ENTER_ANIMATION_COMPLETE_TRANSACTION |
Methods Summary |
---|
public void | bindApplication(java.lang.String packageName, android.content.pm.ApplicationInfo info, java.util.List providers, android.content.ComponentName testName, ProfilerInfo profilerInfo, android.os.Bundle testArguments, IInstrumentationWatcher testWatcher, IUiAutomationConnection uiAutomationConnection, int debugMode, boolean openGlTrace, boolean restrictedBackupMode, boolean persistent, android.content.res.Configuration config, android.content.res.CompatibilityInfo compatInfo, java.util.Map services, android.os.Bundle coreSettings)
| public void | clearDnsCache()
| public void | dispatchPackageBroadcast(int cmd, java.lang.String[] packages)
| public void | dumpActivity(java.io.FileDescriptor fd, android.os.IBinder servicetoken, java.lang.String prefix, java.lang.String[] args)
| public void | dumpDbInfo(java.io.FileDescriptor fd, java.lang.String[] args)
| public void | dumpGfxInfo(java.io.FileDescriptor fd, java.lang.String[] args)
| public void | dumpHeap(boolean managed, java.lang.String path, android.os.ParcelFileDescriptor fd)
| public void | dumpMemInfo(java.io.FileDescriptor fd, Debug.MemoryInfo mem, boolean checkin, boolean dumpInfo, boolean dumpDalvik, java.lang.String[] args)
| public void | dumpProvider(java.io.FileDescriptor fd, android.os.IBinder servicetoken, java.lang.String[] args)
| public void | dumpService(java.io.FileDescriptor fd, android.os.IBinder servicetoken, java.lang.String[] args)
| public void | processInBackground()
| public void | profilerControl(boolean start, ProfilerInfo profilerInfo, int profileType)
| public void | requestAssistContextExtras(android.os.IBinder activityToken, android.os.IBinder requestToken, int requestType)
| public void | scheduleActivityConfigurationChanged(android.os.IBinder token)
| public void | scheduleBackgroundVisibleBehindChanged(android.os.IBinder token, boolean enabled)
| public void | scheduleBindService(android.os.IBinder token, android.content.Intent intent, boolean rebind, int processState)
| public void | scheduleCancelVisibleBehind(android.os.IBinder token)
| public void | scheduleConfigurationChanged(android.content.res.Configuration config)
| public void | scheduleCrash(java.lang.String msg)
| public void | scheduleCreateBackupAgent(android.content.pm.ApplicationInfo app, android.content.res.CompatibilityInfo compatInfo, int backupMode)
| public void | scheduleCreateService(android.os.IBinder token, android.content.pm.ServiceInfo info, android.content.res.CompatibilityInfo compatInfo, int processState)
| public void | scheduleDestroyActivity(android.os.IBinder token, boolean finished, int configChanges)
| public void | scheduleDestroyBackupAgent(android.content.pm.ApplicationInfo app, android.content.res.CompatibilityInfo compatInfo)
| public void | scheduleEnterAnimationComplete(android.os.IBinder token)
| public void | scheduleExit()
| public void | scheduleInstallProvider(android.content.pm.ProviderInfo provider)
| public void | scheduleLaunchActivity(android.content.Intent intent, android.os.IBinder token, int ident, android.content.pm.ActivityInfo info, android.content.res.Configuration curConfig, android.content.res.CompatibilityInfo compatInfo, java.lang.String referrer, com.android.internal.app.IVoiceInteractor voiceInteractor, int procState, android.os.Bundle state, android.os.PersistableBundle persistentState, java.util.List pendingResults, java.util.List pendingNewIntents, boolean notResumed, boolean isForward, ProfilerInfo profilerInfo)
| public void | scheduleLowMemory()
| public void | scheduleNewIntent(java.util.List intent, android.os.IBinder token)
| public void | scheduleOnNewActivityOptions(android.os.IBinder token, ActivityOptions options)
| public void | schedulePauseActivity(android.os.IBinder token, boolean finished, boolean userLeaving, int configChanges, boolean dontReport)
| public void | scheduleReceiver(android.content.Intent intent, android.content.pm.ActivityInfo info, android.content.res.CompatibilityInfo compatInfo, int resultCode, java.lang.String data, android.os.Bundle extras, boolean sync, int sendingUser, int processState)
| public void | scheduleRegisteredReceiver(android.content.IIntentReceiver receiver, android.content.Intent intent, int resultCode, java.lang.String data, android.os.Bundle extras, boolean ordered, boolean sticky, int sendingUser, int processState)
| public void | scheduleRelaunchActivity(android.os.IBinder token, java.util.List pendingResults, java.util.List pendingNewIntents, int configChanges, boolean notResumed, android.content.res.Configuration config)
| public void | scheduleResumeActivity(android.os.IBinder token, int procState, boolean isForward, android.os.Bundle resumeArgs)
| public void | scheduleSendResult(android.os.IBinder token, java.util.List results)
| public void | scheduleServiceArgs(android.os.IBinder token, boolean taskRemoved, int startId, int flags, android.content.Intent args)
| public void | scheduleSleeping(android.os.IBinder token, boolean sleeping)
| public void | scheduleStopActivity(android.os.IBinder token, boolean showWindow, int configChanges)
| public void | scheduleStopService(android.os.IBinder token)
| public void | scheduleSuicide()
| public void | scheduleTranslucentConversionComplete(android.os.IBinder token, boolean timeout)
| public void | scheduleTrimMemory(int level)
| public void | scheduleUnbindService(android.os.IBinder token, android.content.Intent intent)
| public void | scheduleWindowVisibility(android.os.IBinder token, boolean showWindow)
| public void | setCoreSettings(android.os.Bundle coreSettings)
| public void | setHttpProxy(java.lang.String proxy, java.lang.String port, java.lang.String exclList, android.net.Uri pacFileUrl)
| public void | setProcessState(int state)
| public void | setSchedulingGroup(int group)
| public void | unstableProviderDied(android.os.IBinder provider)
| public void | updatePackageCompatibilityInfo(java.lang.String pkg, android.content.res.CompatibilityInfo info)
| public void | updateTimePrefs(boolean is24Hour)
| public void | updateTimeZone()
|
|