blob: b1b52824bfaeb58d01683cb94a6dd4902eb7c09b [file] [log] [blame]
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08001/*
2 * Copyright (C) 2006 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17package android.app;
18
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080019import android.content.ComponentName;
20import android.content.ContentProviderNative;
21import android.content.IContentProvider;
22import android.content.Intent;
23import android.content.IntentFilter;
Suchi Amalapurapu1ccac752009-06-12 10:09:58 -070024import android.content.IIntentSender;
25import android.content.IIntentReceiver;
Christopher Tate181fafa2009-05-14 11:12:14 -070026import android.content.pm.ApplicationInfo;
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080027import android.content.pm.ConfigurationInfo;
28import android.content.pm.IPackageDataObserver;
29import android.content.pm.ProviderInfo;
30import android.content.res.Configuration;
31import android.graphics.Bitmap;
32import android.net.Uri;
33import android.os.RemoteException;
34import android.os.IBinder;
35import android.os.IInterface;
36import android.os.Parcel;
37import android.os.Parcelable;
38import android.os.ParcelFileDescriptor;
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080039import android.os.Bundle;
40
41import java.util.List;
42
43/**
44 * System private API for talking with the activity manager service. This
45 * provides calls from the application back to the activity manager.
46 *
47 * {@hide}
48 */
49public interface IActivityManager extends IInterface {
Dianne Hackborn95fc68f2009-05-19 18:37:45 -070050 /**
51 * Returned by startActivity() if the start request was canceled because
52 * app switches are temporarily canceled to ensure the user's last request
53 * (such as pressing home) is performed.
54 */
55 public static final int START_SWITCHES_CANCELED = 4;
56 /**
57 * Returned by startActivity() if an activity wasn't really started, but
58 * the given Intent was given to the existing top activity.
59 */
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080060 public static final int START_DELIVERED_TO_TOP = 3;
Dianne Hackborn95fc68f2009-05-19 18:37:45 -070061 /**
62 * Returned by startActivity() if an activity wasn't really started, but
63 * a task was simply brought to the foreground.
64 */
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080065 public static final int START_TASK_TO_FRONT = 2;
Dianne Hackborn95fc68f2009-05-19 18:37:45 -070066 /**
67 * Returned by startActivity() if the caller asked that the Intent not
68 * be executed if it is the recipient, and that is indeed the case.
69 */
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080070 public static final int START_RETURN_INTENT_TO_CALLER = 1;
Dianne Hackborn95fc68f2009-05-19 18:37:45 -070071 /**
72 * Activity was started successfully as normal.
73 */
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080074 public static final int START_SUCCESS = 0;
75 public static final int START_INTENT_NOT_RESOLVED = -1;
76 public static final int START_CLASS_NOT_FOUND = -2;
77 public static final int START_FORWARD_AND_REQUEST_CONFLICT = -3;
78 public static final int START_PERMISSION_DENIED = -4;
79 public int startActivity(IApplicationThread caller,
80 Intent intent, String resolvedType, Uri[] grantedUriPermissions,
81 int grantedMode, IBinder resultTo, String resultWho, int requestCode,
82 boolean onlyIfNeeded, boolean debug) throws RemoteException;
83 public boolean startNextMatchingActivity(IBinder callingActivity,
84 Intent intent) throws RemoteException;
85 public boolean finishActivity(IBinder token, int code, Intent data)
86 throws RemoteException;
87 public void finishSubActivity(IBinder token, String resultWho, int requestCode) throws RemoteException;
88 public Intent registerReceiver(IApplicationThread caller,
89 IIntentReceiver receiver, IntentFilter filter,
90 String requiredPermission) throws RemoteException;
91 public void unregisterReceiver(IIntentReceiver receiver) throws RemoteException;
92 public static final int BROADCAST_SUCCESS = 0;
93 public static final int BROADCAST_STICKY_CANT_HAVE_PERMISSION = -1;
94 public int broadcastIntent(IApplicationThread caller, Intent intent,
95 String resolvedType, IIntentReceiver resultTo, int resultCode,
96 String resultData, Bundle map, String requiredPermission,
97 boolean serialized, boolean sticky) throws RemoteException;
98 public void unbroadcastIntent(IApplicationThread caller, Intent intent) throws RemoteException;
99 /* oneway */
100 public void finishReceiver(IBinder who, int resultCode, String resultData, Bundle map, boolean abortBroadcast) throws RemoteException;
101 public void setPersistent(IBinder token, boolean isPersistent) throws RemoteException;
102 public void attachApplication(IApplicationThread app) throws RemoteException;
103 /* oneway */
104 public void activityIdle(IBinder token) throws RemoteException;
105 public void activityPaused(IBinder token, Bundle state) throws RemoteException;
106 /* oneway */
107 public void activityStopped(IBinder token,
108 Bitmap thumbnail, CharSequence description) throws RemoteException;
109 /* oneway */
110 public void activityDestroyed(IBinder token) throws RemoteException;
111 public String getCallingPackage(IBinder token) throws RemoteException;
112 public ComponentName getCallingActivity(IBinder token) throws RemoteException;
113 public List getTasks(int maxNum, int flags,
114 IThumbnailReceiver receiver) throws RemoteException;
115 public List<ActivityManager.RecentTaskInfo> getRecentTasks(int maxNum,
116 int flags) throws RemoteException;
117 public List getServices(int maxNum, int flags) throws RemoteException;
118 public List<ActivityManager.ProcessErrorStateInfo> getProcessesInErrorState()
119 throws RemoteException;
120 public void moveTaskToFront(int task) throws RemoteException;
121 public void moveTaskToBack(int task) throws RemoteException;
122 public boolean moveActivityTaskToBack(IBinder token, boolean nonRoot) throws RemoteException;
123 public void moveTaskBackwards(int task) throws RemoteException;
124 public int getTaskForActivity(IBinder token, boolean onlyRoot) throws RemoteException;
125 public void finishOtherInstances(IBinder token, ComponentName className) throws RemoteException;
126 /* oneway */
127 public void reportThumbnail(IBinder token,
128 Bitmap thumbnail, CharSequence description) throws RemoteException;
129 public ContentProviderHolder getContentProvider(IApplicationThread caller,
130 String name) throws RemoteException;
131 public void removeContentProvider(IApplicationThread caller,
132 String name) throws RemoteException;
133 public void publishContentProviders(IApplicationThread caller,
134 List<ContentProviderHolder> providers) throws RemoteException;
135 public ComponentName startService(IApplicationThread caller, Intent service,
136 String resolvedType) throws RemoteException;
137 public int stopService(IApplicationThread caller, Intent service,
138 String resolvedType) throws RemoteException;
139 public boolean stopServiceToken(ComponentName className, IBinder token,
140 int startId) throws RemoteException;
141 public void setServiceForeground(ComponentName className, IBinder token,
142 boolean isForeground) throws RemoteException;
143 public int bindService(IApplicationThread caller, IBinder token,
144 Intent service, String resolvedType,
145 IServiceConnection connection, int flags) throws RemoteException;
146 public boolean unbindService(IServiceConnection connection) throws RemoteException;
147 public void publishService(IBinder token,
148 Intent intent, IBinder service) throws RemoteException;
149 public void unbindFinished(IBinder token, Intent service,
150 boolean doRebind) throws RemoteException;
151 /* oneway */
152 public void serviceDoneExecuting(IBinder token) throws RemoteException;
153 public IBinder peekService(Intent service, String resolvedType) throws RemoteException;
154
Christopher Tate181fafa2009-05-14 11:12:14 -0700155 public boolean bindBackupAgent(ApplicationInfo appInfo, int backupRestoreMode)
156 throws RemoteException;
157 public void backupAgentCreated(String packageName, IBinder agent) throws RemoteException;
158 public void unbindBackupAgent(ApplicationInfo appInfo) throws RemoteException;
159
The Android Open Source Project9066cfe2009-03-03 19:31:44 -0800160 public boolean startInstrumentation(ComponentName className, String profileFile,
161 int flags, Bundle arguments, IInstrumentationWatcher watcher)
162 throws RemoteException;
163 public void finishInstrumentation(IApplicationThread target,
164 int resultCode, Bundle results) throws RemoteException;
165
166 public Configuration getConfiguration() throws RemoteException;
167 public void updateConfiguration(Configuration values) throws RemoteException;
168 public void setRequestedOrientation(IBinder token,
169 int requestedOrientation) throws RemoteException;
170 public int getRequestedOrientation(IBinder token) throws RemoteException;
171
172 public ComponentName getActivityClassForToken(IBinder token) throws RemoteException;
173 public String getPackageForToken(IBinder token) throws RemoteException;
174
175 public static final int INTENT_SENDER_BROADCAST = 1;
176 public static final int INTENT_SENDER_ACTIVITY = 2;
177 public static final int INTENT_SENDER_ACTIVITY_RESULT = 3;
178 public static final int INTENT_SENDER_SERVICE = 4;
179 public IIntentSender getIntentSender(int type,
180 String packageName, IBinder token, String resultWho,
181 int requestCode, Intent intent, String resolvedType, int flags) throws RemoteException;
182 public void cancelIntentSender(IIntentSender sender) throws RemoteException;
183 public boolean clearApplicationUserData(final String packageName,
184 final IPackageDataObserver observer) throws RemoteException;
185 public String getPackageForIntentSender(IIntentSender sender) throws RemoteException;
186
187 public void setProcessLimit(int max) throws RemoteException;
188 public int getProcessLimit() throws RemoteException;
189
190 public void setProcessForeground(IBinder token, int pid, boolean isForeground) throws RemoteException;
191
192 public int checkPermission(String permission, int pid, int uid)
193 throws RemoteException;
194
195 public int checkUriPermission(Uri uri, int pid, int uid, int mode)
196 throws RemoteException;
197 public void grantUriPermission(IApplicationThread caller, String targetPkg,
198 Uri uri, int mode) throws RemoteException;
199 public void revokeUriPermission(IApplicationThread caller, Uri uri,
200 int mode) throws RemoteException;
201
202 public void showWaitingForDebugger(IApplicationThread who, boolean waiting)
203 throws RemoteException;
204
205 public void getMemoryInfo(ActivityManager.MemoryInfo outInfo) throws RemoteException;
206
207 public void restartPackage(final String packageName) throws RemoteException;
208
209 // Note: probably don't want to allow applications access to these.
210 public void goingToSleep() throws RemoteException;
211 public void wakingUp() throws RemoteException;
212
213 public void unhandledBack() throws RemoteException;
214 public ParcelFileDescriptor openContentUri(Uri uri) throws RemoteException;
215 public void setDebugApp(
216 String packageName, boolean waitForDebugger, boolean persistent)
217 throws RemoteException;
218 public void setAlwaysFinish(boolean enabled) throws RemoteException;
Dianne Hackbornb06ea702009-07-13 13:07:51 -0700219 public void setActivityController(IActivityController watcher)
The Android Open Source Project9066cfe2009-03-03 19:31:44 -0800220 throws RemoteException;
221
222 public void enterSafeMode() throws RemoteException;
223
224 public void noteWakeupAlarm(IIntentSender sender) throws RemoteException;
225
226 public boolean killPidsForMemory(int[] pids) throws RemoteException;
227
228 public void reportPss(IApplicationThread caller, int pss) throws RemoteException;
229
230 // Special low-level communication with activity manager.
231 public void startRunning(String pkg, String cls, String action,
232 String data) throws RemoteException;
233 public void systemReady() throws RemoteException;
234 // Returns 1 if the user wants to debug.
235 public int handleApplicationError(IBinder app,
236 int flags, /* 1 == can debug */
237 String tag, String shortMsg, String longMsg,
238 byte[] crashData) throws RemoteException;
239
240 /*
241 * This will deliver the specified signal to all the persistent processes. Currently only
242 * SIGUSR1 is delivered. All others are ignored.
243 */
244 public void signalPersistentProcesses(int signal) throws RemoteException;
245 // Retrieve running application processes in the system
246 public List<ActivityManager.RunningAppProcessInfo> getRunningAppProcesses()
247 throws RemoteException;
248 // Get device configuration
249 public ConfigurationInfo getDeviceConfigurationInfo() throws RemoteException;
250
The Android Open Source Projectf5b4b982009-03-05 20:00:43 -0800251 // Turn on/off profiling in a particular process.
252 public boolean profileControl(String process, boolean start,
Dianne Hackborn9c8dd552009-06-23 19:22:52 -0700253 String path, ParcelFileDescriptor fd) throws RemoteException;
The Android Open Source Projectf5b4b982009-03-05 20:00:43 -0800254
Dianne Hackborn55280a92009-05-07 15:53:46 -0700255 public boolean shutdown(int timeout) throws RemoteException;
256
Dianne Hackborn95fc68f2009-05-19 18:37:45 -0700257 public void stopAppSwitches() throws RemoteException;
258 public void resumeAppSwitches() throws RemoteException;
259
Dianne Hackbornb06ea702009-07-13 13:07:51 -0700260 public void registerActivityWatcher(IActivityWatcher watcher)
261 throws RemoteException;
262 public void unregisterActivityWatcher(IActivityWatcher watcher)
263 throws RemoteException;
264
Dianne Hackborn2d91af02009-07-16 13:34:33 -0700265 public int startActivityInPackage(int uid,
266 Intent intent, String resolvedType, IBinder resultTo,
267 String resultWho, int requestCode, boolean onlyIfNeeded)
268 throws RemoteException;
Suchi Amalapurapu261e66a2009-07-27 15:21:34 -0700269
270 public void killApplicationWithUid(String pkg, int uid) throws RemoteException;
Dianne Hackborn2d91af02009-07-16 13:34:33 -0700271
The Android Open Source Project9066cfe2009-03-03 19:31:44 -0800272 /*
273 * Private non-Binder interfaces
274 */
275 /* package */ boolean testIsSystemReady();
276
277 /** Information you can retrieve about a particular application. */
278 public static class ContentProviderHolder implements Parcelable {
279 public final ProviderInfo info;
280 public final String permissionFailure;
281 public IContentProvider provider;
282 public boolean noReleaseNeeded;
283
284 public ContentProviderHolder(ProviderInfo _info) {
285 info = _info;
286 permissionFailure = null;
287 }
288
289 public ContentProviderHolder(ProviderInfo _info,
290 String _permissionFailure) {
291 info = _info;
292 permissionFailure = _permissionFailure;
293 }
294
295 public int describeContents() {
296 return 0;
297 }
298
299 public void writeToParcel(Parcel dest, int flags) {
300 info.writeToParcel(dest, 0);
301 dest.writeString(permissionFailure);
302 if (provider != null) {
303 dest.writeStrongBinder(provider.asBinder());
304 } else {
305 dest.writeStrongBinder(null);
306 }
307 dest.writeInt(noReleaseNeeded ? 1:0);
308 }
309
310 public static final Parcelable.Creator<ContentProviderHolder> CREATOR
311 = new Parcelable.Creator<ContentProviderHolder>() {
312 public ContentProviderHolder createFromParcel(Parcel source) {
313 return new ContentProviderHolder(source);
314 }
315
316 public ContentProviderHolder[] newArray(int size) {
317 return new ContentProviderHolder[size];
318 }
319 };
320
321 private ContentProviderHolder(Parcel source) {
322 info = ProviderInfo.CREATOR.createFromParcel(source);
323 permissionFailure = source.readString();
324 provider = ContentProviderNative.asInterface(
325 source.readStrongBinder());
326 noReleaseNeeded = source.readInt() != 0;
327 }
328 };
329
330 String descriptor = "android.app.IActivityManager";
331
332 // Please keep these transaction codes the same -- they are also
333 // sent by C++ code.
334 int START_RUNNING_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION;
335 int HANDLE_APPLICATION_ERROR_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+1;
336 int START_ACTIVITY_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+2;
337 int UNHANDLED_BACK_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+3;
338 int OPEN_CONTENT_URI_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+4;
339
340 // Remaining non-native transaction codes.
341 int FINISH_ACTIVITY_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+10;
342 int REGISTER_RECEIVER_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+11;
343 int UNREGISTER_RECEIVER_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+12;
344 int BROADCAST_INTENT_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+13;
345 int UNBROADCAST_INTENT_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+14;
346 int FINISH_RECEIVER_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+15;
347 int ATTACH_APPLICATION_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+16;
348 int ACTIVITY_IDLE_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+17;
349 int ACTIVITY_PAUSED_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+18;
350 int ACTIVITY_STOPPED_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+19;
351 int GET_CALLING_PACKAGE_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+20;
352 int GET_CALLING_ACTIVITY_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+21;
353 int GET_TASKS_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+22;
354 int MOVE_TASK_TO_FRONT_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+23;
355 int MOVE_TASK_TO_BACK_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+24;
356 int MOVE_TASK_BACKWARDS_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+25;
357 int GET_TASK_FOR_ACTIVITY_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+26;
358 int REPORT_THUMBNAIL_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+27;
359 int GET_CONTENT_PROVIDER_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+28;
360 int PUBLISH_CONTENT_PROVIDERS_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+29;
361 int SET_PERSISTENT_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+30;
362 int FINISH_SUB_ACTIVITY_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+31;
363 int SYSTEM_READY_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+32;
364 int START_SERVICE_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+33;
365 int STOP_SERVICE_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+34;
366 int BIND_SERVICE_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+35;
367 int UNBIND_SERVICE_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+36;
368 int PUBLISH_SERVICE_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+37;
369 int FINISH_OTHER_INSTANCES_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+38;
370 int GOING_TO_SLEEP_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+39;
371 int WAKING_UP_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+40;
372 int SET_DEBUG_APP_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+41;
373 int SET_ALWAYS_FINISH_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+42;
374 int START_INSTRUMENTATION_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+43;
375 int FINISH_INSTRUMENTATION_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+44;
376 int GET_CONFIGURATION_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+45;
377 int UPDATE_CONFIGURATION_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+46;
378 int STOP_SERVICE_TOKEN_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+47;
379 int GET_ACTIVITY_CLASS_FOR_TOKEN_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+48;
380 int GET_PACKAGE_FOR_TOKEN_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+49;
381 int SET_PROCESS_LIMIT_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+50;
382 int GET_PROCESS_LIMIT_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+51;
383 int CHECK_PERMISSION_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+52;
384 int CHECK_URI_PERMISSION_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+53;
385 int GRANT_URI_PERMISSION_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+54;
386 int REVOKE_URI_PERMISSION_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+55;
Dianne Hackbornb06ea702009-07-13 13:07:51 -0700387 int SET_ACTIVITY_CONTROLLER_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+56;
The Android Open Source Project9066cfe2009-03-03 19:31:44 -0800388 int SHOW_WAITING_FOR_DEBUGGER_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+57;
389 int SIGNAL_PERSISTENT_PROCESSES_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+58;
390 int GET_RECENT_TASKS_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+59;
391 int SERVICE_DONE_EXECUTING_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+60;
392 int ACTIVITY_DESTROYED_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+61;
393 int GET_INTENT_SENDER_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+62;
394 int CANCEL_INTENT_SENDER_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+63;
395 int GET_PACKAGE_FOR_INTENT_SENDER_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+64;
396 int ENTER_SAFE_MODE_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+65;
397 int START_NEXT_MATCHING_ACTIVITY_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+66;
398 int NOTE_WAKEUP_ALARM_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+67;
399 int REMOVE_CONTENT_PROVIDER_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+68;
400 int SET_REQUESTED_ORIENTATION_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+69;
401 int GET_REQUESTED_ORIENTATION_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+70;
402 int UNBIND_FINISHED_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+71;
403 int SET_PROCESS_FOREGROUND_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+72;
404 int SET_SERVICE_FOREGROUND_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+73;
405 int MOVE_ACTIVITY_TASK_TO_BACK_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+74;
406 int GET_MEMORY_INFO_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+75;
407 int GET_PROCESSES_IN_ERROR_STATE_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+76;
408 int CLEAR_APP_DATA_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+77;
409 int RESTART_PACKAGE_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+78;
410 int KILL_PIDS_FOR_MEMORY_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+79;
411 int GET_SERVICES_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+80;
412 int REPORT_PSS_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+81;
413 int GET_RUNNING_APP_PROCESSES_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+82;
414 int GET_DEVICE_CONFIGURATION_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+83;
415 int PEEK_SERVICE_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+84;
The Android Open Source Projectf5b4b982009-03-05 20:00:43 -0800416 int PROFILE_CONTROL_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+85;
Dianne Hackborn55280a92009-05-07 15:53:46 -0700417 int SHUTDOWN_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+86;
Dianne Hackborn95fc68f2009-05-19 18:37:45 -0700418 int STOP_APP_SWITCHES_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+87;
419 int RESUME_APP_SWITCHES_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+88;
Christopher Tate181fafa2009-05-14 11:12:14 -0700420 int START_BACKUP_AGENT_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+89;
421 int BACKUP_AGENT_CREATED_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+90;
422 int UNBIND_BACKUP_AGENT_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+91;
Dianne Hackbornb06ea702009-07-13 13:07:51 -0700423 int REGISTER_ACTIVITY_WATCHER_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+92;
424 int UNREGISTER_ACTIVITY_WATCHER_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+93;
Dianne Hackborn2d91af02009-07-16 13:34:33 -0700425 int START_ACTIVITY_IN_PACKAGE_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+94;
Suchi Amalapurapu261e66a2009-07-27 15:21:34 -0700426 int KILL_APPLICATION_WITH_UID_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+95;
The Android Open Source Project9066cfe2009-03-03 19:31:44 -0800427}