/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | TaskGroup.java | 24 public int taskId = -1; field in class:TaskGroup 29 return "id=" + taskId + " tokens=" + tokens;
|
H A D | Task.java | 34 Task(int taskId, TaskStack stack, int userId, WindowManagerService service) { argument 35 mTaskId = taskId; 64 if (DEBUG_STACK) Slog.i(TAG, "removeTask: deferring removing taskId=" + mTaskId); 68 if (DEBUG_STACK) Slog.i(TAG, "removeTask: removing taskId=" + mTaskId); 79 if (DEBUG_STACK) Slog.i(TAG, "moveTaskToStack: removing taskId=" + mTaskId 117 return "{taskId=" + mTaskId + " appTokens=" + mAppTokens + " mdr=" + mDeferRemoval + "}";
|
H A D | WindowManagerService.java | 3536 int taskId = task.taskId; 3537 Task targetTask = mTaskIdToTask.get(taskId); 3540 Slog.w(TAG, "validateAppTokens: no Display for taskId=" + taskId); 3552 displayContent = mTaskIdToTask.get(taskId).getDisplayContent(); 3707 private Task createTaskLocked(int taskId, int stackId, int userId, AppWindowToken atoken) { argument 3708 if (DEBUG_STACK) Slog.i(TAG, "createTaskLocked: taskId=" + taskId + " stackId=" + stackId 3714 EventLog.writeEvent(EventLogTags.WM_TASK_CREATED, taskId, stackI 3722 addAppToken(int addPos, IApplicationToken token, int taskId, int stackId, int requestedOrientation, boolean fullscreen, boolean showForAllUsers, int userId, int configChanges, boolean voiceInteraction, boolean launchTaskBehind) argument 3778 setAppTask(IBinder token, int taskId) argument 5097 moveTaskToTop(int taskId) argument 5128 moveTaskToBottom(int taskId) argument 5208 removeTask(int taskId) argument 5219 addTask(int taskId, int stackId, boolean toTop) argument 5236 moveTaskToStack(int taskId, int stackId, boolean toTop) argument [all...] |
/frameworks/base/core/java/android/service/voice/ |
H A D | IVoiceInteractionSession.aidl | 35 void taskStarted(in Intent intent, int taskId); 36 void taskFinished(in Intent intent, int taskId);
|
H A D | VoiceInteractionSession.java | 255 public void taskStarted(Intent intent, int taskId) { 257 taskId, intent)); 261 public void taskFinished(Intent intent, int taskId) { 263 taskId, intent)); 806 + " taskId=" + msg.arg1); 811 + " taskId=" + msg.arg1); 1437 * @param taskId Unique ID of the now running task. 1439 public void onTaskStarted(Intent intent, int taskId) { argument 1451 * @param taskId Unique ID of the finished task. 1453 public void onTaskFinished(Intent intent, int taskId) { argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/ |
H A D | KeyStoreLruCache.java | 40 protected void entryRemoved(boolean evicted, Integer taskId, V oldV, V newV) { 41 mTaskKeys.remove(taskId);
|
H A D | TaskStack.java | 321 public Task findTaskWithId(int taskId) { argument 326 if (task.key.id == taskId) {
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | TaskPersister.java | 152 final String taskString = Integer.toString(task.taskId); 319 private TaskRecord taskIdToTask(int taskId, ArrayList<TaskRecord> tasks) { argument 320 if (taskId < 0) { 325 if (task.taskId == taskId) { 329 Slog.e(TAG, "Restore affiliation error looking for taskId=" + taskId); 371 final int taskId = task.taskId; 372 recoveredTaskIds.add(taskId); [all...] |
H A D | TaskRecord.java | 102 final int taskId; // Unique identifier for this task. field in class:TaskRecord 189 int mAffiliatedTaskId; // taskId of parent affiliation or self if no parent. 208 taskId = _taskId; 225 taskId = _taskId; 260 taskId = _taskId; 407 mPrevAffiliateTaskId = prevAffiliate == null ? INVALID_TASK_ID : prevAffiliate.taskId; 412 mNextAffiliateTaskId = nextAffiliate == null ? INVALID_TASK_ID : nextAffiliate.taskId; 880 if (taskId == mAffiliatedTaskId) { 911 out.attribute(null, ATTR_TASKID, String.valueOf(taskId)); 1003 int taskId [all...] |
H A D | ActivityStack.java | 401 * @param taskId If non-zero, we'll attempt to skip over records with the same task ID. 405 final ActivityRecord topRunningActivityLocked(IBinder token, int taskId) { argument 408 if (task.taskId == taskId) { 414 // Note: the taskId check depends on real taskId fields being non-zero 447 if (task.taskId == id) { 508 mWindowManager.moveTaskToTop(task.taskId); 1937 System.identityHashCode(next), next.task.taskId, next.shortComponentName); 2077 final int taskId 3707 moveTaskToBackLocked(int taskId) argument 4349 createTaskRecord(int taskId, ActivityInfo info, Intent intent, IVoiceInteractionSession voiceSession, IVoiceInteractor voiceInteractor, boolean toTop) argument [all...] |
H A D | RecentTasks.java | 68 if (tr.taskId == id) { 233 || cur.mNextAffiliateTaskId != prev.taskId) { 307 final boolean isAffiliated = task.mAffiliatedTaskId != task.taskId 507 // Sort by taskId 511 return rhs.taskId - lhs.taskId; 521 if (startTask.taskId == affiliateId && startTask.mPrevAffiliate == null && 540 // Sort them all by taskId. That is the order they were create in and that order will
|
H A D | ActivityStackSupervisor.java | 579 void setNextTaskId(int taskId) { argument 580 if (taskId > mCurTaskId) { 581 mCurTaskId = taskId; 1017 hist.task.taskId); 1241 task.taskId, r.shortComponentName); 2443 mWindowManager.moveTaskToTop(r.task.taskId); 2455 EventLog.writeEvent(EventLogTags.AM_CREATE_TASK, r.userId, r.task.taskId); 2921 moveTaskToStackLocked(task.taskId, matchingStackId, true); 2940 moveTaskToStackLocked(task.taskId, newStack.mStackId, true); 3010 mWindowManager.addAppToken(0, r.appToken, task.taskId, stac 3019 moveTaskToStackLocked(int taskId, int stackId, boolean toTop) argument [all...] |
H A D | ActivityRecord.java | 1117 return task.taskId; 1151 private static String createImageFilename(long createTime, int taskId) { argument 1152 return String.valueOf(taskId) + ACTIVITY_ICON_SUFFIX + createTime + 1160 final String iconFilename = createImageFilename(createTime, task.taskId); 1287 return stringName + " t" + (task == null ? INVALID_TASK_ID : task.taskId) +
|
H A D | ActivityManagerService.java | 4154 public final int startActivityFromRecents(int taskId, Bundle options) { argument 4161 return startActivityFromRecentsInner(taskId, options); 4164 final int startActivityFromRecentsInner(int taskId, Bundle options) { argument 4171 task = mStackSupervisor.anyTaskForIdLocked(taskId); 4173 throw new IllegalArgumentException("Task " + taskId + " not found."); 4176 moveTaskToFrontLocked(task.taskId, 0, null); 4340 res = removeTaskByIdLocked(tr.taskId, false); 5176 removeTaskByIdLocked(tr.taskId, false); 8351 rti.id = tr.getTopActivity() == null ? INVALID_TASK_ID : tr.taskId; 8352 rti.persistentId = tr.taskId; 8617 setTaskResizeable(int taskId, boolean resizeable) argument 8633 resizeTask(int taskId, Rect bounds) argument 8783 removeTaskByIdLocked(int taskId, boolean killProcess) argument 8798 removeTask(int taskId) argument 8815 moveTaskToFront(int taskId, int flags, Bundle options) argument 8824 moveTaskToFrontLocked(int taskId, int flags, Bundle options) argument 8959 moveTaskToStack(int taskId, int stackId, boolean toTop) argument 9021 isInHomeStack(int taskId) argument 9111 startLockTaskMode(int taskId) argument 20653 AppTaskImpl(int taskId, int callingUid) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/ |
H A D | SystemServicesProxy.java | 270 public void resizeTask(int taskId, Rect bounds) { argument 274 mIam.resizeTask(taskId, bounds); 313 public boolean isInHomeStack(int taskId) { argument 321 return mAm.isInHomeStack(taskId); 325 public Bitmap getTaskThumbnail(int taskId) { argument 336 Bitmap thumbnail = SystemServicesProxy.getThumbnail(mAm, taskId); 356 public static Bitmap getThumbnail(ActivityManager activityManager, int taskId) { argument 357 ActivityManager.TaskThumbnail taskThumbnail = activityManager.getTaskThumbnail(taskId); 376 public void moveTaskToFront(int taskId, ActivityOptions opts) { argument 381 mAm.moveTaskToFront(taskId, ActivityManage 389 removeTask(final int taskId) argument 668 startActivityFromRecents(Context context, int taskId, String taskName, ActivityOptions options) argument [all...] |
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/ |
H A D | MainInteractionSession.java | 318 public void onTaskStarted(Intent intent, int taskId) { argument 319 super.onTaskStarted(intent, taskId); 320 mCurrentTask = taskId; 324 public void onTaskFinished(Intent intent, int taskId) { argument 325 super.onTaskFinished(intent, taskId); 326 if (mCurrentTask == taskId) {
|
/frameworks/base/services/tests/servicestests/src/com/android/server/job/ |
H A D | JobStoreTest.java | 48 int taskId = 5; 53 final JobInfo task = new Builder(taskId, mComponent)
|
/frameworks/base/core/java/android/app/ |
H A D | ActivityManager.java | 1321 * @param taskId Identifier of the task to be removed. 1326 public boolean removeTask(int taskId) throws SecurityException { argument 1328 return ActivityManagerNative.getDefault().removeTask(taskId); 1403 public boolean isInHomeStack(int taskId) { argument 1405 return ActivityManagerNative.getDefault().isInHomeStack(taskId); 1430 * @param taskId The identifier of the task to be moved, as found in 1435 public void moveTaskToFront(int taskId, int flags) { argument 1436 moveTaskToFront(taskId, flags, null); 1445 * @param taskId The identifier of the task to be moved, as found in 1453 public void moveTaskToFront(int taskId, in argument 2854 startLockTaskMode(int taskId) argument [all...] |
H A D | IActivityManager.java | 95 public int startActivityFromRecents(int taskId, Bundle options) throws RemoteException; argument 133 public ActivityManager.TaskThumbnail getTaskThumbnail(int taskId) throws RemoteException; argument 140 public void moveTaskToStack(int taskId, int stackId, boolean toTop) throws RemoteException; argument 144 public boolean isInHomeStack(int taskId) throws RemoteException; argument 389 public boolean removeTask(int taskId) throws RemoteException; argument 471 public void startLockTaskMode(int taskId) throws RemoteException; argument 487 public void setTaskResizeable(int taskId, boolean resizeable) throws RemoteException; argument 488 public void resizeTask(int taskId, Rect bounds) throws RemoteException; argument
|
H A D | ActivityManagerNative.java | 333 int taskId = data.readInt(); 335 int result = startActivityFromRecents(taskId, options); 738 int taskId = data.readInt(); 741 moveTaskToStack(taskId, stackId, toTop); 779 int taskId = data.readInt(); 780 boolean isInHomeStack = isInHomeStack(taskId); 1959 int taskId = data.readInt(); 1960 boolean result = removeTask(taskId); 2346 final int taskId = data.readInt(); 2347 startLockTaskMode(taskId); 2890 startActivityFromRecents(int taskId, Bundle options) argument 3420 moveTaskToStack(int taskId, int stackId, boolean toTop) argument 3478 isInHomeStack(int taskId) argument 5106 removeTask(int taskId) argument 5619 startLockTaskMode(int taskId) argument 5729 setTaskResizeable(int taskId, boolean resizeable) argument 5742 resizeTask(int taskId, Rect r) argument [all...] |
/frameworks/base/cmds/am/src/com/android/commands/am/ |
H A D | Am.java | 1887 int taskId = Integer.valueOf(taskIdStr); 1902 mAm.moveTaskToStack(taskId, stackId, toTop); 1985 for (int taskId : currentStackInfo.taskIds) { 1986 mAm.setTaskResizeable(taskId, true); 1989 for (int taskId : newStackInfo.taskIds) { 1990 mAm.setTaskResizeable(taskId, true); 2020 int taskId = Integer.valueOf(taskIdStr); 2021 mAm.startLockTaskMode(taskId); 2031 final int taskId = Integer.valueOf(taskIdStr); 2036 mAm.setTaskResizeable(taskId, resizeabl [all...] |
/frameworks/base/core/java/android/view/ |
H A D | IWindowManager.aidl | 86 void setAppTask(IBinder token, int taskId);
|
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/ |
H A D | ActivityTestMain.java | 540 int taskId = am.addAppTask(this, intent, desc, bitmap); 541 Log.i(TAG, "Added new task id #" + taskId); 548 int taskId = getTaskId(); 551 if (task.getTaskInfo().id == taskId) {
|