public interface IApplicationThread extends IInterface
Modifier and Type | Method and Description |
---|---|
void |
bindApplication(String packageName,
ApplicationInfo info,
List<ProviderInfo> providers,
ComponentName testName,
ProfilerInfo profilerInfo,
Bundle testArguments,
IInstrumentationWatcher testWatcher,
IUiAutomationConnection uiAutomationConnection,
int debugMode,
boolean enableBinderTracking,
boolean trackAllocation,
boolean restrictedBackupMode,
boolean persistent,
Configuration config,
CompatibilityInfo compatInfo,
Map<String,IBinder> services,
Bundle coreSettings) |
void |
clearDnsCache() |
void |
dispatchPackageBroadcast(int cmd,
String[] packages) |
void |
dumpActivity(FileDescriptor fd,
IBinder servicetoken,
String prefix,
String[] args) |
void |
dumpDbInfo(FileDescriptor fd,
String[] args) |
void |
dumpGfxInfo(FileDescriptor fd,
String[] args) |
void |
dumpHeap(boolean managed,
String path,
ParcelFileDescriptor fd) |
void |
dumpMemInfo(FileDescriptor fd,
Debug.MemoryInfo mem,
boolean checkin,
boolean dumpInfo,
boolean dumpDalvik,
boolean dumpSummaryOnly,
boolean dumpUnreachable,
String[] args) |
void |
dumpProvider(FileDescriptor fd,
IBinder servicetoken,
String[] args) |
void |
dumpService(FileDescriptor fd,
IBinder servicetoken,
String[] args) |
void |
notifyCleartextNetwork(byte[] firstPacket) |
void |
processInBackground() |
void |
profilerControl(boolean start,
ProfilerInfo profilerInfo,
int profileType) |
void |
requestAssistContextExtras(IBinder activityToken,
IBinder requestToken,
int requestType,
int sessionId) |
void |
scheduleActivityConfigurationChanged(IBinder token,
Configuration overrideConfig,
boolean reportToActivity) |
void |
scheduleBackgroundVisibleBehindChanged(IBinder token,
boolean enabled) |
void |
scheduleBindService(IBinder token,
Intent intent,
boolean rebind,
int processState) |
void |
scheduleCancelVisibleBehind(IBinder token) |
void |
scheduleConfigurationChanged(Configuration config) |
void |
scheduleCrash(String msg) |
void |
scheduleCreateBackupAgent(ApplicationInfo app,
CompatibilityInfo compatInfo,
int backupMode) |
void |
scheduleCreateService(IBinder token,
ServiceInfo info,
CompatibilityInfo compatInfo,
int processState) |
void |
scheduleDestroyActivity(IBinder token,
boolean finished,
int configChanges) |
void |
scheduleDestroyBackupAgent(ApplicationInfo app,
CompatibilityInfo compatInfo) |
void |
scheduleEnterAnimationComplete(IBinder token) |
void |
scheduleExit() |
void |
scheduleInstallProvider(ProviderInfo provider) |
void |
scheduleLaunchActivity(Intent intent,
IBinder token,
int ident,
ActivityInfo info,
Configuration curConfig,
Configuration overrideConfig,
CompatibilityInfo compatInfo,
String referrer,
IVoiceInteractor voiceInteractor,
int procState,
Bundle state,
PersistableBundle persistentState,
List<ResultInfo> pendingResults,
List<ReferrerIntent> pendingNewIntents,
boolean notResumed,
boolean isForward,
ProfilerInfo profilerInfo) |
void |
scheduleLocalVoiceInteractionStarted(IBinder token,
IVoiceInteractor voiceInteractor) |
void |
scheduleLowMemory() |
void |
scheduleMultiWindowModeChanged(IBinder token,
boolean isInMultiWindowMode) |
void |
scheduleNewIntent(List<ReferrerIntent> intent,
IBinder token,
boolean andPause) |
void |
scheduleOnNewActivityOptions(IBinder token,
ActivityOptions options) |
void |
schedulePauseActivity(IBinder token,
boolean finished,
boolean userLeaving,
int configChanges,
boolean dontReport) |
void |
schedulePictureInPictureModeChanged(IBinder token,
boolean isInPictureInPictureMode) |
void |
scheduleReceiver(Intent intent,
ActivityInfo info,
CompatibilityInfo compatInfo,
int resultCode,
String data,
Bundle extras,
boolean sync,
int sendingUser,
int processState) |
void |
scheduleRegisteredReceiver(IIntentReceiver receiver,
Intent intent,
int resultCode,
String data,
Bundle extras,
boolean ordered,
boolean sticky,
int sendingUser,
int processState) |
void |
scheduleRelaunchActivity(IBinder token,
List<ResultInfo> pendingResults,
List<ReferrerIntent> pendingNewIntents,
int configChanges,
boolean notResumed,
Configuration config,
Configuration overrideConfig,
boolean preserveWindow) |
void |
scheduleResumeActivity(IBinder token,
int procState,
boolean isForward,
Bundle resumeArgs) |
void |
scheduleSendResult(IBinder token,
List<ResultInfo> results) |
void |
scheduleServiceArgs(IBinder token,
boolean taskRemoved,
int startId,
int flags,
Intent args) |
void |
scheduleSleeping(IBinder token,
boolean sleeping) |
void |
scheduleStopActivity(IBinder token,
boolean showWindow,
int configChanges) |
void |
scheduleStopService(IBinder token) |
void |
scheduleSuicide() |
void |
scheduleTranslucentConversionComplete(IBinder token,
boolean timeout) |
void |
scheduleTrimMemory(int level) |
void |
scheduleUnbindService(IBinder token,
Intent intent) |
void |
scheduleWindowVisibility(IBinder token,
boolean showWindow) |
void |
setCoreSettings(Bundle coreSettings) |
void |
setHttpProxy(String proxy,
String port,
String exclList,
Uri pacFileUrl) |
void |
setProcessState(int state) |
void |
setSchedulingGroup(int group) |
void |
startBinderTracking() |
void |
stopBinderTrackingAndDump(FileDescriptor fd) |
void |
unstableProviderDied(IBinder provider) |
void |
updatePackageCompatibilityInfo(String pkg,
CompatibilityInfo info) |
void |
updateTimePrefs(boolean is24Hour) |
void |
updateTimeZone() |
asBinder
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
static final int PACKAGE_REMOVED_DONT_KILL
static final int PACKAGE_REPLACED
static final String descriptor
static final int SCHEDULE_PAUSE_ACTIVITY_TRANSACTION
static final int SCHEDULE_STOP_ACTIVITY_TRANSACTION
static final int SCHEDULE_WINDOW_VISIBILITY_TRANSACTION
static final int SCHEDULE_RESUME_ACTIVITY_TRANSACTION
static final int SCHEDULE_SEND_RESULT_TRANSACTION
static final int SCHEDULE_LAUNCH_ACTIVITY_TRANSACTION
static final int SCHEDULE_NEW_INTENT_TRANSACTION
static final int SCHEDULE_FINISH_ACTIVITY_TRANSACTION
static final int SCHEDULE_RECEIVER_TRANSACTION
static final int SCHEDULE_CREATE_SERVICE_TRANSACTION
static final int SCHEDULE_STOP_SERVICE_TRANSACTION
static final int BIND_APPLICATION_TRANSACTION
static final int SCHEDULE_EXIT_TRANSACTION
static final int SCHEDULE_CONFIGURATION_CHANGED_TRANSACTION
static final int SCHEDULE_SERVICE_ARGS_TRANSACTION
static final int UPDATE_TIME_ZONE_TRANSACTION
static final int PROCESS_IN_BACKGROUND_TRANSACTION
static final int SCHEDULE_BIND_SERVICE_TRANSACTION
static final int SCHEDULE_UNBIND_SERVICE_TRANSACTION
static final int DUMP_SERVICE_TRANSACTION
static final int SCHEDULE_REGISTERED_RECEIVER_TRANSACTION
static final int SCHEDULE_LOW_MEMORY_TRANSACTION
static final int SCHEDULE_ACTIVITY_CONFIGURATION_CHANGED_TRANSACTION
static final int SCHEDULE_RELAUNCH_ACTIVITY_TRANSACTION
static final int SCHEDULE_SLEEPING_TRANSACTION
static final int PROFILER_CONTROL_TRANSACTION
static final int SET_SCHEDULING_GROUP_TRANSACTION
static final int SCHEDULE_CREATE_BACKUP_AGENT_TRANSACTION
static final int SCHEDULE_DESTROY_BACKUP_AGENT_TRANSACTION
static final int SCHEDULE_ON_NEW_ACTIVITY_OPTIONS_TRANSACTION
static final int SCHEDULE_SUICIDE_TRANSACTION
static final int DISPATCH_PACKAGE_BROADCAST_TRANSACTION
static final int SCHEDULE_CRASH_TRANSACTION
static final int DUMP_HEAP_TRANSACTION
static final int DUMP_ACTIVITY_TRANSACTION
static final int CLEAR_DNS_CACHE_TRANSACTION
static final int SET_HTTP_PROXY_TRANSACTION
static final int SET_CORE_SETTINGS_TRANSACTION
static final int UPDATE_PACKAGE_COMPATIBILITY_INFO_TRANSACTION
static final int SCHEDULE_TRIM_MEMORY_TRANSACTION
static final int DUMP_MEM_INFO_TRANSACTION
static final int DUMP_GFX_INFO_TRANSACTION
static final int DUMP_PROVIDER_TRANSACTION
static final int DUMP_DB_INFO_TRANSACTION
static final int UNSTABLE_PROVIDER_DIED_TRANSACTION
static final int REQUEST_ASSIST_CONTEXT_EXTRAS_TRANSACTION
static final int SCHEDULE_TRANSLUCENT_CONVERSION_COMPLETE_TRANSACTION
static final int SET_PROCESS_STATE_TRANSACTION
static final int SCHEDULE_INSTALL_PROVIDER_TRANSACTION
static final int UPDATE_TIME_PREFS_TRANSACTION
static final int CANCEL_VISIBLE_BEHIND_TRANSACTION
static final int BACKGROUND_VISIBLE_BEHIND_CHANGED_TRANSACTION
static final int ENTER_ANIMATION_COMPLETE_TRANSACTION
static final int NOTIFY_CLEARTEXT_NETWORK_TRANSACTION
static final int START_BINDER_TRACKING_TRANSACTION
static final int STOP_BINDER_TRACKING_AND_DUMP_TRANSACTION
static final int SCHEDULE_MULTI_WINDOW_CHANGED_TRANSACTION
static final int SCHEDULE_PICTURE_IN_PICTURE_CHANGED_TRANSACTION
static final int SCHEDULE_LOCAL_VOICE_INTERACTION_STARTED_TRANSACTION
void schedulePauseActivity(IBinder token, boolean finished, boolean userLeaving, int configChanges, boolean dontReport) throws RemoteException
RemoteException
void scheduleStopActivity(IBinder token, boolean showWindow, int configChanges) throws RemoteException
RemoteException
void scheduleWindowVisibility(IBinder token, boolean showWindow) throws RemoteException
RemoteException
void scheduleSleeping(IBinder token, boolean sleeping) throws RemoteException
RemoteException
void scheduleResumeActivity(IBinder token, int procState, boolean isForward, Bundle resumeArgs) throws RemoteException
RemoteException
void scheduleSendResult(IBinder token, List<ResultInfo> results) throws RemoteException
RemoteException
void scheduleLaunchActivity(Intent intent, IBinder token, int ident, ActivityInfo info, Configuration curConfig, Configuration overrideConfig, CompatibilityInfo compatInfo, String referrer, IVoiceInteractor voiceInteractor, int procState, Bundle state, PersistableBundle persistentState, List<ResultInfo> pendingResults, List<ReferrerIntent> pendingNewIntents, boolean notResumed, boolean isForward, ProfilerInfo profilerInfo) throws RemoteException
RemoteException
void scheduleRelaunchActivity(IBinder token, List<ResultInfo> pendingResults, List<ReferrerIntent> pendingNewIntents, int configChanges, boolean notResumed, Configuration config, Configuration overrideConfig, boolean preserveWindow) throws RemoteException
RemoteException
void scheduleNewIntent(List<ReferrerIntent> intent, IBinder token, boolean andPause) throws RemoteException
RemoteException
void scheduleDestroyActivity(IBinder token, boolean finished, int configChanges) throws RemoteException
RemoteException
void scheduleReceiver(Intent intent, ActivityInfo info, CompatibilityInfo compatInfo, int resultCode, String data, Bundle extras, boolean sync, int sendingUser, int processState) throws RemoteException
RemoteException
void scheduleCreateBackupAgent(ApplicationInfo app, CompatibilityInfo compatInfo, int backupMode) throws RemoteException
RemoteException
void scheduleDestroyBackupAgent(ApplicationInfo app, CompatibilityInfo compatInfo) throws RemoteException
RemoteException
void scheduleCreateService(IBinder token, ServiceInfo info, CompatibilityInfo compatInfo, int processState) throws RemoteException
RemoteException
void scheduleBindService(IBinder token, Intent intent, boolean rebind, int processState) throws RemoteException
RemoteException
void scheduleUnbindService(IBinder token, Intent intent) throws RemoteException
RemoteException
void scheduleServiceArgs(IBinder token, boolean taskRemoved, int startId, int flags, Intent args) throws RemoteException
RemoteException
void scheduleStopService(IBinder token) throws RemoteException
RemoteException
void bindApplication(String packageName, ApplicationInfo info, List<ProviderInfo> providers, ComponentName testName, ProfilerInfo profilerInfo, Bundle testArguments, IInstrumentationWatcher testWatcher, IUiAutomationConnection uiAutomationConnection, int debugMode, boolean enableBinderTracking, boolean trackAllocation, boolean restrictedBackupMode, boolean persistent, Configuration config, CompatibilityInfo compatInfo, Map<String,IBinder> services, Bundle coreSettings) throws RemoteException
RemoteException
void scheduleExit() throws RemoteException
RemoteException
void scheduleSuicide() throws RemoteException
RemoteException
void scheduleConfigurationChanged(Configuration config) throws RemoteException
RemoteException
void updateTimeZone() throws RemoteException
RemoteException
void clearDnsCache() throws RemoteException
RemoteException
void setHttpProxy(String proxy, String port, String exclList, Uri pacFileUrl) throws RemoteException
RemoteException
void processInBackground() throws RemoteException
RemoteException
void dumpService(FileDescriptor fd, IBinder servicetoken, String[] args) throws RemoteException
RemoteException
void dumpProvider(FileDescriptor fd, IBinder servicetoken, String[] args) throws RemoteException
RemoteException
void scheduleRegisteredReceiver(IIntentReceiver receiver, Intent intent, int resultCode, String data, Bundle extras, boolean ordered, boolean sticky, int sendingUser, int processState) throws RemoteException
RemoteException
void scheduleLowMemory() throws RemoteException
RemoteException
void scheduleActivityConfigurationChanged(IBinder token, Configuration overrideConfig, boolean reportToActivity) throws RemoteException
RemoteException
void profilerControl(boolean start, ProfilerInfo profilerInfo, int profileType) throws RemoteException
RemoteException
void dumpHeap(boolean managed, String path, ParcelFileDescriptor fd) throws RemoteException
RemoteException
void setSchedulingGroup(int group) throws RemoteException
RemoteException
void dispatchPackageBroadcast(int cmd, String[] packages) throws RemoteException
RemoteException
void scheduleCrash(String msg) throws RemoteException
RemoteException
void dumpActivity(FileDescriptor fd, IBinder servicetoken, String prefix, String[] args) throws RemoteException
RemoteException
void setCoreSettings(Bundle coreSettings) throws RemoteException
RemoteException
void updatePackageCompatibilityInfo(String pkg, CompatibilityInfo info) throws RemoteException
RemoteException
void scheduleTrimMemory(int level) throws RemoteException
RemoteException
void dumpMemInfo(FileDescriptor fd, Debug.MemoryInfo mem, boolean checkin, boolean dumpInfo, boolean dumpDalvik, boolean dumpSummaryOnly, boolean dumpUnreachable, String[] args) throws RemoteException
RemoteException
void dumpGfxInfo(FileDescriptor fd, String[] args) throws RemoteException
RemoteException
void dumpDbInfo(FileDescriptor fd, String[] args) throws RemoteException
RemoteException
void unstableProviderDied(IBinder provider) throws RemoteException
RemoteException
void requestAssistContextExtras(IBinder activityToken, IBinder requestToken, int requestType, int sessionId) throws RemoteException
RemoteException
void scheduleTranslucentConversionComplete(IBinder token, boolean timeout) throws RemoteException
RemoteException
void scheduleOnNewActivityOptions(IBinder token, ActivityOptions options) throws RemoteException
RemoteException
void setProcessState(int state) throws RemoteException
RemoteException
void scheduleInstallProvider(ProviderInfo provider) throws RemoteException
RemoteException
void updateTimePrefs(boolean is24Hour) throws RemoteException
RemoteException
void scheduleCancelVisibleBehind(IBinder token) throws RemoteException
RemoteException
void scheduleBackgroundVisibleBehindChanged(IBinder token, boolean enabled) throws RemoteException
RemoteException
void scheduleEnterAnimationComplete(IBinder token) throws RemoteException
RemoteException
void notifyCleartextNetwork(byte[] firstPacket) throws RemoteException
RemoteException
void startBinderTracking() throws RemoteException
RemoteException
void stopBinderTrackingAndDump(FileDescriptor fd) throws RemoteException
RemoteException
void scheduleMultiWindowModeChanged(IBinder token, boolean isInMultiWindowMode) throws RemoteException
RemoteException
void schedulePictureInPictureModeChanged(IBinder token, boolean isInPictureInPictureMode) throws RemoteException
RemoteException
void scheduleLocalVoiceInteractionStarted(IBinder token, IVoiceInteractor voiceInteractor) throws RemoteException
RemoteException