/**@class android.app.ActivityThread @extends android.app.ClientTransactionHandler This manages the execution of the main thread in an application process, scheduling and executing activities, broadcasts, and other operations on it as the activity manager requests. {@hide} */ var ActivityThread = { /**@hide */ TAG : "ActivityThread", /**@hide */ DEBUG_BROADCAST : "false", /***/ DEBUG_CONFIGURATION : "false", /***/ DEBUG_MEMORY_TRIM : "false", /***/ DEBUG_ORDER : "false", /**Type for IActivityManager.serviceDoneExecuting: anonymous operation */ SERVICE_DONE_EXECUTING_ANON : "0", /**Type for IActivityManager.serviceDoneExecuting: done with an onStart call */ SERVICE_DONE_EXECUTING_START : "1", /**Type for IActivityManager.serviceDoneExecuting: done stopping (destroying) service */ SERVICE_DONE_EXECUTING_STOP : "2", /** Denotes an invalid sequence number corresponding to a process state change. */ INVALID_PROC_STATE_SEQ : "-1", /** Identifier for the sequence no. associated with this process start. It will be provided as one of the arguments when the process starts. */ PROC_START_SEQ_IDENT : "seq=", /** */ currentActivityThread : function( ) {}, /** */ isSystem : function( ) {}, /** */ currentOpPackageName : function( ) {}, /** */ currentPackageName : function( ) {}, /** */ currentProcessName : function( ) {}, /** */ currentApplication : function( ) {}, /** */ getPackageManager : function( ) {}, /** */ getPackageInfo : function( ) {}, /** */ getPackageInfo : function( ) {}, /** */ getPackageInfo : function( ) {}, /** */ getPackageInfoNoCheck : function( ) {}, /** */ peekPackageInfo : function( ) {}, /** */ getApplicationThread : function( ) {}, /** */ getInstrumentation : function( ) {}, /** */ isProfiling : function( ) {}, /** */ getProfileFilePath : function( ) {}, /** */ getLooper : function( ) {}, /** */ getExecutor : function( ) {}, /** */ getApplication : function( ) {}, /** */ getProcessName : function( ) {}, /** */ getSystemContext : function( ) {}, /** */ getSystemUiContext : function( ) {}, /**Create the context instance base on system resources & display information which used for UI. @param {Number} displayId The ID of the display where the UI is shown. @see ContextImpl#createSystemUiContext(ContextImpl, int) */ createSystemUiContext : function( ) {}, /** */ installSystemApplicationInfo : function( ) {}, /** */ dumpMemInfoTable : function( ) {}, /**Dump mem info data to proto. */ dumpMemInfoTable : function( ) {}, /** */ registerOnActivityPausedListener : function( ) {}, /** */ unregisterOnActivityPausedListener : function( ) {}, /** */ resolveActivityInfo : function( ) {}, /** */ startActivityNow : function( ) {}, /** */ getActivity : function( ) {}, /** */ getActivityClient : function( ) {}, /** */ updatePendingConfiguration : function( ) {}, /** */ updateProcessState : function( ) {}, /** */ countLaunchingActivities : function( ) {}, /** */ sendActivityResult : function( ) {}, /** */ handleStartActivity : function( ) {}, /**Extended implementation of activity launch. Used when server requests a launch or relaunch. */ handleLaunchActivity : function( ) {}, /** */ handleNewIntent : function( ) {}, /** */ handleRequestAssistContextExtras : function( ) {}, /** */ handleTranslucentConversionComplete : function( ) {}, /** */ onNewActivityOptions : function( ) {}, /** */ handleInstallProvider : function( ) {}, /** */ handleMultiWindowModeChanged : function( ) {}, /** */ handlePictureInPictureModeChanged : function( ) {}, /**Return the Intent that's currently being handled by a BroadcastReceiver on this thread, or null if none. @hide */ getIntentBeingBroadcast : function( ) {}, /**Resume the activity. @param {Object {IBinder}} token Target activity token. @param {Boolean} finalStateRequest Flag indicating if this is part of final state resolution for a transaction. @param {String} reason Reason for performing the action. @return {Object {android.app.ActivityThread.ActivityClientRecord}} The {@link ActivityClientRecord} that was resumed, {@code null} otherwise. */ performResumeActivity : function( ) {}, /** */ handleResumeActivity : function( ) {}, /** */ handleTopResumedActivityChanged : function( ) {}, /** */ handlePauseActivity : function( ) {}, /** */ handleStopActivity : function( ) {}, /**Schedule the call to tell the activity manager we have stopped. We don't do this immediately, because we want to have a chance for any other pending work (in particular memory trim requests) to complete before you tell the activity manager to proceed and allow us to go fully into the background. */ reportStop : function( ) {}, /** */ performRestartActivity : function( ) {}, /** */ handleWindowVisibility : function( ) {}, /** */ handleSendResult : function( ) {}, /** */ getActivitiesToBeDestroyed : function( ) {}, /** */ handleDestroyActivity : function( ) {}, /** */ prepareRelaunchActivity : function( ) {}, /** */ handleRelaunchActivity : function( ) {}, /** */ reportRelaunch : function( ) {}, /** */ applyConfigurationToResources : function( ) {}, /** */ handleConfigurationChanged : function( ) {}, /**Updates the application info. This only works in the system process. Must be called on the main thread. */ handleSystemApplicationInfoChanged : function( ) {}, /** */ handleApplicationInfoChanged : function( ) {}, /** */ updatePendingActivityConfiguration : function( ) {}, /**Handle new activity configuration and/or move to a different display. @param {Object {IBinder}} activityToken Target activity token. @param {Object {Configuration}} overrideConfig Activity override config. @param {Number} displayId Id of the display where activity was moved to, -1 if there was no move and value didn't change. */ handleActivityConfigurationChanged : function( ) {}, /**Public entrypoint to stop profiling. This is required to end profiling when the app crashes, so that profiler data won't be lost. @hide */ stopProfiling : function( ) {}, /** */ acquireProvider : function( ) {}, /** */ acquireExistingProvider : function( ) {}, /** */ releaseProvider : function( ) {}, /** */ systemMain : function( ) {}, /** */ updateHttpProxy : function( ) {}, /** */ installSystemProviders : function( ) {}, /** */ getIntCoreSetting : function( ) {}, /** */ main : function( ) {}, };