/frameworks/base/core/java/android/service/voice/ |
H A D | IVoiceInteractionSession.aidl | 25 void taskStarted(in Intent intent, int taskId); 26 void taskFinished(in Intent intent, int taskId);
|
H A D | VoiceInteractionSession.java | 149 public void taskStarted(Intent intent, int taskId) { 151 taskId, intent)); 155 public void taskFinished(Intent intent, int taskId) { 157 taskId, intent)); 329 + " taskId=" + msg.arg1); 334 + " taskId=" + msg.arg1); 728 * @param taskId Unique ID of the now running task. 730 public void onTaskStarted(Intent intent, int taskId) { argument 744 * @param taskId Unique ID of the finished task. 746 public void onTaskFinished(Intent intent, int taskId) { argument [all...] |
/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 | 27 final int taskId; field in class:Task 32 taskId = wtoken.groupId; 57 EventLog.writeEvent(com.android.server.EventLogTags.WM_TASK_REMOVED, taskId, 71 return "{taskId=" + taskId + " appTokens=" + mAppTokens + " mdr=" + mDeferRemoval + "}";
|
H A D | WindowManagerService.java | 3441 int taskId = task.taskId; 3442 Task targetTask = mTaskIdToTask.get(taskId); 3445 Slog.w(TAG, "validateAppTokens: no Display for taskId=" + taskId); 3457 displayContent = mTaskIdToTask.get(taskId).getDisplayContent(); 3612 private Task createTask(int taskId, int stackId, int userId, AppWindowToken atoken) { argument 3613 if (DEBUG_STACK) Slog.i(TAG, "createTask: taskId=" + taskId + " stackId=" + stackId 3619 EventLog.writeEvent(EventLogTags.WM_TASK_CREATED, taskId, stackI 3627 addAppToken(int addPos, IApplicationToken token, int taskId, int stackId, int requestedOrientation, boolean fullscreen, boolean showWhenLocked, int userId, int configChanges, boolean voiceInteraction, boolean launchTaskBehind) argument 5087 moveTaskToTop(int taskId) argument 5118 moveTaskToBottom(int taskId) argument 5220 removeTask(int taskId) argument 5231 addTask(int taskId, int stackId, boolean toTop) argument [all...] |
H A D | DisplayContent.java | 387 pw.print(" mTaskId="); pw.println(task.taskId);
|
H A D | TaskStack.java | 195 EventLog.writeEvent(EventLogTags.WM_TASK_MOVED, task.taskId, toTop ? 1 : 0, stackNdx);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/ |
H A D | TaskDescription.java | 26 final int taskId; // application task id for curating apps field in class:TaskDescription 43 taskId = _taskId; 54 taskId = -1;
|
H A D | RecentTasksLoader.java | 162 TaskDescription createTaskDescription(int taskId, int persistentTaskId, Intent baseIntent, argument 185 TaskDescription item = new TaskDescription(taskId,
|
H A D | RecentsPanelView.java | 680 if (ad.taskId >= 0) { 682 am.moveTaskToFront(ad.taskId, ActivityManager.MOVE_TASK_WITH_HOME,
|
/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 | 303 public Task findTaskWithId(int taskId) { argument 308 if (task.key.id == taskId) {
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | TaskPersister.java | 173 final String taskString = Integer.toString(task.taskId); 340 private TaskRecord taskIdToTask(int taskId, ArrayList<TaskRecord> tasks) { argument 341 if (taskId < 0) { 346 if (task.taskId == taskId) { 350 Slog.e(TAG, "Restore affiliation error looking for taskId=" + taskId); 393 final int taskId = task.taskId; 394 recoveredTaskIds.add(taskId); 1081 OtherDeviceTask(File file, ComponentName componentName, int taskId, int affiliatedTaskId, ArraySet<String> launchPackages) argument [all...] |
H A D | TaskRecord.java | 89 final int taskId; // Unique identifier for this task. field in class:TaskRecord 155 int mAffiliatedTaskId; // taskId of parent affiliation or self if no parent. 174 taskId = _taskId; 189 taskId = _taskId; 226 taskId = _taskId; 370 mPrevAffiliateTaskId = prevAffiliate == null ? INVALID_TASK_ID : prevAffiliate.taskId; 375 mNextAffiliateTaskId = nextAffiliate == null ? INVALID_TASK_ID : nextAffiliate.taskId; 781 if (taskId == mAffiliatedTaskId) { 812 out.attribute(null, ATTR_TASKID, String.valueOf(taskId)); 905 int taskId [all...] |
H A D | ActivityStack.java | 395 * @param taskId If non-zero, we'll attempt to skip over records with the same task ID. 399 final ActivityRecord topRunningActivityLocked(IBinder token, int taskId) { argument 402 if (task.taskId == taskId) { 408 // Note: the taskId check depends on real taskId fields being non-zero 441 if (task.taskId == id) { 485 mWindowManager.moveTaskToTop(task.taskId); 1821 System.identityHashCode(next), next.task.taskId, next.shortComponentName); 1934 final int taskId 3523 moveTaskToBackLocked(int taskId) argument 4083 createTaskRecord(int taskId, ActivityInfo info, Intent intent, IVoiceInteractionSession voiceSession, IVoiceInteractor voiceInteractor, boolean toTop) argument [all...] |
H A D | ActivityRecord.java | 1066 return task.taskId; 1103 private static String createImageFilename(long createTime, int taskId) { argument 1104 return String.valueOf(taskId) + ACTIVITY_ICON_SUFFIX + createTime + 1112 final String iconFilename = createImageFilename(createTime, task.taskId); 1239 return stringName + " t" + (task == null ? INVALID_TASK_ID : task.taskId) +
|
H A D | ActivityStackSupervisor.java | 505 void setNextTaskId(int taskId) { argument 506 if (taskId > mCurTaskId) { 507 mCurTaskId = taskId; 923 hist.task.taskId); 1141 r.task.taskId, r.shortComponentName); 2197 mWindowManager.moveTaskToTop(r.task.taskId); 2209 EventLog.writeEvent(EventLogTags.AM_CREATE_TASK, r.userId, r.task.taskId); 2665 mWindowManager.addAppToken(0, r.appToken, task.taskId, stack.mStackId, 2674 void moveTaskToStackLocked(int taskId, int stackId, boolean toTop) { argument 2675 final TaskRecord task = anyTaskForIdLocked(taskId); [all...] |
H A D | ActivityManagerService.java | 3629 public final int startActivityFromRecents(int taskId, Bundle options) { argument 3636 return startActivityFromRecentsInner(taskId, options); 3639 final int startActivityFromRecentsInner(int taskId, Bundle options) { argument 3646 task = recentTaskForIdLocked(taskId); 3648 throw new IllegalArgumentException("Task " + taskId + " not found."); 3651 moveTaskToFrontLocked(task.taskId, 0, null); 3725 // Sort by taskId 3729 return rhs.taskId - lhs.taskId; 3739 if (startTask.taskId 8476 removeTaskByIdLocked(int taskId, boolean killProcess) argument 8491 removeTask(int taskId) argument 8508 moveTaskToFront(int taskId, int flags, Bundle options) argument 8518 moveTaskToFrontLocked(int taskId, int flags, Bundle options) argument 8548 moveTaskToBack(int taskId) argument 8678 moveTaskToStack(int taskId, int stackId, boolean toTop) argument 8738 isInHomeStack(int taskId) argument 8806 startLockTaskMode(int taskId) argument 19619 AppTaskImpl(int taskId, int callingUid) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/ |
H A D | SystemServicesProxy.java | 254 public boolean isInHomeStack(int taskId) { argument 262 return mAm.isInHomeStack(taskId); 266 public Bitmap getTaskThumbnail(int taskId) { argument 277 Bitmap thumbnail = SystemServicesProxy.getThumbnail(mAm, taskId); 297 public static Bitmap getThumbnail(ActivityManager activityManager, int taskId) { argument 298 ActivityManager.TaskThumbnail taskThumbnail = activityManager.getTaskThumbnail(taskId); 317 public void moveTaskToFront(int taskId, ActivityOptions opts) { argument 322 mAm.moveTaskToFront(taskId, ActivityManager.MOVE_TASK_WITH_HOME, 325 mAm.moveTaskToFront(taskId, ActivityManager.MOVE_TASK_WITH_HOME); 330 public void removeTask(int taskId) { argument 556 startActivityFromRecents(Context context, int taskId, String taskName, ActivityOptions options) argument [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/job/ |
H A D | JobStoreTest.java | 47 int taskId = 5; 52 final JobInfo task = new Builder(taskId, mComponent)
|
/frameworks/base/core/java/android/app/ |
H A D | ActivityManager.java | 1255 * @param taskId Identifier of the task to be removed. 1260 public boolean removeTask(int taskId) throws SecurityException { argument 1262 return ActivityManagerNative.getDefault().removeTask(taskId); 1337 public boolean isInHomeStack(int taskId) { argument 1339 return ActivityManagerNative.getDefault().isInHomeStack(taskId); 1364 * @param taskId The identifier of the task to be moved, as found in 1369 public void moveTaskToFront(int taskId, int flags) { argument 1370 moveTaskToFront(taskId, flags, null); 1379 * @param taskId The identifier of the task to be moved, as found in 1387 public void moveTaskToFront(int taskId, in argument 2662 startLockTaskMode(int taskId) argument [all...] |
H A D | IActivityManager.java | 91 public int startActivityFromRecents(int taskId, Bundle options) throws RemoteException; argument 128 public ActivityManager.TaskThumbnail getTaskThumbnail(int taskId) throws RemoteException; argument 136 public void moveTaskToStack(int taskId, int stackId, boolean toTop) throws RemoteException; argument 140 public boolean isInHomeStack(int taskId) throws RemoteException; argument 379 public boolean removeTask(int taskId) throws RemoteException; argument 447 public void startLockTaskMode(int taskId) throws RemoteException; argument
|
H A D | ActivityManagerNative.java | 308 int taskId = data.readInt(); 310 int result = startActivityFromRecents(taskId, options); 719 int taskId = data.readInt(); 722 moveTaskToStack(taskId, stackId, toTop); 761 int taskId = data.readInt(); 762 boolean isInHomeStack = isInHomeStack(taskId); 1906 int taskId = data.readInt(); 1907 boolean result = removeTask(taskId); 2230 final int taskId = data.readInt(); 2231 startLockTaskMode(taskId); 2660 startActivityFromRecents(int taskId, Bundle options) argument 3196 moveTaskToStack(int taskId, int stackId, boolean toTop) argument 3254 isInHomeStack(int taskId) argument 4845 removeTask(int taskId) argument 5263 startLockTaskMode(int taskId) argument [all...] |
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/ |
H A D | ActivityTestMain.java | 475 int taskId = am.addAppTask(this, intent, desc, bitmap); 476 Log.i(TAG, "Added new task id #" + taskId); 483 int taskId = getTaskId(); 486 if (task.getTaskInfo().id == taskId) {
|
/frameworks/base/cmds/am/src/com/android/commands/am/ |
H A D | Am.java | 1707 int taskId = Integer.valueOf(taskIdStr); 1722 mAm.moveTaskToStack(taskId, stackId, toTop); 1771 int taskId = Integer.valueOf(taskIdStr); 1772 mAm.startLockTaskMode(taskId);
|