Home
last modified time | relevance | path

Searched refs:mTaskId (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DTaskSnapshotCacheTest.java53 assertNotNull(mCache.getSnapshot(window.getTask().mTaskId, 0 /* userId */, in testAppRemoved()
56 assertNull(mCache.getSnapshot(window.getTask().mTaskId, 0 /* userId */, in testAppRemoved()
64 assertNotNull(mCache.getSnapshot(window.getTask().mTaskId, 0 /* userId */, in testAppDied()
67 assertNull(mCache.getSnapshot(window.getTask().mTaskId, 0 /* userId */, in testAppDied()
75 assertNotNull(mCache.getSnapshot(window.getTask().mTaskId, 0 /* userId */, in testTaskRemoved()
77 mCache.onTaskRemoved(window.getTask().mTaskId); in testTaskRemoved()
78 assertNull(mCache.getSnapshot(window.getTask().mTaskId, 0 /* userId */, in testTaskRemoved()
85 mPersister.persistSnapshot(window.getTask().mTaskId, sWm.mCurrentUserId, createSnapshot()); in testReduced_notCached()
87 assertNull(mCache.getSnapshot(window.getTask().mTaskId, sWm.mCurrentUserId, in testReduced_notCached()
91 assertNotNull(mCache.getSnapshot(window.getTask().mTaskId, sWm.mCurrentUserId, in testReduced_notCached()
[all …]
DRemoteAnimationControllerTest.java105 assertEquals(win.mAppToken.getTask().mTaskId, app.taskId); in testRun()
/frameworks/base/services/core/java/com/android/server/am/
DAppTaskImpl.java40 private int mTaskId; field in AppTaskImpl
45 mTaskId = taskId; in AppTaskImpl()
64 if (!mService.mStackSupervisor.removeTaskByIdLocked(mTaskId, false, in finishAndRemoveTask()
66 throw new IllegalArgumentException("Unable to find task ID " + mTaskId); in finishAndRemoveTask()
81 TaskRecord tr = mService.mStackSupervisor.anyTaskForIdLocked(mTaskId, in getTaskInfo()
84 throw new IllegalArgumentException("Unable to find task ID " + mTaskId); in getTaskInfo()
102 mService.mStackSupervisor.startActivityFromRecents(callingPid, callingUid, mTaskId, in moveToFront()
119 tr = mService.mStackSupervisor.anyTaskForIdLocked(mTaskId, in startActivity()
122 throw new IllegalArgumentException("Unable to find task ID " + mTaskId); in startActivity()
147 TaskRecord tr = mService.mStackSupervisor.anyTaskForIdLocked(mTaskId, in setExcludeFromRecents()
[all …]
DActivityManagerShellCommand.java138 private int mTaskId; field in ActivityManagerShellCommand
302 mTaskId = INVALID_TASK_ID; in makeIntent()
358 mTaskId = Integer.parseInt(getNextArgRequired()); in makeIntent()
457 if (mTaskId != INVALID_TASK_ID) {
461 options.setLaunchTaskId(mTaskId);
/frameworks/base/services/core/java/com/android/server/wm/
DTaskWindowContainerController.java48 private final int mTaskId; field in TaskWindowContainerController
65 mTaskId = taskId; in TaskWindowContainerController()
98 if (DEBUG_STACK) Slog.i(TAG_WM, "removeTask: could not find taskId=" + mTaskId); in removeContainer()
129 if (DEBUG_STACK) Slog.i(TAG_WM, "reparent: moving taskId=" + mTaskId in reparent()
133 "reparent: could not find taskId=" + mTaskId); in reparent()
157 throw new IllegalArgumentException("resizeTask: taskId " + mTaskId + " not found."); in resize()
185 Slog.w(TAG_WM, "setTaskDockedResizing: taskId " + mTaskId + " not found."); in setTaskDockedResizing()
195 Slog.w(TAG_WM, "cancelWindowTransition: taskId " + mTaskId + " not found."); in cancelWindowTransition()
205 Slog.w(TAG_WM, "setTaskDescription: taskId " + mTaskId + " not found."); in setTaskDescription()
222 return "{TaskWindowContainerController taskId=" + mTaskId + "}"; in toString()
DTaskSnapshotPersister.java172 Slog.i(TAG, "Queue is too deep! Purged item with taskid=" + item.mTaskId); in ensureStoreQueueDepthLocked()
271 private final int mTaskId; field in TaskSnapshotPersister.StoreWriteQueueItem
276 mTaskId = taskId; in StoreWriteQueueItem()
307 deleteSnapshot(mTaskId, mUserId); in write()
323 final File file = getProtoFile(mTaskId, mUserId); in writeProto()
346 final File reducedFile = getReducedResolutionBitmapFile(mTaskId, mUserId); in writeBuffer()
366 final File file = getBitmapFile(mTaskId, mUserId); in writeBuffer()
380 private final int mTaskId; field in TaskSnapshotPersister.DeleteWriteQueueItem
384 mTaskId = taskId; in DeleteWriteQueueItem()
390 deleteSnapshot(mTaskId, mUserId); in write()
DTask.java58 final int mTaskId; field in Task
107 mTaskId = taskId; in Task()
173 if (DEBUG_STACK) Slog.i(TAG, "removeTask: deferring removing taskId=" + mTaskId); in removeIfPossible()
182 if (DEBUG_STACK) Slog.i(TAG, "removeTask: removing taskId=" + mTaskId); in removeImmediately()
183 EventLog.writeEvent(WM_TASK_REMOVED, mTaskId, "removeTask"); in removeImmediately()
194 if (DEBUG_STACK) Slog.i(TAG, "reParentTask: removing taskId=" + mTaskId in reparent()
196 EventLog.writeEvent(WM_TASK_REMOVED, mTaskId, "reParentTask"); in reparent()
252 EventLog.writeEvent(WM_TASK_REMOVED, mTaskId, "removeAppToken: last token"); in removeChild()
672 return "{taskId=" + mTaskId + " appTokens=" + mChildren + " mdr=" + mDeferRemoval + "}"; in toString()
706 proto.write(ID, mTaskId); in writeToProto()
[all …]
DTaskSnapshotCache.java46 final CacheEntry entry = mRunningCache.get(task.mTaskId); in putSnapshot()
51 mAppTaskMap.put(top, task.mTaskId); in putSnapshot()
52 mRunningCache.put(task.mTaskId, new CacheEntry(snapshot, task.getTopChild())); in putSnapshot()
DTaskPositioningController.java76 mActivityManager.setFocusedTask(win.getTask().mTaskId); in startMovingTask()
91 taskId = task.mTaskId; in handleTapOutsideTask()
DRecentsAnimationController.java133 if (task.mTaskId == taskId) {
274 addAnimation(task, !recentTaskIds.get(task.mTaskId)); in initialize()
326 + taskAdapter.mTask.mTaskId + ")"); in removeAnimation()
375 Slog.d(TAG, "\t" + task.mTaskId); in startAnimation()
574 mTarget = new RemoteAnimationTarget(mTask.mTaskId, MODE_CLOSING, mCapturedLeash, in createRemoteAnimationApp()
DTaskPositioner.java169 mTask.mTaskId, mWindowDragBounds, RESIZE_MODE_USER); in onInputEvent()
202 mTask.mTaskId, mWindowDragBounds, RESIZE_MODE_USER_FORCED); in onInputEvent()
398 mTask.mTaskId, startBounds, RESIZE_MODE_USER_FORCED); in startDrag()
DTaskStack.java194 task.setBounds(taskBounds.get(task.mTaskId), false /* forced */); in setBounds()
196 taskTempInsetBounds.get(task.mTaskId) : null); in setBounds()
595 throw new IllegalStateException("Trying to add taskId=" + task.mTaskId in addTask()
629 EventLog.writeEvent(EventLogTags.WM_TASK_MOVED, child.mTaskId, toTop, targetPosition); in positionChildAt()
1512 return task.mTaskId; in taskIdFromPoint()
DRemoteAnimationController.java310 mTarget = new RemoteAnimationTarget(task.mTaskId, getMode(), in createRemoteAppAnimation()
DTaskSnapshotController.java194 mPersister.persistSnapshot(task.mTaskId, task.mUserId, snapshot); in snapshotTasks()
DAppWindowToken.java1839 surfaceInsets, stableInsets, isVoiceInteraction, freeform, getTask().mTaskId); in loadAnimation()
1998 final int taskId = getTask().mTaskId; in attachThumbnailAnimation()
2053 appRect, insets, thumbnailHeader, getTask().mTaskId, displayConfig.uiMode, in loadThumbnailAnimation()
DAccessibilityController.java1068 if (task != null && skipRemainingWindowsForTasks.contains(task.mTaskId)) { in computeChangedWindows()
1119 skipRemainingWindowsForTasks.add(task.mTaskId); in computeChangedWindows()
DAppWindowContainerController.java475 mContainer.getTask().mTaskId, mContainer.getTask().mUserId, in addStartingWindow()
DTaskSnapshotSurface.java189 layoutParams.setTitle(String.format(TITLE_FORMAT, task.mTaskId)); in create()
/frameworks/base/telephony/java/android/telephony/
DVisualVoicemailService.java116 private final int mTaskId; field in VisualVoicemailService.VisualVoicemailTask
120 mTaskId = taskId; in VisualVoicemailTask()
131 message.arg1 = mTaskId; in finish()
144 return mTaskId == ((VisualVoicemailTask) obj).mTaskId; in equals()
149 return mTaskId; in hashCode()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/view/
DAppTransitionAnimationSpecCompat.java27 private int mTaskId; field in AppTransitionAnimationSpecCompat
32 mTaskId = taskId; in AppTransitionAnimationSpecCompat()
38 return new AppTransitionAnimationSpec(mTaskId, in toAppTransitionAnimationSpec()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DTaskStackChangeListeners.java217 info.mPackageName, info.mUserId, info.mTaskId, info.mStackId); in handleMessage()
305 final int mTaskId; field in TaskStackChangeListeners.PinnedActivityInfo
311 mTaskId = taskId; in PinnedActivityInfo()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DActivityTestsBase.java228 private int mTaskId = 0; field in ActivityTestsBase.TaskBuilder
269 mTaskId = taskId; in setTaskId()
302 final TestTaskRecord task = new TestTaskRecord(mSupervisor.mService, mTaskId, aInfo, in build()