FileDocCategorySizeDatePackage
IActivityManager.javaAPI DocAndroid 5.1 API46121Thu Mar 12 22:22:10 GMT 2015android.app

IActivityManager

public interface IActivityManager implements android.os.IInterface
System private API for talking with the activity manager service. This provides calls from the application back to the activity manager. {@hide}

Fields Summary
String
descriptor
int
HANDLE_APPLICATION_CRASH_TRANSACTION
int
START_ACTIVITY_TRANSACTION
int
UNHANDLED_BACK_TRANSACTION
int
OPEN_CONTENT_URI_TRANSACTION
int
FINISH_ACTIVITY_TRANSACTION
int
REGISTER_RECEIVER_TRANSACTION
int
UNREGISTER_RECEIVER_TRANSACTION
int
BROADCAST_INTENT_TRANSACTION
int
UNBROADCAST_INTENT_TRANSACTION
int
FINISH_RECEIVER_TRANSACTION
int
ATTACH_APPLICATION_TRANSACTION
int
ACTIVITY_IDLE_TRANSACTION
int
ACTIVITY_PAUSED_TRANSACTION
int
ACTIVITY_STOPPED_TRANSACTION
int
GET_CALLING_PACKAGE_TRANSACTION
int
GET_CALLING_ACTIVITY_TRANSACTION
int
GET_TASKS_TRANSACTION
int
MOVE_TASK_TO_FRONT_TRANSACTION
int
MOVE_TASK_TO_BACK_TRANSACTION
int
MOVE_TASK_BACKWARDS_TRANSACTION
int
GET_TASK_FOR_ACTIVITY_TRANSACTION
int
GET_CONTENT_PROVIDER_TRANSACTION
int
PUBLISH_CONTENT_PROVIDERS_TRANSACTION
int
REF_CONTENT_PROVIDER_TRANSACTION
int
FINISH_SUB_ACTIVITY_TRANSACTION
int
GET_RUNNING_SERVICE_CONTROL_PANEL_TRANSACTION
int
START_SERVICE_TRANSACTION
int
STOP_SERVICE_TRANSACTION
int
BIND_SERVICE_TRANSACTION
int
UNBIND_SERVICE_TRANSACTION
int
PUBLISH_SERVICE_TRANSACTION
int
ACTIVITY_RESUMED_TRANSACTION
int
SET_DEBUG_APP_TRANSACTION
int
SET_ALWAYS_FINISH_TRANSACTION
int
START_INSTRUMENTATION_TRANSACTION
int
FINISH_INSTRUMENTATION_TRANSACTION
int
GET_CONFIGURATION_TRANSACTION
int
UPDATE_CONFIGURATION_TRANSACTION
int
STOP_SERVICE_TOKEN_TRANSACTION
int
GET_ACTIVITY_CLASS_FOR_TOKEN_TRANSACTION
int
GET_PACKAGE_FOR_TOKEN_TRANSACTION
int
SET_PROCESS_LIMIT_TRANSACTION
int
GET_PROCESS_LIMIT_TRANSACTION
int
CHECK_PERMISSION_TRANSACTION
int
CHECK_URI_PERMISSION_TRANSACTION
int
GRANT_URI_PERMISSION_TRANSACTION
int
REVOKE_URI_PERMISSION_TRANSACTION
int
SET_ACTIVITY_CONTROLLER_TRANSACTION
int
SHOW_WAITING_FOR_DEBUGGER_TRANSACTION
int
SIGNAL_PERSISTENT_PROCESSES_TRANSACTION
int
GET_RECENT_TASKS_TRANSACTION
int
SERVICE_DONE_EXECUTING_TRANSACTION
int
ACTIVITY_DESTROYED_TRANSACTION
int
GET_INTENT_SENDER_TRANSACTION
int
CANCEL_INTENT_SENDER_TRANSACTION
int
GET_PACKAGE_FOR_INTENT_SENDER_TRANSACTION
int
ENTER_SAFE_MODE_TRANSACTION
int
START_NEXT_MATCHING_ACTIVITY_TRANSACTION
int
NOTE_WAKEUP_ALARM_TRANSACTION
int
REMOVE_CONTENT_PROVIDER_TRANSACTION
int
SET_REQUESTED_ORIENTATION_TRANSACTION
int
GET_REQUESTED_ORIENTATION_TRANSACTION
int
UNBIND_FINISHED_TRANSACTION
int
SET_PROCESS_FOREGROUND_TRANSACTION
int
SET_SERVICE_FOREGROUND_TRANSACTION
int
MOVE_ACTIVITY_TASK_TO_BACK_TRANSACTION
int
GET_MEMORY_INFO_TRANSACTION
int
GET_PROCESSES_IN_ERROR_STATE_TRANSACTION
int
CLEAR_APP_DATA_TRANSACTION
int
FORCE_STOP_PACKAGE_TRANSACTION
int
KILL_PIDS_TRANSACTION
int
GET_SERVICES_TRANSACTION
int
GET_TASK_THUMBNAIL_TRANSACTION
int
GET_RUNNING_APP_PROCESSES_TRANSACTION
int
GET_DEVICE_CONFIGURATION_TRANSACTION
int
PEEK_SERVICE_TRANSACTION
int
PROFILE_CONTROL_TRANSACTION
int
SHUTDOWN_TRANSACTION
int
STOP_APP_SWITCHES_TRANSACTION
int
RESUME_APP_SWITCHES_TRANSACTION
int
START_BACKUP_AGENT_TRANSACTION
int
BACKUP_AGENT_CREATED_TRANSACTION
int
UNBIND_BACKUP_AGENT_TRANSACTION
int
GET_UID_FOR_INTENT_SENDER_TRANSACTION
int
HANDLE_INCOMING_USER_TRANSACTION
int
ADD_PACKAGE_DEPENDENCY_TRANSACTION
int
KILL_APPLICATION_WITH_APPID_TRANSACTION
int
CLOSE_SYSTEM_DIALOGS_TRANSACTION
int
GET_PROCESS_MEMORY_INFO_TRANSACTION
int
KILL_APPLICATION_PROCESS_TRANSACTION
int
START_ACTIVITY_INTENT_SENDER_TRANSACTION
int
OVERRIDE_PENDING_TRANSITION_TRANSACTION
int
HANDLE_APPLICATION_WTF_TRANSACTION
int
KILL_BACKGROUND_PROCESSES_TRANSACTION
int
IS_USER_A_MONKEY_TRANSACTION
int
START_ACTIVITY_AND_WAIT_TRANSACTION
int
WILL_ACTIVITY_BE_VISIBLE_TRANSACTION
int
START_ACTIVITY_WITH_CONFIG_TRANSACTION
int
GET_RUNNING_EXTERNAL_APPLICATIONS_TRANSACTION
int
FINISH_HEAVY_WEIGHT_APP_TRANSACTION
int
HANDLE_APPLICATION_STRICT_MODE_VIOLATION_TRANSACTION
int
IS_IMMERSIVE_TRANSACTION
int
SET_IMMERSIVE_TRANSACTION
int
IS_TOP_ACTIVITY_IMMERSIVE_TRANSACTION
int
CRASH_APPLICATION_TRANSACTION
int
GET_PROVIDER_MIME_TYPE_TRANSACTION
int
NEW_URI_PERMISSION_OWNER_TRANSACTION
int
GRANT_URI_PERMISSION_FROM_OWNER_TRANSACTION
int
REVOKE_URI_PERMISSION_FROM_OWNER_TRANSACTION
int
CHECK_GRANT_URI_PERMISSION_TRANSACTION
int
DUMP_HEAP_TRANSACTION
int
START_ACTIVITIES_TRANSACTION
int
IS_USER_RUNNING_TRANSACTION
int
ACTIVITY_SLEPT_TRANSACTION
int
GET_FRONT_ACTIVITY_SCREEN_COMPAT_MODE_TRANSACTION
int
SET_FRONT_ACTIVITY_SCREEN_COMPAT_MODE_TRANSACTION
int
GET_PACKAGE_SCREEN_COMPAT_MODE_TRANSACTION
int
SET_PACKAGE_SCREEN_COMPAT_MODE_TRANSACTION
int
GET_PACKAGE_ASK_SCREEN_COMPAT_TRANSACTION
int
SET_PACKAGE_ASK_SCREEN_COMPAT_TRANSACTION
int
SWITCH_USER_TRANSACTION
int
___AVAILABLE_1___
int
REMOVE_TASK_TRANSACTION
int
REGISTER_PROCESS_OBSERVER_TRANSACTION
int
UNREGISTER_PROCESS_OBSERVER_TRANSACTION
int
IS_INTENT_SENDER_TARGETED_TO_PACKAGE_TRANSACTION
int
UPDATE_PERSISTENT_CONFIGURATION_TRANSACTION
int
GET_PROCESS_PSS_TRANSACTION
int
SHOW_BOOT_MESSAGE_TRANSACTION
int
KILL_ALL_BACKGROUND_PROCESSES_TRANSACTION
int
GET_CONTENT_PROVIDER_EXTERNAL_TRANSACTION
int
REMOVE_CONTENT_PROVIDER_EXTERNAL_TRANSACTION
int
GET_MY_MEMORY_STATE_TRANSACTION
int
KILL_PROCESSES_BELOW_FOREGROUND_TRANSACTION
int
GET_CURRENT_USER_TRANSACTION
int
SHOULD_UP_RECREATE_TASK_TRANSACTION
int
NAVIGATE_UP_TO_TRANSACTION
int
SET_LOCK_SCREEN_SHOWN_TRANSACTION
int
FINISH_ACTIVITY_AFFINITY_TRANSACTION
int
GET_LAUNCHED_FROM_UID_TRANSACTION
int
UNSTABLE_PROVIDER_DIED_TRANSACTION
int
IS_INTENT_SENDER_AN_ACTIVITY_TRANSACTION
int
START_ACTIVITY_AS_USER_TRANSACTION
int
STOP_USER_TRANSACTION
int
REGISTER_USER_SWITCH_OBSERVER_TRANSACTION
int
UNREGISTER_USER_SWITCH_OBSERVER_TRANSACTION
int
GET_RUNNING_USER_IDS_TRANSACTION
int
REQUEST_BUG_REPORT_TRANSACTION
int
INPUT_DISPATCHING_TIMED_OUT_TRANSACTION
int
CLEAR_PENDING_BACKUP_TRANSACTION
int
GET_INTENT_FOR_INTENT_SENDER_TRANSACTION
int
GET_ASSIST_CONTEXT_EXTRAS_TRANSACTION
int
REPORT_ASSIST_CONTEXT_EXTRAS_TRANSACTION
int
GET_LAUNCHED_FROM_PACKAGE_TRANSACTION
int
KILL_UID_TRANSACTION
int
SET_USER_IS_MONKEY_TRANSACTION
int
HANG_TRANSACTION
int
CREATE_ACTIVITY_CONTAINER_TRANSACTION
int
MOVE_TASK_TO_STACK_TRANSACTION
int
RESIZE_STACK_TRANSACTION
int
GET_ALL_STACK_INFOS_TRANSACTION
int
SET_FOCUSED_STACK_TRANSACTION
int
GET_STACK_INFO_TRANSACTION
int
CONVERT_FROM_TRANSLUCENT_TRANSACTION
int
CONVERT_TO_TRANSLUCENT_TRANSACTION
int
NOTIFY_ACTIVITY_DRAWN_TRANSACTION
int
REPORT_ACTIVITY_FULLY_DRAWN_TRANSACTION
int
RESTART_TRANSACTION
int
PERFORM_IDLE_MAINTENANCE_TRANSACTION
int
TAKE_PERSISTABLE_URI_PERMISSION_TRANSACTION
int
RELEASE_PERSISTABLE_URI_PERMISSION_TRANSACTION
int
GET_PERSISTED_URI_PERMISSIONS_TRANSACTION
int
APP_NOT_RESPONDING_VIA_PROVIDER_TRANSACTION
int
GET_HOME_ACTIVITY_TOKEN_TRANSACTION
int
GET_ACTIVITY_DISPLAY_ID_TRANSACTION
int
DELETE_ACTIVITY_CONTAINER_TRANSACTION
int
GET_TAG_FOR_INTENT_SENDER_TRANSACTION
int
START_USER_IN_BACKGROUND_TRANSACTION
int
IS_IN_HOME_STACK_TRANSACTION
int
START_LOCK_TASK_BY_TASK_ID_TRANSACTION
int
START_LOCK_TASK_BY_TOKEN_TRANSACTION
int
STOP_LOCK_TASK_MODE_TRANSACTION
int
IS_IN_LOCK_TASK_MODE_TRANSACTION
int
SET_TASK_DESCRIPTION_TRANSACTION
int
START_VOICE_ACTIVITY_TRANSACTION
int
GET_ACTIVITY_OPTIONS_TRANSACTION
int
GET_APP_TASKS_TRANSACTION
int
START_LOCK_TASK_BY_CURRENT_TRANSACTION
int
STOP_LOCK_TASK_BY_CURRENT_TRANSACTION
int
FINISH_VOICE_TASK_TRANSACTION
int
IS_TOP_OF_TASK_TRANSACTION
int
REQUEST_VISIBLE_BEHIND_TRANSACTION
int
IS_BACKGROUND_VISIBLE_BEHIND_TRANSACTION
int
BACKGROUND_RESOURCES_RELEASED_TRANSACTION
int
NOTIFY_LAUNCH_TASK_BEHIND_COMPLETE_TRANSACTION
int
START_ACTIVITY_FROM_RECENTS_TRANSACTION
int
NOTIFY_ENTER_ANIMATION_COMPLETE_TRANSACTION
int
KEYGUARD_WAITING_FOR_ACTIVITY_DRAWN_TRANSACTION
int
START_ACTIVITY_AS_CALLER_TRANSACTION
int
ADD_APP_TASK_TRANSACTION
int
GET_APP_TASK_THUMBNAIL_SIZE_TRANSACTION
int
RELEASE_ACTIVITY_INSTANCE_TRANSACTION
int
RELEASE_SOME_ACTIVITIES_TRANSACTION
int
BOOT_ANIMATION_COMPLETE_TRANSACTION
int
GET_TASK_DESCRIPTION_ICON_TRANSACTION
int
LAUNCH_ASSIST_INTENT_TRANSACTION
int
START_IN_PLACE_ANIMATION_TRANSACTION
int
CHECK_PERMISSION_WITH_TOKEN_TRANSACTION
int
REGISTER_TASK_STACK_LISTENER_TRANSACTION
int
SYSTEM_BACKUP_RESTORED
Constructors Summary
Methods Summary
public voidactivityDestroyed(android.os.IBinder token)

public voidactivityIdle(android.os.IBinder token, android.content.res.Configuration config, boolean stopProfiling)

public voidactivityPaused(android.os.IBinder token)

public voidactivityResumed(android.os.IBinder token)

public voidactivitySlept(android.os.IBinder token)

public voidactivityStopped(android.os.IBinder token, android.os.Bundle state, android.os.PersistableBundle persistentState, java.lang.CharSequence description)

public intaddAppTask(android.os.IBinder activityToken, android.content.Intent intent, ActivityManager.TaskDescription description, android.graphics.Bitmap thumbnail)

public voidaddPackageDependency(java.lang.String packageName)

public voidappNotRespondingViaProvider(android.os.IBinder connection)

public voidattachApplication(IApplicationThread app)

public voidbackgroundResourcesReleased(android.os.IBinder token)

public voidbackupAgentCreated(java.lang.String packageName, android.os.IBinder agent)

public booleanbindBackupAgent(android.content.pm.ApplicationInfo appInfo, int backupRestoreMode)

public intbindService(IApplicationThread caller, android.os.IBinder token, android.content.Intent service, java.lang.String resolvedType, IServiceConnection connection, int flags, int userId)

public voidbootAnimationComplete()

public intbroadcastIntent(IApplicationThread caller, android.content.Intent intent, java.lang.String resolvedType, android.content.IIntentReceiver resultTo, int resultCode, java.lang.String resultData, android.os.Bundle map, java.lang.String requiredPermission, int appOp, boolean serialized, boolean sticky, int userId)

public voidcancelIntentSender(android.content.IIntentSender sender)

public intcheckGrantUriPermission(int callingUid, java.lang.String targetPkg, android.net.Uri uri, int modeFlags, int userId)

public intcheckPermission(java.lang.String permission, int pid, int uid)

public intcheckPermissionWithToken(java.lang.String permission, int pid, int uid, android.os.IBinder callerToken)

public intcheckUriPermission(android.net.Uri uri, int pid, int uid, int mode, int userId, android.os.IBinder callerToken)

public booleanclearApplicationUserData(java.lang.String packageName, android.content.pm.IPackageDataObserver observer, int userId)

public voidclearPendingBackup()

public voidcloseSystemDialogs(java.lang.String reason)

public booleanconvertFromTranslucent(android.os.IBinder token)

public booleanconvertToTranslucent(android.os.IBinder token, ActivityOptions options)

public voidcrashApplication(int uid, int initialPid, java.lang.String packageName, java.lang.String message)

public IActivityContainercreateActivityContainer(android.os.IBinder parentActivityToken, IActivityContainerCallback callback)

public voiddeleteActivityContainer(IActivityContainer container)

public booleandumpHeap(java.lang.String process, int userId, boolean managed, java.lang.String path, android.os.ParcelFileDescriptor fd)

public voidenterSafeMode()

public booleanfinishActivity(android.os.IBinder token, int code, android.content.Intent data, boolean finishTask)

public booleanfinishActivityAffinity(android.os.IBinder token)

public voidfinishHeavyWeightApp()

public voidfinishInstrumentation(IApplicationThread target, int resultCode, android.os.Bundle results)

public voidfinishReceiver(android.os.IBinder who, int resultCode, java.lang.String resultData, android.os.Bundle map, boolean abortBroadcast)

public voidfinishSubActivity(android.os.IBinder token, java.lang.String resultWho, int requestCode)

public voidfinishVoiceTask(android.service.voice.IVoiceInteractionSession session)

public voidforceStopPackage(java.lang.String packageName, int userId)

public android.content.ComponentNamegetActivityClassForToken(android.os.IBinder token)

public intgetActivityDisplayId(android.os.IBinder activityToken)

public ActivityOptionsgetActivityOptions(android.os.IBinder token)

public java.util.ListgetAllStackInfos()

public android.graphics.PointgetAppTaskThumbnailSize()

public java.util.ListgetAppTasks(java.lang.String callingPackage)

public android.os.BundlegetAssistContextExtras(int requestType)

public android.content.ComponentNamegetCallingActivity(android.os.IBinder token)

public java.lang.StringgetCallingPackage(android.os.IBinder token)

public android.content.res.ConfigurationgetConfiguration()

public android.app.IActivityManager$ContentProviderHoldergetContentProvider(IApplicationThread caller, java.lang.String name, int userId, boolean stable)

public android.app.IActivityManager$ContentProviderHoldergetContentProviderExternal(java.lang.String name, int userId, android.os.IBinder token)

public android.content.pm.UserInfogetCurrentUser()

public android.content.pm.ConfigurationInfogetDeviceConfigurationInfo()

public intgetFrontActivityScreenCompatMode()

public android.os.IBindergetHomeActivityToken()

public android.content.IntentgetIntentForIntentSender(android.content.IIntentSender sender)

public android.content.IIntentSendergetIntentSender(int type, java.lang.String packageName, android.os.IBinder token, java.lang.String resultWho, int requestCode, android.content.Intent[] intents, java.lang.String[] resolvedTypes, int flags, android.os.Bundle options, int userId)

public java.lang.StringgetLaunchedFromPackage(android.os.IBinder activityToken)

public intgetLaunchedFromUid(android.os.IBinder activityToken)

public voidgetMemoryInfo(ActivityManager.MemoryInfo outInfo)

public voidgetMyMemoryState(ActivityManager.RunningAppProcessInfo outInfo)

public booleangetPackageAskScreenCompat(java.lang.String packageName)

public java.lang.StringgetPackageForIntentSender(android.content.IIntentSender sender)

public java.lang.StringgetPackageForToken(android.os.IBinder token)

public intgetPackageScreenCompatMode(java.lang.String packageName)

public android.content.pm.ParceledListSlicegetPersistedUriPermissions(java.lang.String packageName, boolean incoming)

public intgetProcessLimit()

public Debug.MemoryInfo[]getProcessMemoryInfo(int[] pids)

public long[]getProcessPss(int[] pids)

public java.util.ListgetProcessesInErrorState()

public java.lang.StringgetProviderMimeType(android.net.Uri uri, int userId)

public java.util.ListgetRecentTasks(int maxNum, int flags, int userId)

public intgetRequestedOrientation(android.os.IBinder token)

public java.util.ListgetRunningAppProcesses()

public java.util.ListgetRunningExternalApplications()

public PendingIntentgetRunningServiceControlPanel(android.content.ComponentName service)

public int[]getRunningUserIds()

public java.util.ListgetServices(int maxNum, int flags)

public android.app.ActivityManager.StackInfogetStackInfo(int stackId)

public java.lang.StringgetTagForIntentSender(android.content.IIntentSender sender, java.lang.String prefix)

public android.graphics.BitmapgetTaskDescriptionIcon(java.lang.String filename)

public intgetTaskForActivity(android.os.IBinder token, boolean onlyRoot)

public ActivityManager.TaskThumbnailgetTaskThumbnail(int taskId)

public java.util.ListgetTasks(int maxNum, int flags)

public intgetUidForIntentSender(android.content.IIntentSender sender)

public voidgrantUriPermission(IApplicationThread caller, java.lang.String targetPkg, android.net.Uri uri, int mode, int userId)

public voidgrantUriPermissionFromOwner(android.os.IBinder owner, int fromUid, java.lang.String targetPkg, android.net.Uri uri, int mode, int sourceUserId, int targetUserId)

public voidhandleApplicationCrash(android.os.IBinder app, ApplicationErrorReport.CrashInfo crashInfo)

public voidhandleApplicationStrictModeViolation(android.os.IBinder app, int violationMask, StrictMode.ViolationInfo crashInfo)

public booleanhandleApplicationWtf(android.os.IBinder app, java.lang.String tag, boolean system, ApplicationErrorReport.CrashInfo crashInfo)

public inthandleIncomingUser(int callingPid, int callingUid, int userId, boolean allowAll, boolean requireFull, java.lang.String name, java.lang.String callerPackage)

public voidhang(android.os.IBinder who, boolean allowRestart)

public longinputDispatchingTimedOut(int pid, boolean aboveSystem, java.lang.String reason)

public booleanisBackgroundVisibleBehind(android.os.IBinder token)

public booleanisImmersive(android.os.IBinder token)

public booleanisInHomeStack(int taskId)

public booleanisInLockTaskMode()

public booleanisIntentSenderAnActivity(android.content.IIntentSender sender)

public booleanisIntentSenderTargetedToPackage(android.content.IIntentSender sender)

public booleanisTopActivityImmersive()

public booleanisTopOfTask(android.os.IBinder token)

public booleanisUserAMonkey()

public booleanisUserRunning(int userid, boolean orStopping)

public voidkeyguardWaitingForActivityDrawn()

public voidkillAllBackgroundProcesses()

public voidkillApplicationProcess(java.lang.String processName, int uid)

public voidkillApplicationWithAppId(java.lang.String pkg, int appid, java.lang.String reason)

public voidkillBackgroundProcesses(java.lang.String packageName, int userId)

public booleankillPids(int[] pids, java.lang.String reason, boolean secure)

public booleankillProcessesBelowForeground(java.lang.String reason)

public voidkillUid(int uid, java.lang.String reason)

public booleanlaunchAssistIntent(android.content.Intent intent, int requestType, java.lang.String hint, int userHandle)

public booleanmoveActivityTaskToBack(android.os.IBinder token, boolean nonRoot)

public voidmoveTaskBackwards(int task)

public voidmoveTaskToBack(int task)

public voidmoveTaskToFront(int task, int flags, android.os.Bundle options)

public voidmoveTaskToStack(int taskId, int stackId, boolean toTop)

public booleannavigateUpTo(android.os.IBinder token, android.content.Intent target, int resultCode, android.content.Intent resultData)

public android.os.IBindernewUriPermissionOwner(java.lang.String name)

public voidnoteWakeupAlarm(android.content.IIntentSender sender, int sourceUid, java.lang.String sourcePkg)

public voidnotifyActivityDrawn(android.os.IBinder token)

public voidnotifyEnterAnimationComplete(android.os.IBinder token)

public voidnotifyLaunchTaskBehindComplete(android.os.IBinder token)

public android.os.ParcelFileDescriptoropenContentUri(android.net.Uri uri)

public voidoverridePendingTransition(android.os.IBinder token, java.lang.String packageName, int enterAnim, int exitAnim)

public android.os.IBinderpeekService(android.content.Intent service, java.lang.String resolvedType)

public voidperformIdleMaintenance()

public booleanprofileControl(java.lang.String process, int userId, boolean start, ProfilerInfo profilerInfo, int profileType)

public voidpublishContentProviders(IApplicationThread caller, java.util.List providers)

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

public booleanrefContentProvider(android.os.IBinder connection, int stableDelta, int unstableDelta)

public voidregisterProcessObserver(IProcessObserver observer)

public android.content.IntentregisterReceiver(IApplicationThread caller, java.lang.String callerPackage, android.content.IIntentReceiver receiver, android.content.IntentFilter filter, java.lang.String requiredPermission, int userId)

public voidregisterTaskStackListener(ITaskStackListener listener)

public voidregisterUserSwitchObserver(IUserSwitchObserver observer)

public booleanreleaseActivityInstance(android.os.IBinder token)

public voidreleasePersistableUriPermission(android.net.Uri uri, int modeFlags, int userId)

public voidreleaseSomeActivities(IApplicationThread app)

public voidremoveContentProvider(android.os.IBinder connection, boolean stable)

public voidremoveContentProviderExternal(java.lang.String name, android.os.IBinder token)

public booleanremoveTask(int taskId)

public voidreportActivityFullyDrawn(android.os.IBinder token)

public voidreportAssistContextExtras(android.os.IBinder token, android.os.Bundle extras)

public voidrequestBugReport()

public booleanrequestVisibleBehind(android.os.IBinder token, boolean visible)

public voidresizeStack(int stackId, android.graphics.Rect bounds)

public voidrestart()

public voidresumeAppSwitches()

public voidrevokeUriPermission(IApplicationThread caller, android.net.Uri uri, int mode, int userId)

public voidrevokeUriPermissionFromOwner(android.os.IBinder owner, android.net.Uri uri, int mode, int userId)

public voidserviceDoneExecuting(android.os.IBinder token, int type, int startId, int res)

public voidsetActivityController(IActivityController watcher)

public voidsetAlwaysFinish(boolean enabled)

public voidsetDebugApp(java.lang.String packageName, boolean waitForDebugger, boolean persistent)

public voidsetFocusedStack(int stackId)

public voidsetFrontActivityScreenCompatMode(int mode)

public voidsetImmersive(android.os.IBinder token, boolean immersive)

public voidsetLockScreenShown(boolean shown)

public voidsetPackageAskScreenCompat(java.lang.String packageName, boolean ask)

public voidsetPackageScreenCompatMode(java.lang.String packageName, int mode)

public voidsetProcessForeground(android.os.IBinder token, int pid, boolean isForeground)

public voidsetProcessLimit(int max)

public voidsetRequestedOrientation(android.os.IBinder token, int requestedOrientation)

public voidsetServiceForeground(android.content.ComponentName className, android.os.IBinder token, int id, Notification notification, boolean keepNotification)

public voidsetTaskDescription(android.os.IBinder token, ActivityManager.TaskDescription values)

public voidsetUserIsMonkey(boolean monkey)

public booleanshouldUpRecreateTask(android.os.IBinder token, java.lang.String destAffinity)

public voidshowBootMessage(java.lang.CharSequence msg, boolean always)

public voidshowWaitingForDebugger(IApplicationThread who, boolean waiting)

public booleanshutdown(int timeout)

public voidsignalPersistentProcesses(int signal)

public intstartActivities(IApplicationThread caller, java.lang.String callingPackage, android.content.Intent[] intents, java.lang.String[] resolvedTypes, android.os.IBinder resultTo, android.os.Bundle options, int userId)

public intstartActivity(IApplicationThread caller, java.lang.String callingPackage, android.content.Intent intent, java.lang.String resolvedType, android.os.IBinder resultTo, java.lang.String resultWho, int requestCode, int flags, ProfilerInfo profilerInfo, android.os.Bundle options)

public android.app.IActivityManager$WaitResultstartActivityAndWait(IApplicationThread caller, java.lang.String callingPackage, android.content.Intent intent, java.lang.String resolvedType, android.os.IBinder resultTo, java.lang.String resultWho, int requestCode, int flags, ProfilerInfo profilerInfo, android.os.Bundle options, int userId)

public intstartActivityAsCaller(IApplicationThread caller, java.lang.String callingPackage, android.content.Intent intent, java.lang.String resolvedType, android.os.IBinder resultTo, java.lang.String resultWho, int requestCode, int flags, ProfilerInfo profilerInfo, android.os.Bundle options, int userId)

public intstartActivityAsUser(IApplicationThread caller, java.lang.String callingPackage, android.content.Intent intent, java.lang.String resolvedType, android.os.IBinder resultTo, java.lang.String resultWho, int requestCode, int flags, ProfilerInfo profilerInfo, android.os.Bundle options, int userId)

public intstartActivityFromRecents(int taskId, android.os.Bundle options)

public intstartActivityIntentSender(IApplicationThread caller, android.content.IntentSender intent, android.content.Intent fillInIntent, java.lang.String resolvedType, android.os.IBinder resultTo, java.lang.String resultWho, int requestCode, int flagsMask, int flagsValues, android.os.Bundle options)

public intstartActivityWithConfig(IApplicationThread caller, java.lang.String callingPackage, android.content.Intent intent, java.lang.String resolvedType, android.os.IBinder resultTo, java.lang.String resultWho, int requestCode, int startFlags, android.content.res.Configuration newConfig, android.os.Bundle options, int userId)

public voidstartInPlaceAnimationOnFrontMostApplication(ActivityOptions opts)

public booleanstartInstrumentation(android.content.ComponentName className, java.lang.String profileFile, int flags, android.os.Bundle arguments, IInstrumentationWatcher watcher, IUiAutomationConnection connection, int userId, java.lang.String abiOverride)

public voidstartLockTaskMode(int taskId)

public voidstartLockTaskMode(android.os.IBinder token)

public voidstartLockTaskModeOnCurrent()

public booleanstartNextMatchingActivity(android.os.IBinder callingActivity, android.content.Intent intent, android.os.Bundle options)

public android.content.ComponentNamestartService(IApplicationThread caller, android.content.Intent service, java.lang.String resolvedType, int userId)

public booleanstartUserInBackground(int userid)

public intstartVoiceActivity(java.lang.String callingPackage, int callingPid, int callingUid, android.content.Intent intent, java.lang.String resolvedType, android.service.voice.IVoiceInteractionSession session, com.android.internal.app.IVoiceInteractor interactor, int flags, ProfilerInfo profilerInfo, android.os.Bundle options, int userId)

public voidstopAppSwitches()

public voidstopLockTaskMode()

public voidstopLockTaskModeOnCurrent()

public intstopService(IApplicationThread caller, android.content.Intent service, java.lang.String resolvedType, int userId)

public booleanstopServiceToken(android.content.ComponentName className, android.os.IBinder token, int startId)

public intstopUser(int userid, IStopUserCallback callback)

public booleanswitchUser(int userid)

public voidsystemBackupRestored()

public voidtakePersistableUriPermission(android.net.Uri uri, int modeFlags, int userId)

public booleantestIsSystemReady()

public voidunbindBackupAgent(android.content.pm.ApplicationInfo appInfo)

public voidunbindFinished(android.os.IBinder token, android.content.Intent service, boolean doRebind)

public booleanunbindService(IServiceConnection connection)

public voidunbroadcastIntent(IApplicationThread caller, android.content.Intent intent, int userId)

public voidunhandledBack()

public voidunregisterProcessObserver(IProcessObserver observer)

public voidunregisterReceiver(android.content.IIntentReceiver receiver)

public voidunregisterUserSwitchObserver(IUserSwitchObserver observer)

public voidunstableProviderDied(android.os.IBinder connection)

public voidupdateConfiguration(android.content.res.Configuration values)

public voidupdatePersistentConfiguration(android.content.res.Configuration values)

public booleanwillActivityBeVisible(android.os.IBinder token)