Build 1.0_r1(from source)

android.app
Class ActivityManagerProxy

java.lang.Object
  extended by android.app.ActivityManagerProxy
All Implemented Interfaces:
IActivityManager, IInterface

 class ActivityManagerProxy
extends Object
implements IActivityManager


Nested Class Summary
 
Nested classes/interfaces inherited from interface android.app.IActivityManager
IActivityManager.ContentProviderHolder
 
Field Summary
 
Fields inherited from interface android.app.IActivityManager
ACTIVITY_DESTROYED_TRANSACTION, ACTIVITY_IDLE_TRANSACTION, ACTIVITY_PAUSED_TRANSACTION, ACTIVITY_STOPPED_TRANSACTION, ATTACH_APPLICATION_TRANSACTION, BIND_SERVICE_TRANSACTION, BROADCAST_INTENT_TRANSACTION, BROADCAST_STICKY_CANT_HAVE_PERMISSION, BROADCAST_SUCCESS, CANCEL_INTENT_SENDER_TRANSACTION, CHECK_PERMISSION_TRANSACTION, CHECK_URI_PERMISSION_TRANSACTION, CLEAR_APP_DATA_TRANSACTION, descriptor, ENTER_SAFE_MODE_TRANSACTION, FINISH_ACTIVITY_TRANSACTION, FINISH_INSTRUMENTATION_TRANSACTION, FINISH_OTHER_INSTANCES_TRANSACTION, FINISH_RECEIVER_TRANSACTION, FINISH_SUB_ACTIVITY_TRANSACTION, GET_ACTIVITY_CLASS_FOR_TOKEN_TRANSACTION, GET_CALLING_ACTIVITY_TRANSACTION, GET_CALLING_PACKAGE_TRANSACTION, GET_CONFIGURATION_TRANSACTION, GET_CONTENT_PROVIDER_TRANSACTION, GET_INTENT_SENDER_TRANSACTION, GET_MEMORY_INFO_TRANSACTION, GET_PACKAGE_FOR_INTENT_SENDER_TRANSACTION, GET_PACKAGE_FOR_TOKEN_TRANSACTION, GET_PROCESS_LIMIT_TRANSACTION, GET_PROCESSES_IN_ERROR_STATE_TRANSACTION, GET_RECENT_TASKS_TRANSACTION, GET_REQUESTED_ORIENTATION_TRANSACTION, GET_SERVICES_TRANSACTION, GET_TASK_FOR_ACTIVITY_TRANSACTION, GET_TASKS_TRANSACTION, GOING_TO_SLEEP_TRANSACTION, GRANT_URI_PERMISSION_TRANSACTION, HANDLE_APPLICATION_ERROR_TRANSACTION, INTENT_SENDER_ACTIVITY, INTENT_SENDER_ACTIVITY_RESULT, INTENT_SENDER_BROADCAST, INTENT_SENDER_SERVICE, KILL_PIDS_FOR_MEMORY_TRANSACTION, MOVE_ACTIVITY_TASK_TO_BACK_TRANSACTION, MOVE_TASK_BACKWARDS_TRANSACTION, MOVE_TASK_TO_BACK_TRANSACTION, MOVE_TASK_TO_FRONT_TRANSACTION, NOTE_WAKEUP_ALARM_TRANSACTION, OPEN_CONTENT_URI_TRANSACTION, PUBLISH_CONTENT_PROVIDERS_TRANSACTION, PUBLISH_SERVICE_TRANSACTION, REGISTER_RECEIVER_TRANSACTION, REMOVE_CONTENT_PROVIDER_TRANSACTION, REPORT_PSS_TRANSACTION, REPORT_THUMBNAIL_TRANSACTION, RESTART_PACKAGE_TRANSACTION, REVOKE_URI_PERMISSION_TRANSACTION, SERVICE_DONE_EXECUTING_TRANSACTION, SET_ACTIVITY_WATCHER_TRANSACTION, SET_ALWAYS_FINISH_TRANSACTION, SET_DEBUG_APP_TRANSACTION, SET_PERSISTENT_TRANSACTION, SET_PROCESS_FOREGROUND_TRANSACTION, SET_PROCESS_LIMIT_TRANSACTION, SET_REQUESTED_ORIENTATION_TRANSACTION, SET_SERVICE_FOREGROUND_TRANSACTION, SHOW_WAITING_FOR_DEBUGGER_TRANSACTION, SIGNAL_PERSISTENT_PROCESSES_TRANSACTION, START_ACTIVITY_TRANSACTION, START_CLASS_NOT_FOUND, START_DELIVERED_TO_TOP, START_FORWARD_AND_REQUEST_CONFLICT, START_INSTRUMENTATION_TRANSACTION, START_INTENT_NOT_RESOLVED, START_NEXT_MATCHING_ACTIVITY_TRANSACTION, START_PERMISSION_DENIED, START_RETURN_INTENT_TO_CALLER, START_RUNNING_TRANSACTION, START_SERVICE_TRANSACTION, START_SUCCESS, START_TASK_TO_FRONT, STOP_SERVICE_TOKEN_TRANSACTION, STOP_SERVICE_TRANSACTION, SYSTEM_READY_TRANSACTION, UNBIND_FINISHED_TRANSACTION, UNBIND_SERVICE_TRANSACTION, UNBROADCAST_INTENT_TRANSACTION, UNHANDLED_BACK_TRANSACTION, UNREGISTER_RECEIVER_TRANSACTION, UPDATE_CONFIGURATION_TRANSACTION, WAKING_UP_TRANSACTION
 
Constructor Summary
ActivityManagerProxy(IBinder remote)
           
 
Method Summary
 void activityDestroyed(IBinder token)
           
 void activityIdle(IBinder token)
           
 void activityPaused(IBinder token, Bundle state)
           
 void activityStopped(IBinder token, Bitmap thumbnail, CharSequence description)
           
 IBinder asBinder()
          Retrieve the Binder object associated with this interface.
 void attachApplication(IApplicationThread app)
           
 int bindService(IApplicationThread caller, IBinder token, Intent service, String resolvedType, IServiceConnection connection, int flags)
           
 int broadcastIntent(IApplicationThread caller, Intent intent, String resolvedType, IIntentReceiver resultTo, int resultCode, String resultData, Bundle map, String requiredPermission, boolean serialized, boolean sticky)
           
 void cancelIntentSender(IIntentSender sender)
           
 int checkPermission(String permission, int pid, int uid)
           
 int checkUriPermission(Uri uri, int pid, int uid, int mode)
           
 boolean clearApplicationUserData(String packageName, IPackageDataObserver observer)
           
 void enterSafeMode()
           
 boolean finishActivity(IBinder token, int resultCode, Intent resultData)
           
 void finishInstrumentation(IApplicationThread target, int resultCode, Bundle results)
           
 void finishOtherInstances(IBinder token, ComponentName className)
           
 void finishReceiver(IBinder who, int resultCode, String resultData, Bundle map, boolean abortBroadcast)
           
 void finishSubActivity(IBinder token, String resultWho, int requestCode)
           
 ComponentName getActivityClassForToken(IBinder token)
           
 ComponentName getCallingActivity(IBinder token)
           
 String getCallingPackage(IBinder token)
           
 Configuration getConfiguration()
           
 IActivityManager.ContentProviderHolder getContentProvider(IApplicationThread caller, String name)
           
 IIntentSender getIntentSender(int type, String packageName, IBinder token, String resultWho, int requestCode, Intent intent, String resolvedType, int flags)
           
 void getMemoryInfo(ActivityManager.MemoryInfo outInfo)
           
 String getPackageForIntentSender(IIntentSender sender)
           
 String getPackageForToken(IBinder token)
           
 List<ActivityManager.ProcessErrorStateInfo> getProcessesInErrorState()
           
 int getProcessLimit()
           
 List<ActivityManager.RecentTaskInfo> getRecentTasks(int maxNum, int flags)
           
 int getRequestedOrientation(IBinder token)
           
 List getServices(int maxNum, int flags)
           
 int getTaskForActivity(IBinder token, boolean onlyRoot)
           
 List getTasks(int maxNum, int flags, IThumbnailReceiver receiver)
           
 void goingToSleep()
           
 void grantUriPermission(IApplicationThread caller, String targetPkg, Uri uri, int mode)
           
 int handleApplicationError(IBinder app, int flags, String tag, String shortMsg, String longMsg, byte[] crashData)
           
 boolean killPidsForMemory(int[] pids)
           
 boolean moveActivityTaskToBack(IBinder token, boolean nonRoot)
           
 void moveTaskBackwards(int task)
           
 void moveTaskToBack(int task)
           
 void moveTaskToFront(int task)
           
 void noteWakeupAlarm(IIntentSender sender)
           
 ParcelFileDescriptor openContentUri(Uri uri)
           
 void publishContentProviders(IApplicationThread caller, List<IActivityManager.ContentProviderHolder> providers)
           
 void publishService(IBinder token, Intent intent, IBinder service)
           
 Intent registerReceiver(IApplicationThread caller, IIntentReceiver receiver, IntentFilter filter, String perm)
           
 void removeContentProvider(IApplicationThread caller, String name)
           
 void reportPss(IApplicationThread caller, int pss)
           
 void reportThumbnail(IBinder token, Bitmap thumbnail, CharSequence description)
           
 void restartPackage(String packageName)
           
 void revokeUriPermission(IApplicationThread caller, Uri uri, int mode)
           
 void serviceDoneExecuting(IBinder token)
           
 void setActivityWatcher(IActivityWatcher watcher)
           
 void setAlwaysFinish(boolean enabled)
           
 void setDebugApp(String packageName, boolean waitForDebugger, boolean persistent)
           
 void setPersistent(IBinder token, boolean isPersistent)
           
 void setProcessForeground(IBinder token, int pid, boolean isForeground)
           
 void setProcessLimit(int max)
           
 void setRequestedOrientation(IBinder token, int requestedOrientation)
           
 void setServiceForeground(ComponentName className, IBinder token, boolean isForeground)
           
 void showWaitingForDebugger(IApplicationThread who, boolean waiting)
           
 void signalPersistentProcesses(int sig)
           
 int startActivity(IApplicationThread caller, Intent intent, String resolvedType, Uri[] grantedUriPermissions, int grantedMode, IBinder resultTo, String resultWho, int requestCode, boolean onlyIfNeeded, boolean debug)
           
 boolean startInstrumentation(ComponentName className, String profileFile, int flags, Bundle arguments, IInstrumentationWatcher watcher)
           
 boolean startNextMatchingActivity(IBinder callingActivity, Intent intent)
           
 void startRunning(String pkg, String cls, String action, String indata)
           
 ComponentName startService(IApplicationThread caller, Intent service, String resolvedType)
           
 int stopService(IApplicationThread caller, Intent service, String resolvedType)
           
 boolean stopServiceToken(ComponentName className, IBinder token, int startId)
           
 void systemReady()
           
 void unbindFinished(IBinder token, Intent intent, boolean doRebind)
           
 boolean unbindService(IServiceConnection connection)
           
 void unbroadcastIntent(IApplicationThread caller, Intent intent)
           
 void unhandledBack()
           
 void unregisterReceiver(IIntentReceiver receiver)
           
 void updateConfiguration(Configuration values)
           
 void wakingUp()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActivityManagerProxy

public ActivityManagerProxy(IBinder remote)
Method Detail

asBinder

public IBinder asBinder()
Description copied from interface: IInterface
Retrieve the Binder object associated with this interface. You must use this instead of a plain cast, so that proxy objects can return the correct result.

Specified by:
asBinder in interface IInterface

startActivity

public int startActivity(IApplicationThread caller,
                         Intent intent,
                         String resolvedType,
                         Uri[] grantedUriPermissions,
                         int grantedMode,
                         IBinder resultTo,
                         String resultWho,
                         int requestCode,
                         boolean onlyIfNeeded,
                         boolean debug)
                  throws RemoteException
Specified by:
startActivity in interface IActivityManager
Throws:
RemoteException

startNextMatchingActivity

public boolean startNextMatchingActivity(IBinder callingActivity,
                                         Intent intent)
                                  throws RemoteException
Specified by:
startNextMatchingActivity in interface IActivityManager
Throws:
RemoteException

finishActivity

public boolean finishActivity(IBinder token,
                              int resultCode,
                              Intent resultData)
                       throws RemoteException
Specified by:
finishActivity in interface IActivityManager
Throws:
RemoteException

finishSubActivity

public void finishSubActivity(IBinder token,
                              String resultWho,
                              int requestCode)
                       throws RemoteException
Specified by:
finishSubActivity in interface IActivityManager
Throws:
RemoteException

registerReceiver

public Intent registerReceiver(IApplicationThread caller,
                               IIntentReceiver receiver,
                               IntentFilter filter,
                               String perm)
                        throws RemoteException
Specified by:
registerReceiver in interface IActivityManager
Throws:
RemoteException

unregisterReceiver

public void unregisterReceiver(IIntentReceiver receiver)
                        throws RemoteException
Specified by:
unregisterReceiver in interface IActivityManager
Throws:
RemoteException

broadcastIntent

public int broadcastIntent(IApplicationThread caller,
                           Intent intent,
                           String resolvedType,
                           IIntentReceiver resultTo,
                           int resultCode,
                           String resultData,
                           Bundle map,
                           String requiredPermission,
                           boolean serialized,
                           boolean sticky)
                    throws RemoteException
Specified by:
broadcastIntent in interface IActivityManager
Throws:
RemoteException

unbroadcastIntent

public void unbroadcastIntent(IApplicationThread caller,
                              Intent intent)
                       throws RemoteException
Specified by:
unbroadcastIntent in interface IActivityManager
Throws:
RemoteException

finishReceiver

public void finishReceiver(IBinder who,
                           int resultCode,
                           String resultData,
                           Bundle map,
                           boolean abortBroadcast)
                    throws RemoteException
Specified by:
finishReceiver in interface IActivityManager
Throws:
RemoteException

setPersistent

public void setPersistent(IBinder token,
                          boolean isPersistent)
                   throws RemoteException
Specified by:
setPersistent in interface IActivityManager
Throws:
RemoteException

attachApplication

public void attachApplication(IApplicationThread app)
                       throws RemoteException
Specified by:
attachApplication in interface IActivityManager
Throws:
RemoteException

activityIdle

public void activityIdle(IBinder token)
                  throws RemoteException
Specified by:
activityIdle in interface IActivityManager
Throws:
RemoteException

activityPaused

public void activityPaused(IBinder token,
                           Bundle state)
                    throws RemoteException
Specified by:
activityPaused in interface IActivityManager
Throws:
RemoteException

activityStopped

public void activityStopped(IBinder token,
                            Bitmap thumbnail,
                            CharSequence description)
                     throws RemoteException
Specified by:
activityStopped in interface IActivityManager
Throws:
RemoteException

activityDestroyed

public void activityDestroyed(IBinder token)
                       throws RemoteException
Specified by:
activityDestroyed in interface IActivityManager
Throws:
RemoteException

getCallingPackage

public String getCallingPackage(IBinder token)
                         throws RemoteException
Specified by:
getCallingPackage in interface IActivityManager
Throws:
RemoteException

getCallingActivity

public ComponentName getCallingActivity(IBinder token)
                                 throws RemoteException
Specified by:
getCallingActivity in interface IActivityManager
Throws:
RemoteException

getTasks

public List getTasks(int maxNum,
                     int flags,
                     IThumbnailReceiver receiver)
              throws RemoteException
Specified by:
getTasks in interface IActivityManager
Throws:
RemoteException

getRecentTasks

public List<ActivityManager.RecentTaskInfo> getRecentTasks(int maxNum,
                                                           int flags)
                                                    throws RemoteException
Specified by:
getRecentTasks in interface IActivityManager
Throws:
RemoteException

getServices

public List getServices(int maxNum,
                        int flags)
                 throws RemoteException
Specified by:
getServices in interface IActivityManager
Throws:
RemoteException

getProcessesInErrorState

public List<ActivityManager.ProcessErrorStateInfo> getProcessesInErrorState()
                                                                     throws RemoteException
Specified by:
getProcessesInErrorState in interface IActivityManager
Throws:
RemoteException

moveTaskToFront

public void moveTaskToFront(int task)
                     throws RemoteException
Specified by:
moveTaskToFront in interface IActivityManager
Throws:
RemoteException

moveTaskToBack

public void moveTaskToBack(int task)
                    throws RemoteException
Specified by:
moveTaskToBack in interface IActivityManager
Throws:
RemoteException

moveActivityTaskToBack

public boolean moveActivityTaskToBack(IBinder token,
                                      boolean nonRoot)
                               throws RemoteException
Specified by:
moveActivityTaskToBack in interface IActivityManager
Throws:
RemoteException

moveTaskBackwards

public void moveTaskBackwards(int task)
                       throws RemoteException
Specified by:
moveTaskBackwards in interface IActivityManager
Throws:
RemoteException

getTaskForActivity

public int getTaskForActivity(IBinder token,
                              boolean onlyRoot)
                       throws RemoteException
Specified by:
getTaskForActivity in interface IActivityManager
Throws:
RemoteException

finishOtherInstances

public void finishOtherInstances(IBinder token,
                                 ComponentName className)
                          throws RemoteException
Specified by:
finishOtherInstances in interface IActivityManager
Throws:
RemoteException

reportThumbnail

public void reportThumbnail(IBinder token,
                            Bitmap thumbnail,
                            CharSequence description)
                     throws RemoteException
Specified by:
reportThumbnail in interface IActivityManager
Throws:
RemoteException

getContentProvider

public IActivityManager.ContentProviderHolder getContentProvider(IApplicationThread caller,
                                                                 String name)
                                                          throws RemoteException
Specified by:
getContentProvider in interface IActivityManager
Throws:
RemoteException

publishContentProviders

public void publishContentProviders(IApplicationThread caller,
                                    List<IActivityManager.ContentProviderHolder> providers)
                             throws RemoteException
Specified by:
publishContentProviders in interface IActivityManager
Throws:
RemoteException

removeContentProvider

public void removeContentProvider(IApplicationThread caller,
                                  String name)
                           throws RemoteException
Specified by:
removeContentProvider in interface IActivityManager
Throws:
RemoteException

startService

public ComponentName startService(IApplicationThread caller,
                                  Intent service,
                                  String resolvedType)
                           throws RemoteException
Specified by:
startService in interface IActivityManager
Throws:
RemoteException

stopService

public int stopService(IApplicationThread caller,
                       Intent service,
                       String resolvedType)
                throws RemoteException
Specified by:
stopService in interface IActivityManager
Throws:
RemoteException

stopServiceToken

public boolean stopServiceToken(ComponentName className,
                                IBinder token,
                                int startId)
                         throws RemoteException
Specified by:
stopServiceToken in interface IActivityManager
Throws:
RemoteException

setServiceForeground

public void setServiceForeground(ComponentName className,
                                 IBinder token,
                                 boolean isForeground)
                          throws RemoteException
Specified by:
setServiceForeground in interface IActivityManager
Throws:
RemoteException

bindService

public int bindService(IApplicationThread caller,
                       IBinder token,
                       Intent service,
                       String resolvedType,
                       IServiceConnection connection,
                       int flags)
                throws RemoteException
Specified by:
bindService in interface IActivityManager
Throws:
RemoteException

unbindService

public boolean unbindService(IServiceConnection connection)
                      throws RemoteException
Specified by:
unbindService in interface IActivityManager
Throws:
RemoteException

publishService

public void publishService(IBinder token,
                           Intent intent,
                           IBinder service)
                    throws RemoteException
Specified by:
publishService in interface IActivityManager
Throws:
RemoteException

unbindFinished

public void unbindFinished(IBinder token,
                           Intent intent,
                           boolean doRebind)
                    throws RemoteException
Specified by:
unbindFinished in interface IActivityManager
Throws:
RemoteException

serviceDoneExecuting

public void serviceDoneExecuting(IBinder token)
                          throws RemoteException
Specified by:
serviceDoneExecuting in interface IActivityManager
Throws:
RemoteException

startInstrumentation

public boolean startInstrumentation(ComponentName className,
                                    String profileFile,
                                    int flags,
                                    Bundle arguments,
                                    IInstrumentationWatcher watcher)
                             throws RemoteException
Specified by:
startInstrumentation in interface IActivityManager
Throws:
RemoteException

finishInstrumentation

public void finishInstrumentation(IApplicationThread target,
                                  int resultCode,
                                  Bundle results)
                           throws RemoteException
Specified by:
finishInstrumentation in interface IActivityManager
Throws:
RemoteException

getConfiguration

public Configuration getConfiguration()
                               throws RemoteException
Specified by:
getConfiguration in interface IActivityManager
Throws:
RemoteException

updateConfiguration

public void updateConfiguration(Configuration values)
                         throws RemoteException
Specified by:
updateConfiguration in interface IActivityManager
Throws:
RemoteException

setRequestedOrientation

public void setRequestedOrientation(IBinder token,
                                    int requestedOrientation)
                             throws RemoteException
Specified by:
setRequestedOrientation in interface IActivityManager
Throws:
RemoteException

getRequestedOrientation

public int getRequestedOrientation(IBinder token)
                            throws RemoteException
Specified by:
getRequestedOrientation in interface IActivityManager
Throws:
RemoteException

getActivityClassForToken

public ComponentName getActivityClassForToken(IBinder token)
                                       throws RemoteException
Specified by:
getActivityClassForToken in interface IActivityManager
Throws:
RemoteException

getPackageForToken

public String getPackageForToken(IBinder token)
                          throws RemoteException
Specified by:
getPackageForToken in interface IActivityManager
Throws:
RemoteException

getIntentSender

public IIntentSender getIntentSender(int type,
                                     String packageName,
                                     IBinder token,
                                     String resultWho,
                                     int requestCode,
                                     Intent intent,
                                     String resolvedType,
                                     int flags)
                              throws RemoteException
Specified by:
getIntentSender in interface IActivityManager
Throws:
RemoteException

cancelIntentSender

public void cancelIntentSender(IIntentSender sender)
                        throws RemoteException
Specified by:
cancelIntentSender in interface IActivityManager
Throws:
RemoteException

getPackageForIntentSender

public String getPackageForIntentSender(IIntentSender sender)
                                 throws RemoteException
Specified by:
getPackageForIntentSender in interface IActivityManager
Throws:
RemoteException

setProcessLimit

public void setProcessLimit(int max)
                     throws RemoteException
Specified by:
setProcessLimit in interface IActivityManager
Throws:
RemoteException

getProcessLimit

public int getProcessLimit()
                    throws RemoteException
Specified by:
getProcessLimit in interface IActivityManager
Throws:
RemoteException

setProcessForeground

public void setProcessForeground(IBinder token,
                                 int pid,
                                 boolean isForeground)
                          throws RemoteException
Specified by:
setProcessForeground in interface IActivityManager
Throws:
RemoteException

checkPermission

public int checkPermission(String permission,
                           int pid,
                           int uid)
                    throws RemoteException
Specified by:
checkPermission in interface IActivityManager
Throws:
RemoteException

clearApplicationUserData

public boolean clearApplicationUserData(String packageName,
                                        IPackageDataObserver observer)
                                 throws RemoteException
Specified by:
clearApplicationUserData in interface IActivityManager
Throws:
RemoteException

checkUriPermission

public int checkUriPermission(Uri uri,
                              int pid,
                              int uid,
                              int mode)
                       throws RemoteException
Specified by:
checkUriPermission in interface IActivityManager
Throws:
RemoteException

grantUriPermission

public void grantUriPermission(IApplicationThread caller,
                               String targetPkg,
                               Uri uri,
                               int mode)
                        throws RemoteException
Specified by:
grantUriPermission in interface IActivityManager
Throws:
RemoteException

revokeUriPermission

public void revokeUriPermission(IApplicationThread caller,
                                Uri uri,
                                int mode)
                         throws RemoteException
Specified by:
revokeUriPermission in interface IActivityManager
Throws:
RemoteException

showWaitingForDebugger

public void showWaitingForDebugger(IApplicationThread who,
                                   boolean waiting)
                            throws RemoteException
Specified by:
showWaitingForDebugger in interface IActivityManager
Throws:
RemoteException

getMemoryInfo

public void getMemoryInfo(ActivityManager.MemoryInfo outInfo)
                   throws RemoteException
Specified by:
getMemoryInfo in interface IActivityManager
Throws:
RemoteException

unhandledBack

public void unhandledBack()
                   throws RemoteException
Specified by:
unhandledBack in interface IActivityManager
Throws:
RemoteException

openContentUri

public ParcelFileDescriptor openContentUri(Uri uri)
                                    throws RemoteException
Specified by:
openContentUri in interface IActivityManager
Throws:
RemoteException

goingToSleep

public void goingToSleep()
                  throws RemoteException
Specified by:
goingToSleep in interface IActivityManager
Throws:
RemoteException

wakingUp

public void wakingUp()
              throws RemoteException
Specified by:
wakingUp in interface IActivityManager
Throws:
RemoteException

setDebugApp

public void setDebugApp(String packageName,
                        boolean waitForDebugger,
                        boolean persistent)
                 throws RemoteException
Specified by:
setDebugApp in interface IActivityManager
Throws:
RemoteException

setAlwaysFinish

public void setAlwaysFinish(boolean enabled)
                     throws RemoteException
Specified by:
setAlwaysFinish in interface IActivityManager
Throws:
RemoteException

setActivityWatcher

public void setActivityWatcher(IActivityWatcher watcher)
                        throws RemoteException
Specified by:
setActivityWatcher in interface IActivityManager
Throws:
RemoteException

enterSafeMode

public void enterSafeMode()
                   throws RemoteException
Specified by:
enterSafeMode in interface IActivityManager
Throws:
RemoteException

noteWakeupAlarm

public void noteWakeupAlarm(IIntentSender sender)
                     throws RemoteException
Specified by:
noteWakeupAlarm in interface IActivityManager
Throws:
RemoteException

killPidsForMemory

public boolean killPidsForMemory(int[] pids)
                          throws RemoteException
Specified by:
killPidsForMemory in interface IActivityManager
Throws:
RemoteException

reportPss

public void reportPss(IApplicationThread caller,
                      int pss)
               throws RemoteException
Specified by:
reportPss in interface IActivityManager
Throws:
RemoteException

startRunning

public void startRunning(String pkg,
                         String cls,
                         String action,
                         String indata)
                  throws RemoteException
Specified by:
startRunning in interface IActivityManager
Throws:
RemoteException

systemReady

public void systemReady()
                 throws RemoteException
Specified by:
systemReady in interface IActivityManager
Throws:
RemoteException

handleApplicationError

public int handleApplicationError(IBinder app,
                                  int flags,
                                  String tag,
                                  String shortMsg,
                                  String longMsg,
                                  byte[] crashData)
                           throws RemoteException
Specified by:
handleApplicationError in interface IActivityManager
Throws:
RemoteException

signalPersistentProcesses

public void signalPersistentProcesses(int sig)
                               throws RemoteException
Specified by:
signalPersistentProcesses in interface IActivityManager
Throws:
RemoteException

restartPackage

public void restartPackage(String packageName)
                    throws RemoteException
Specified by:
restartPackage in interface IActivityManager
Throws:
RemoteException

Build 1.0_r1(from source)

Please submit a feedback, bug or feature