android.app
Class ApplicationThreadProxy
java.lang.Object
android.app.ApplicationThreadProxy
- All Implemented Interfaces:
- IApplicationThread, IInterface
class ApplicationThreadProxy
- extends Object
- implements IApplicationThread
| Fields inherited from interface android.app.IApplicationThread |
BIND_APPLICATION_TRANSACTION, DEBUG_OFF, DEBUG_ON, DEBUG_WAIT, descriptor, DUMP_SERVICE_TRANSACTION, PROCESS_IN_BACKGROUND_TRANSACTION, REQUEST_PSS_TRANSACTION, REQUEST_THUMBNAIL_TRANSACTION, SCHEDULE_ACTIVITY_CONFIGURATION_CHANGED_TRANSACTION, SCHEDULE_BIND_SERVICE_TRANSACTION, SCHEDULE_CONFIGURATION_CHANGED_TRANSACTION, SCHEDULE_CREATE_SERVICE_TRANSACTION, SCHEDULE_EXIT_TRANSACTION, SCHEDULE_FINISH_ACTIVITY_TRANSACTION, SCHEDULE_LAUNCH_ACTIVITY_TRANSACTION, SCHEDULE_LOW_MEMORY_TRANSACTION, SCHEDULE_NEW_INTENT_TRANSACTION, SCHEDULE_PAUSE_ACTIVITY_TRANSACTION, SCHEDULE_RECEIVER_TRANSACTION, SCHEDULE_REGISTERED_RECEIVER_TRANSACTION, SCHEDULE_RELAUNCH_ACTIVITY_TRANSACTION, SCHEDULE_RESUME_ACTIVITY_TRANSACTION, SCHEDULE_SEND_RESULT_TRANSACTION, SCHEDULE_SERVICE_ARGS_TRANSACTION, SCHEDULE_STOP_ACTIVITY_TRANSACTION, SCHEDULE_STOP_SERVICE_TRANSACTION, SCHEDULE_UNBIND_SERVICE_TRANSACTION, SCHEDULE_WINDOW_VISIBILITY_TRANSACTION, UPDATE_TIME_ZONE_TRANSACTION |
|
Method Summary |
IBinder |
asBinder()
Retrieve the Binder object associated with this interface. |
void |
bindApplication(String packageName,
ApplicationInfo info,
List<ProviderInfo> providers,
ComponentName testName,
String profileName,
Bundle testArgs,
IInstrumentationWatcher testWatcher,
int debugMode,
Configuration config,
Map<String,IBinder> services)
|
void |
dumpService(FileDescriptor fd,
IBinder token,
String[] args)
|
void |
processInBackground()
|
void |
requestPss()
|
void |
requestThumbnail(IBinder token)
|
void |
scheduleActivityConfigurationChanged(IBinder token)
|
void |
scheduleBindService(IBinder token,
Intent intent,
boolean rebind)
|
void |
scheduleConfigurationChanged(Configuration config)
|
void |
scheduleCreateService(IBinder token,
ServiceInfo info)
|
void |
scheduleDestroyActivity(IBinder token,
boolean finishing,
int configChanges)
|
void |
scheduleExit()
|
void |
scheduleLaunchActivity(Intent intent,
IBinder token,
ActivityInfo info,
Bundle state,
List<ResultInfo> pendingResults,
List<Intent> pendingNewIntents,
boolean notResumed)
|
void |
scheduleLowMemory()
|
void |
scheduleNewIntent(List<Intent> intents,
IBinder token)
|
void |
schedulePauseActivity(IBinder token,
boolean finished,
int configChanges)
|
void |
scheduleReceiver(Intent intent,
ActivityInfo info,
int resultCode,
String resultData,
Bundle map,
boolean sync)
|
void |
scheduleRegisteredReceiver(IIntentReceiver receiver,
Intent intent,
int resultCode,
String dataStr,
Bundle extras,
boolean ordered)
|
void |
scheduleRelaunchActivity(IBinder token,
List<ResultInfo> pendingResults,
List<Intent> pendingNewIntents,
int configChanges,
boolean notResumed)
|
void |
scheduleResumeActivity(IBinder token)
|
void |
scheduleSendResult(IBinder token,
List<ResultInfo> results)
|
void |
scheduleServiceArgs(IBinder token,
int startId,
Intent args)
|
void |
scheduleStopActivity(IBinder token,
boolean showWindow,
int configChanges)
|
void |
scheduleStopService(IBinder token)
|
void |
scheduleUnbindService(IBinder token,
Intent intent)
|
void |
scheduleWindowVisibility(IBinder token,
boolean showWindow)
|
void |
updateTimeZone()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ApplicationThreadProxy
public ApplicationThreadProxy(IBinder remote)
asBinder
public final 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
schedulePauseActivity
public final void schedulePauseActivity(IBinder token,
boolean finished,
int configChanges)
throws RemoteException
- Specified by:
schedulePauseActivity in interface IApplicationThread
- Throws:
RemoteException
scheduleStopActivity
public final void scheduleStopActivity(IBinder token,
boolean showWindow,
int configChanges)
throws RemoteException
- Specified by:
scheduleStopActivity in interface IApplicationThread
- Throws:
RemoteException
scheduleWindowVisibility
public final void scheduleWindowVisibility(IBinder token,
boolean showWindow)
throws RemoteException
- Specified by:
scheduleWindowVisibility in interface IApplicationThread
- Throws:
RemoteException
scheduleResumeActivity
public final void scheduleResumeActivity(IBinder token)
throws RemoteException
- Specified by:
scheduleResumeActivity in interface IApplicationThread
- Throws:
RemoteException
scheduleSendResult
public final void scheduleSendResult(IBinder token,
List<ResultInfo> results)
throws RemoteException
- Specified by:
scheduleSendResult in interface IApplicationThread
- Throws:
RemoteException
scheduleLaunchActivity
public final void scheduleLaunchActivity(Intent intent,
IBinder token,
ActivityInfo info,
Bundle state,
List<ResultInfo> pendingResults,
List<Intent> pendingNewIntents,
boolean notResumed)
throws RemoteException
- Specified by:
scheduleLaunchActivity in interface IApplicationThread
- Throws:
RemoteException
scheduleRelaunchActivity
public final void scheduleRelaunchActivity(IBinder token,
List<ResultInfo> pendingResults,
List<Intent> pendingNewIntents,
int configChanges,
boolean notResumed)
throws RemoteException
- Specified by:
scheduleRelaunchActivity in interface IApplicationThread
- Throws:
RemoteException
scheduleNewIntent
public void scheduleNewIntent(List<Intent> intents,
IBinder token)
throws RemoteException
- Specified by:
scheduleNewIntent in interface IApplicationThread
- Throws:
RemoteException
scheduleDestroyActivity
public final void scheduleDestroyActivity(IBinder token,
boolean finishing,
int configChanges)
throws RemoteException
- Specified by:
scheduleDestroyActivity in interface IApplicationThread
- Throws:
RemoteException
scheduleReceiver
public final void scheduleReceiver(Intent intent,
ActivityInfo info,
int resultCode,
String resultData,
Bundle map,
boolean sync)
throws RemoteException
- Specified by:
scheduleReceiver in interface IApplicationThread
- Throws:
RemoteException
scheduleCreateService
public final void scheduleCreateService(IBinder token,
ServiceInfo info)
throws RemoteException
- Specified by:
scheduleCreateService in interface IApplicationThread
- Throws:
RemoteException
scheduleBindService
public final void scheduleBindService(IBinder token,
Intent intent,
boolean rebind)
throws RemoteException
- Specified by:
scheduleBindService in interface IApplicationThread
- Throws:
RemoteException
scheduleUnbindService
public final void scheduleUnbindService(IBinder token,
Intent intent)
throws RemoteException
- Specified by:
scheduleUnbindService in interface IApplicationThread
- Throws:
RemoteException
scheduleServiceArgs
public final void scheduleServiceArgs(IBinder token,
int startId,
Intent args)
throws RemoteException
- Specified by:
scheduleServiceArgs in interface IApplicationThread
- Throws:
RemoteException
scheduleStopService
public final void scheduleStopService(IBinder token)
throws RemoteException
- Specified by:
scheduleStopService in interface IApplicationThread
- Throws:
RemoteException
bindApplication
public final void bindApplication(String packageName,
ApplicationInfo info,
List<ProviderInfo> providers,
ComponentName testName,
String profileName,
Bundle testArgs,
IInstrumentationWatcher testWatcher,
int debugMode,
Configuration config,
Map<String,IBinder> services)
throws RemoteException
- Specified by:
bindApplication in interface IApplicationThread
- Throws:
RemoteException
scheduleExit
public final void scheduleExit()
throws RemoteException
- Specified by:
scheduleExit in interface IApplicationThread
- Throws:
RemoteException
requestThumbnail
public final void requestThumbnail(IBinder token)
throws RemoteException
- Specified by:
requestThumbnail in interface IApplicationThread
- Throws:
RemoteException
scheduleConfigurationChanged
public final void scheduleConfigurationChanged(Configuration config)
throws RemoteException
- Specified by:
scheduleConfigurationChanged in interface IApplicationThread
- Throws:
RemoteException
updateTimeZone
public void updateTimeZone()
throws RemoteException
- Specified by:
updateTimeZone in interface IApplicationThread
- Throws:
RemoteException
processInBackground
public void processInBackground()
throws RemoteException
- Specified by:
processInBackground in interface IApplicationThread
- Throws:
RemoteException
dumpService
public void dumpService(FileDescriptor fd,
IBinder token,
String[] args)
throws RemoteException
- Specified by:
dumpService in interface IApplicationThread
- Throws:
RemoteException
scheduleRegisteredReceiver
public void scheduleRegisteredReceiver(IIntentReceiver receiver,
Intent intent,
int resultCode,
String dataStr,
Bundle extras,
boolean ordered)
throws RemoteException
- Specified by:
scheduleRegisteredReceiver in interface IApplicationThread
- Throws:
RemoteException
scheduleLowMemory
public final void scheduleLowMemory()
throws RemoteException
- Specified by:
scheduleLowMemory in interface IApplicationThread
- Throws:
RemoteException
scheduleActivityConfigurationChanged
public final void scheduleActivityConfigurationChanged(IBinder token)
throws RemoteException
- Specified by:
scheduleActivityConfigurationChanged in interface IApplicationThread
- Throws:
RemoteException
requestPss
public final void requestPss()
throws RemoteException
- Specified by:
requestPss in interface IApplicationThread
- Throws:
RemoteException
Please submit a feedback, bug or feature