/frameworks/base/tools/aidl/ |
H A D | options.h | 18 int task; member in struct:Options
|
H A D | options.cpp | 47 options->task = PREPROCESS_AIDL; 51 options->task = COMPILE_AIDL;
|
H A D | aidl.cpp | 988 switch (options.task)
|
/frameworks/base/core/java/android/content/ |
H A D | AsyncTaskLoader.java | 134 * Attempt to cancel the current load task. See {@link AsyncTask#cancel(boolean)} 144 * @return Returns <tt>false</tt> if the task could not be cancelled, 153 // There was a pending task already waiting for a previous 156 "cancelLoad: still waiting for cancelled task; dropping next"); 164 // There is a task, but it is waiting for the time it should 166 if (DEBUG) Slog.v(TAG, "cancelLoad: task is waiting, dropping it"); 185 * Called if the task was canceled before it was completed. Gives the class a chance 214 void dispatchOnCancelled(LoadTask task, D data) { argument 216 if (mCancellingTask == task) { 217 if (DEBUG) Slog.v(TAG, "Cancelled task i 224 dispatchOnLoadComplete(LoadTask task, D data) argument [all...] |
H A D | ContentProvider.java | 879 AsyncTask<Object, Object, Object> task = new AsyncTask<Object, Object, Object>() { 891 task.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, (Object[])null);
|
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/ |
H A D | ActivityTestMain.java | 50 final ActivityManager.RecentTaskInfo task, 64 if (task.id >= 0 && thumbs != null) { 66 mAm.removeSubTask(task.id, subIndex+1); 68 mAm.moveTaskToFront(task.id, ActivityManager.MOVE_TASK_WITH_HOME); 71 startActivity(task.baseIntent); 73 Log.w("foo", "Unable to start task: " + e); 82 if (task.id >= 0 && thumbs != null) { 84 mAm.removeTask(task.id, ActivityManager.REMOVE_TASK_KILL_PROCESS); 86 mAm.removeSubTask(task.id, subIndex); 49 addThumbnail(LinearLayout container, Bitmap bm, final ActivityManager.RecentTaskInfo task, final ActivityManager.TaskThumbnails thumbs, final int subIndex) argument
|
/frameworks/support/v4/java/android/support/v4/content/ |
H A D | AsyncTaskLoader.java | 119 * Attempt to cancel the current load task. See {@link android.os.AsyncTask#cancel(boolean)} 129 * @return Returns <tt>false</tt> if the task could not be cancelled, 138 // There was a pending task already waiting for a previous 141 "cancelLoad: still waiting for cancelled task; dropping next"); 149 // There is a task, but it is waiting for the time it should 151 if (DEBUG) Log.v(TAG, "cancelLoad: task is waiting, dropping it"); 170 * Called if the task was canceled before it was completed. Gives the class a chance 199 void dispatchOnCancelled(LoadTask task, D data) { argument 201 if (mCancellingTask == task) { 202 if (DEBUG) Log.v(TAG, "Cancelled task i 209 dispatchOnLoadComplete(LoadTask task, D data) argument [all...] |
H A D | ModernAsyncTask.java | 86 * Indicates the current status of the task. Each status will be set only once 87 * during the lifetime of a task. 91 * Indicates that the task has not been executed yet. 95 * Indicates that the task is running. 115 * Creates a new asynchronous task. This constructor must be invoked on the UI thread. 164 * Returns the current status of this task. 175 * by the caller of this task. 180 * @param params The parameters of the task. 182 * @return A result, defined by the subclass of this task. 203 * <p>This method won't be invoked if the task wa 492 AsyncTaskResult(ModernAsyncTask task, Data... data) argument [all...] |
/frameworks/base/services/java/com/android/server/am/ |
H A D | ActivityStack.java | 114 // How long until we reset a task when the user returns to it. Currently 396 * @param taskId If non-zero, we'll attempt to skip over records with the same task ID. 405 if (!r.finishing && (token != r.appToken) && (taskId != r.task.taskId)) { 436 * Returns the top activity in any existing task matching the given 437 * Intent. Returns null if no such task is found. 450 if (!r.finishing && r.task != cp 452 cp = r.task; 453 //Slog.i(TAG, "Comparing existing cls=" + r.task.intent.getComponent().flattenToShortString() 454 // + "/aff=" + r.task.affinity + " to new cls=" 456 if (r.task 2186 findActivityInHistoryLocked(ActivityRecord r, int task) argument 3867 finishTaskMoveLocked(int task) argument 3882 moveTaskToBackLocked(int task, ActivityRecord reason) argument 4059 logStartActivity(int tag, ActivityRecord r, TaskRecord task) argument [all...] |
H A D | ActivityRecord.java | 79 TaskRecord task; // the task this is in. field in class:ActivityRecord 98 boolean frontOfTask; // is this the root activity of its task? 130 pw.print(" task="); pw.println(task); 411 if (task != null) { 412 task.numActivities--; 421 task = newTask; 423 // This is the start of a new sub-task. 435 if (task ! [all...] |
H A D | ActivityManagerService.java | 564 * waiting to receive all of the thumbnails for a task. 720 * in. Incremented each time a new task is created. 2421 final void addRecentTaskLocked(TaskRecord task) { argument 2423 // Quick case: check if the top-most recent task is the same. 2424 if (N > 0 && mRecentTasks.get(0) == task) { 2427 // Remove any existing entries that are the same kind of task. 2430 if ((task.affinity != null && task.affinity.equals(tr.affinity)) 2431 || (task.intent != null && task 5464 moveTaskToFront(int task, int flags) argument 5509 moveTaskToBack(int task) argument 5548 moveTaskBackwards(int task) argument 5563 moveTaskBackwardsLocked(int task) argument [all...] |
/frameworks/base/core/java/android/os/ |
H A D | AsyncTask.java | 39 * <p>An asynchronous task is defined by a computation that runs on a background thread and 40 * whose result is published on the UI thread. An asynchronous task is defined by 3 generic 80 * <p>Once created, a task is executed very simply:</p> 86 * <p>The three types used by an asynchronous task are the following:</p> 88 * <li><code>Params</code>, the type of the parameters sent to the task upon 95 * <p>Not all types are always used by an asynchronous task. To mark a type as unused, 102 * <p>When an asynchronous task is executed, the task goes through 4 steps:</p> 104 * <li>{@link #onPreExecute()}, invoked on the UI thread immediately after the task 105 * is executed. This step is normally used to setup the task, fo 633 AsyncTaskResult(AsyncTask task, Data... data) argument [all...] |
/frameworks/base/voip/java/com/android/server/sip/ |
H A D | SipService.java | 1222 public void execute(Runnable task) { argument 1223 mMyWakeLock.acquire(task); 1224 Message.obtain(this, 0/* don't care */, task).sendToTarget(); 1236 private void executeInternal(Runnable task) { argument 1238 task.run(); 1240 Log.e(TAG, "run task: " + task, t); 1242 mMyWakeLock.release(task);
|
/frameworks/base/core/java/android/accounts/ |
H A D | AccountManager.java | 1767 final GetAuthTokenByTypeAndFeaturesTask task = 1770 task.start(); 1771 return task;
|
/frameworks/base/core/java/android/app/ |
H A D | IActivityManager.java | 66 * a task was simply brought to the foreground. 143 public void moveTaskToFront(int task, int flags) throws RemoteException; argument 144 public void moveTaskToBack(int task) throws RemoteException; argument 146 public void moveTaskBackwards(int task) throws RemoteException; argument
|
H A D | ActivityManagerNative.java | 511 int task = data.readInt(); 513 moveTaskToFront(task, fl); 520 int task = data.readInt(); 521 moveTaskToBack(task); 538 int task = data.readInt(); 539 moveTaskBackwards(task); 2099 public void moveTaskToFront(int task, int flags) throws RemoteException argument 2104 data.writeInt(task); 2111 public void moveTaskToBack(int task) throws RemoteException argument 2116 data.writeInt(task); 2136 moveTaskBackwards(int task) argument [all...] |
/frameworks/base/services/java/com/android/server/ |
H A D | BackupManagerService.java | 168 // backup task state machine tick 468 // file identity is being passed to the backup processing task. 490 BackupRestoreTask task = (BackupRestoreTask) msg.obj; 491 if (MORE_DEBUG) Slog.v(TAG, "Got next step for " + task + ", executing"); 492 task.execute(); 494 Slog.e(TAG, "Invalid backup task in flight, obj=" + msg.obj); 502 BackupRestoreTask task = (BackupRestoreTask) msg.obj; 503 task.operationComplete(); 515 PerformFullBackupTask task = new PerformFullBackupTask(params.fd, 519 (new Thread(task)) [all...] |
/frameworks/base/media/jni/mediaeditor/ |
H A D | VideoEditorMain.cpp | 135 int task, 1436 pContext->onProgressUpdateMethodId, 1/*task status*/, 1450 pContext->onProgressUpdateMethodId, 1/*task status*/, 1459 pContext->onProgressUpdateMethodId, 0/*task status*/, 2461 int task, 2473 videoEditJava_getEngineCToJava(task), progress); 2806 // Check if a task is being performed. 2459 videoEditor_callOnProgressUpdate( ManualEditContext* pContext, int task, int progress) argument
|
/frameworks/base/core/java/android/webkit/ |
H A D | WebView.java | 1227 AsyncTask<Void, Void, Set<String>> task = new AsyncTask<Void, Void, Set<String>>() { 1253 task.execute();
|