Home
last modified time | relevance | path

Searched refs:mTaskId (Results 1 – 16 of 16) 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 …]
/frameworks/base/services/core/java/com/android/server/wm/
DTaskWindowContainerController.java48 private final int mTaskId; field in TaskWindowContainerController
67 mTaskId = taskId; in TaskWindowContainerController()
99 if (DEBUG_STACK) Slog.i(TAG_WM, "removeTask: could not find taskId=" + mTaskId); in removeContainer()
126 if (DEBUG_STACK) Slog.i(TAG_WM, "reparent: moving taskId=" + mTaskId in reparent()
130 "reparent: could not find taskId=" + mTaskId); in reparent()
155 throw new IllegalArgumentException("resizeTask: taskId " + mTaskId + " not found."); in resize()
182 Slog.w(TAG_WM, "setTaskDockedResizing: taskId " + mTaskId + " not found."); in setTaskDockedResizing()
192 Slog.w(TAG_WM, "cancelWindowTransition: taskId " + mTaskId + " not found."); in cancelWindowTransition()
202 Slog.w(TAG_WM, "cancelThumbnailTransition: taskId " + mTaskId + " not found."); in cancelThumbnailTransition()
212 Slog.w(TAG_WM, "setTaskDescription: taskId " + mTaskId + " not found."); in setTaskDescription()
[all …]
DTaskSnapshotPersister.java172 Slog.i(TAG, "Queue is too deep! Purged item with taskid=" + item.mTaskId); in ensureStoreQueueDepthLocked()
262 private final int mTaskId; field in TaskSnapshotPersister.StoreWriteQueueItem
267 mTaskId = taskId; in StoreWriteQueueItem()
297 deleteSnapshot(mTaskId, mUserId); in write()
309 final File file = getProtoFile(mTaskId, mUserId); in writeProto()
325 final File file = getBitmapFile(mTaskId, mUserId); in writeBuffer()
326 final File reducedFile = getReducedResolutionBitmapFile(mTaskId, mUserId); in writeBuffer()
348 private final int mTaskId; field in TaskSnapshotPersister.DeleteWriteQueueItem
352 mTaskId = taskId; in DeleteWriteQueueItem()
358 deleteSnapshot(mTaskId, mUserId); in write()
DTask.java57 final int mTaskId; field in Task
106 mTaskId = taskId; in Task()
174 if (DEBUG_STACK) Slog.i(TAG, "removeTask: deferring removing taskId=" + mTaskId); in removeIfPossible()
183 if (DEBUG_STACK) Slog.i(TAG, "removeTask: removing taskId=" + mTaskId); in removeImmediately()
184 EventLog.writeEvent(WM_TASK_REMOVED, mTaskId, "removeTask"); in removeImmediately()
201 if (DEBUG_STACK) Slog.i(TAG, "reParentTask: removing taskId=" + mTaskId in reparent()
203 EventLog.writeEvent(WM_TASK_REMOVED, mTaskId, "reParentTask"); in reparent()
258 EventLog.writeEvent(WM_TASK_REMOVED, mTaskId, "removeAppToken: last token"); in removeChild()
696 return "{taskId=" + mTaskId + " appTokens=" + mChildren + " mdr=" + mDeferRemoval + "}"; in toString()
709 return "Task=" + mTaskId; in toShortString()
[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()
DTaskStack.java189 Configuration config = configs.get(task.mTaskId); in setBounds()
191 Rect bounds = taskBounds.get(task.mTaskId); in setBounds()
194 taskTempInsetBounds.get(task.mTaskId) : null); in setBounds()
557 throw new IllegalStateException("Trying to add taskId=" + task.mTaskId in addTask()
591 EventLog.writeEvent(EventLogTags.WM_TASK_MOVED, child.mTaskId, toTop, targetPosition); in positionChildAt()
1380 return task.mTaskId; in taskIdFromPoint()
DTaskPositioner.java176 mTask.mTaskId, mWindowDragBounds, RESIZE_MODE_USER); in onInputEvent()
209 mTask.mTaskId, mWindowDragBounds, RESIZE_MODE_USER_FORCED); in onInputEvent()
217 mTask.mTaskId, createMode, true /*toTop*/, true /* animate */, in onInputEvent()
DTaskSnapshotController.java151 mPersister.persistSnapshot(task.mTaskId, task.mUserId, snapshot); in snapshotTasks()
DAccessibilityController.java1069 if (task != null && skipRemainingWindowsForTasks.contains(task.mTaskId)) { in computeChangedWindows()
1119 skipRemainingWindowsForTasks.add(task.mTaskId); in computeChangedWindows()
DTaskSnapshotSurface.java175 layoutParams.setTitle(String.format(TITLE_FORMAT, task.mTaskId)); in create()
DAppWindowContainerController.java532 mContainer.getTask().mTaskId, mContainer.getTask().mUserId, in addStartingWindow()
DWindowSurfacePlacer.java682 final int taskId = appToken.getTask().mTaskId; in createThumbnailAppAnimator()
DWindowManagerService.java2352 isVoiceInteraction, freeform, atoken.getTask().mTaskId); in applyAnimationLocked()
2735 if (task != null && mTmpTaskIds.get(task.mTaskId, -1) != -1 in prolongAnimationsFromSpecs()
4458 mActivityManager.setFocusedTask(win.getTask().mTaskId); in startMovingTask()
4472 taskId = task.mTaskId; in handleTapOutsideTask()
/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/services/core/java/com/android/server/am/
DActivityManagerShellCommand.java119 private int mTaskId; field in ActivityManagerShellCommand
273 mTaskId = INVALID_TASK_ID; in makeIntent()
310 mTaskId = Integer.parseInt(getNextArgRequired()); in makeIntent()
396 if (mTaskId != INVALID_TASK_ID) {
398 options.setLaunchTaskId(mTaskId);
DActivityManagerService.java24210 private int mTaskId;
24214 mTaskId = taskId;
24233 if (!mStackSupervisor.removeTaskByIdLocked(mTaskId, false,
24235 throw new IllegalArgumentException("Unable to find task ID " + mTaskId);
24250 TaskRecord tr = mStackSupervisor.anyTaskForIdLocked(mTaskId);
24252 throw new IllegalArgumentException("Unable to find task ID " + mTaskId);
24268 mStackSupervisor.startActivityFromRecentsInner(mTaskId, null);
24284 tr = mStackSupervisor.anyTaskForIdLocked(mTaskId);
24286 throw new IllegalArgumentException("Unable to find task ID " + mTaskId);
24305 TaskRecord tr = mStackSupervisor.anyTaskForIdLocked(mTaskId);
[all …]