/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 | 1058 switch (options.task)
|
/frameworks/base/services/java/com/android/server/am/ |
H A D | ActivityStack.java | 119 // How long until we reset a task when the user returns to it. Currently 458 * @param taskId If non-zero, we'll attempt to skip over records with the same task ID. 467 if (!r.finishing && (token != r.appToken) && (taskId != r.task.taskId) 499 * Returns the top activity in any existing task matching the given 500 * Intent. Returns null if no such task is found. 514 if (!r.finishing && r.task != cp && r.userId == userId 516 cp = r.task; 517 //Slog.i(TAG, "Comparing existing cls=" + r.task.intent.getComponent().flattenToShortString() 518 // + "/aff=" + r.task.affinity + " to new cls=" 520 if (r.task 2416 findActivityInHistoryLocked(ActivityRecord r, int task) argument 4336 finishTaskMoveLocked(int task) argument 4351 moveTaskToBackLocked(int task, ActivityRecord reason) argument 4550 logStartActivity(int tag, ActivityRecord r, TaskRecord task) argument [all...] |
H A D | ActivityRecord.java | 84 TaskRecord task; // the task this is in. field in class:ActivityRecord 106 boolean frontOfTask; // is this the root activity of its task? 140 pw.print(" task="); pw.println(task); 462 if (task != null) { 463 task.numActivities--; 472 task = newTask; 474 // This is the start of a new sub-task. 486 if (task ! [all...] |
H A D | ActivityManagerService.java | 568 * waiting to receive all of the thumbnails for a task. 719 * in. Incremented each time a new task is created. 2664 final void addRecentTaskLocked(TaskRecord task) { argument 2666 // Quick case: check if the top-most recent task is the same. 2667 if (N > 0 && mRecentTasks.get(0) == task) { 2670 // Remove any existing entries that are the same kind of task. 2673 if (task.userId == tr.userId 2674 && ((task.affinity != null && task.affinity.equals(tr.affinity)) 2675 || (task 5999 moveTaskToFront(int task, int flags, Bundle options) argument 6046 moveTaskToBack(int task) argument 6086 moveTaskBackwards(int task) argument 6101 moveTaskBackwardsLocked(int task) argument [all...] |
/frameworks/base/core/java/android/content/ |
H A D | AsyncTaskLoader.java | 59 // Set to true to indicate that the task has been posted to a handler for 77 // reflect the fact that the task was being canceled. 108 /* Runs on the UI thread, when the waiting task is posted to a handler. 109 * This method is only executed when task execution was deferred (waiting was true). */ 116 /* Used for testing purposes to wait for the task to complete. */ 165 // There was a pending task already waiting for a previous 168 "cancelLoad: still waiting for cancelled task; dropping next"); 176 // There is a task, but it is waiting for the time it should 178 if (DEBUG) Slog.v(TAG, "cancelLoad: task is waiting, dropping it"); 198 * Called if the task wa 230 dispatchOnCancelled(LoadTask task, D data) argument 242 dispatchOnLoadComplete(LoadTask task, D data) argument [all...] |
H A D | ContentProvider.java | 993 AsyncTask<Object, Object, Object> task = new AsyncTask<Object, Object, Object>() { 1005 task.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, (Object[])null);
|
/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/tests/ActivityTests/src/com/google/android/test/activity/ |
H A D | ActivityTestMain.java | 74 final ActivityManager.RecentTaskInfo task, 88 if (task.id >= 0 && thumbs != null) { 90 mAm.removeSubTask(task.id, subIndex+1); 92 mAm.moveTaskToFront(task.id, ActivityManager.MOVE_TASK_WITH_HOME); 95 startActivity(task.baseIntent); 97 Log.w("foo", "Unable to start task: " + e); 106 if (task.id >= 0 && thumbs != null) { 108 mAm.removeTask(task.id, ActivityManager.REMOVE_TASK_KILL_PROCESS); 110 mAm.removeSubTask(task.id, subIndex); 73 addThumbnail(LinearLayout container, Bitmap bm, final ActivityManager.RecentTaskInfo task, final ActivityManager.TaskThumbnails thumbs, final int subIndex) argument
|
/frameworks/base/core/java/android/os/ |
H A D | AsyncTask.java | 46 * <p>An asynchronous task is defined by a computation that runs on a background thread and 47 * whose result is published on the UI thread. An asynchronous task is defined by 3 generic 89 * <p>Once created, a task is executed very simply:</p> 95 * <p>The three types used by an asynchronous task are the following:</p> 97 * <li><code>Params</code>, the type of the parameters sent to the task upon 104 * <p>Not all types are always used by an asynchronous task. To mark a type as unused, 111 * <p>When an asynchronous task is executed, the task goes through 4 steps:</p> 113 * <li>{@link #onPreExecute()}, invoked on the UI thread before the task 114 * is executed. This step is normally used to setup the task, fo 662 AsyncTaskResult(AsyncTask task, Data... data) argument [all...] |
H A D | Handler.java | 415 * Runs the specified task synchronously. 426 * must synchronously await completion of a task that must run on the 738 public BlockingRunnable(Runnable task) { argument 739 mTask = task;
|
/frameworks/base/voip/java/com/android/server/sip/ |
H A D | SipService.java | 1179 public void execute(Runnable task) { argument 1180 mMyWakeLock.acquire(task); 1181 Message.obtain(this, 0/* don't care */, task).sendToTarget(); 1193 private void executeInternal(Runnable task) { argument 1195 task.run(); 1197 Log.e(TAG, "run task: " + task, t); 1199 mMyWakeLock.release(task);
|
/frameworks/base/core/java/android/accounts/ |
H A D | AccountManager.java | 1838 final GetAuthTokenByTypeAndFeaturesTask task = 1841 task.start(); 1842 return task;
|
/frameworks/base/core/java/android/app/ |
H A D | IActivityManager.java | 111 public void moveTaskToFront(int task, int flags, Bundle options) throws RemoteException; argument 112 public void moveTaskToBack(int task) throws RemoteException; argument 114 public void moveTaskBackwards(int task) throws RemoteException; argument
|
H A D | ActivityManagerNative.java | 573 int task = data.readInt(); 577 moveTaskToFront(task, fl, options); 584 int task = data.readInt(); 585 moveTaskToBack(task); 602 int task = data.readInt(); 603 moveTaskBackwards(task); 2448 public void moveTaskToFront(int task, int flags, Bundle options) throws RemoteException argument 2453 data.writeInt(task); 2466 public void moveTaskToBack(int task) throws RemoteException argument 2471 data.writeInt(task); 2491 moveTaskBackwards(int task) argument [all...] |
/frameworks/base/services/java/com/android/server/ |
H A D | BackupManagerService.java | 173 // backup task state machine tick 505 // file identity is being passed to the backup processing task. 527 BackupRestoreTask task = (BackupRestoreTask) msg.obj; 528 if (MORE_DEBUG) Slog.v(TAG, "Got next step for " + task + ", executing"); 529 task.execute(); 531 Slog.e(TAG, "Invalid backup task in flight, obj=" + msg.obj); 539 BackupRestoreTask task = (BackupRestoreTask) msg.obj; 540 task.operationComplete(); 552 PerformFullBackupTask task = new PerformFullBackupTask(params.fd, 556 (new Thread(task)) [all...] |
/frameworks/base/media/jni/mediaeditor/ |
H A D | VideoEditorMain.cpp | 134 int task, 1438 pContext->onProgressUpdateMethodId, 1/*task status*/, 1452 pContext->onProgressUpdateMethodId, 1/*task status*/, 1461 pContext->onProgressUpdateMethodId, 0/*task status*/, 2465 int task, 2477 videoEditJava_getEngineCToJava(task), progress); 2815 // Check if a task is being performed. 2463 videoEditor_callOnProgressUpdate( ManualEditContext* pContext, int task, int progress) argument
|
/frameworks/base/core/java/android/webkit/ |
H A D | WebViewClassic.java | 1617 AsyncTask<Void, Void, Set<String>> task = new AsyncTask<Void, Void, Set<String>>() { 1643 task.execute();
|