Home
last modified time | relevance | path

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

12

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskSnapshotCacheTest.java55 assertNotNull(mCache.getSnapshot(window.getTask().mTaskId, 0 /* userId */, in testAppRemoved()
58 assertNull(mCache.getSnapshot(window.getTask().mTaskId, 0 /* userId */, in testAppRemoved()
66 assertNotNull(mCache.getSnapshot(window.getTask().mTaskId, 0 /* userId */, in testAppDied()
69 assertNull(mCache.getSnapshot(window.getTask().mTaskId, 0 /* userId */, in testAppDied()
77 assertNotNull(mCache.getSnapshot(window.getTask().mTaskId, 0 /* userId */, in testTaskRemoved()
79 mCache.onTaskRemoved(window.getTask().mTaskId); in testTaskRemoved()
80 assertNull(mCache.getSnapshot(window.getTask().mTaskId, 0 /* userId */, in testTaskRemoved()
87 mPersister.persistSnapshot(window.getTask().mTaskId, mWm.mCurrentUserId, createSnapshot()); in testReduced_notCached()
89 assertNull(mCache.getSnapshot(window.getTask().mTaskId, mWm.mCurrentUserId, in testReduced_notCached()
93 assertNotNull(mCache.getSnapshot(window.getTask().mTaskId, mWm.mCurrentUserId, in testReduced_notCached()
[all …]
DTaskStackChangedListenerTest.java109 int mTaskId = -1; in testTaskDescriptionChanged()
114 mTaskId = taskId; in testTaskDescriptionChanged()
119 if (mTaskId == taskId && !TextUtils.isEmpty(td.getLabel())) { in testTaskDescriptionChanged()
DActivityTestsBase.java317 private int mTaskId = 1; field in ActivityTestsBase.TaskBuilder
358 mTaskId = taskId; in setTaskId()
391 final TestTaskRecord task = new TestTaskRecord(mSupervisor.mService, mTaskId, aInfo, in build()
DRemoteAnimationControllerTest.java107 assertEquals(win.mAppToken.getTask().mTaskId, app.taskId); in testRun()
/frameworks/base/services/core/java/com/android/server/wm/
DAppTaskImpl.java41 private int mTaskId; field in AppTaskImpl
46 mTaskId = taskId; in AppTaskImpl()
65 if (!mService.mStackSupervisor.removeTaskByIdLocked(mTaskId, false, in finishAndRemoveTask()
67 throw new IllegalArgumentException("Unable to find task ID " + mTaskId); in finishAndRemoveTask()
82 TaskRecord tr = mService.mRootActivityContainer.anyTaskForId(mTaskId, in getTaskInfo()
85 throw new IllegalArgumentException("Unable to find task ID " + mTaskId); in getTaskInfo()
126 callingUid, mTaskId, null); in moveToFront()
142 tr = mService.mRootActivityContainer.anyTaskForId(mTaskId, in startActivity()
145 throw new IllegalArgumentException("Unable to find task ID " + mTaskId); in startActivity()
170 TaskRecord tr = mService.mRootActivityContainer.anyTaskForId(mTaskId, in setExcludeFromRecents()
[all …]
DTaskSnapshotPersister.java194 Slog.i(TAG, "Queue is too deep! Purged item with taskid=" + item.mTaskId); in ensureStoreQueueDepthLocked()
293 private final int mTaskId; field in TaskSnapshotPersister.StoreWriteQueueItem
298 mTaskId = taskId; in StoreWriteQueueItem()
329 deleteSnapshot(mTaskId, mUserId); in write()
347 final File file = getProtoFile(mTaskId, mUserId); in writeProto()
379 final File reducedFile = getReducedResolutionBitmapFile(mTaskId, mUserId); in writeBuffer()
396 final File file = getBitmapFile(mTaskId, mUserId); in writeBuffer()
411 private final int mTaskId; field in TaskSnapshotPersister.DeleteWriteQueueItem
415 mTaskId = taskId; in DeleteWriteQueueItem()
421 deleteSnapshot(mTaskId, mUserId); in write()
DTask.java66 final int mTaskId; field in Task
123 mTaskId = taskId; in Task()
195 if (DEBUG_STACK) Slog.i(TAG, "removeTask: deferring removing taskId=" + mTaskId); in removeIfPossible()
204 if (DEBUG_STACK) Slog.i(TAG, "removeTask: removing taskId=" + mTaskId); in removeImmediately()
205 EventLog.writeEvent(WM_TASK_REMOVED, mTaskId, "removeTask"); in removeImmediately()
222 if (DEBUG_STACK) Slog.i(TAG, "reParentTask: removing taskId=" + mTaskId in reparent()
224 EventLog.writeEvent(WM_TASK_REMOVED, mTaskId, "reParentTask"); in reparent()
281 EventLog.writeEvent(WM_TASK_REMOVED, mTaskId, "removeAppToken: last token"); in removeChild()
353 mTaskId, displayId); in onDisplayChanged()
624 return super.makeSurface().setMetadata(METADATA_TASK_ID, mTaskId); in makeSurface()
[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.java123 mActivityManager.setFocusedTask(win.getTask().mTaskId); in startMovingTask()
138 mActivityManager.setFocusedTask(task.mTaskId); in handleTapOutsideTask()
DRecentsAnimationController.java169 if (task.mTaskId == taskId) {
350 addAnimation(task, !recentTaskIds.get(task.mTaskId)); in initialize()
406 + taskAdapter.mTask.mTaskId + ")"); in removeAnimation()
463 Slog.d(TAG, "\t" + task.mTaskId); in startAnimation()
749 mTarget = new RemoteAnimationTarget(mTask.mTaskId, mode, mCapturedLeash, in createRemoteAnimationApp()
DTaskPositioner.java176 mTask.mTaskId, mWindowDragBounds, RESIZE_MODE_USER); in onInputEvent()
209 mTask.mTaskId, mWindowDragBounds, RESIZE_MODE_USER_FORCED); in onInputEvent()
423 mTask.mTaskId, startBounds, RESIZE_MODE_USER_FORCED); in startDrag()
DAppWindowToken.java1293 + " to task=" + task.mTaskId + " at " + position); in reparent()
2086 getTask().mTaskId, getTask().mUserId, in addStartingWindow()
2680 surfaceInsets, stableInsets, isVoiceInteraction, freeform, getTask().mTaskId); in loadAnimation()
2928 final int taskId = getTask().mTaskId; in attachThumbnailAnimation()
2984 appRect, insets, thumbnailHeader, getTask().mTaskId, displayConfig.uiMode, in loadThumbnailAnimation()
DRemoteAnimationController.java345 mTarget = new RemoteAnimationTarget(task.mTaskId, getMode(), in createRemoteAnimationTarget()
DTaskSnapshotController.java197 mPersister.persistSnapshot(task.mTaskId, task.mUserId, snapshot); in snapshotTasks()
DAccessibilityController.java1228 if (task != null && skipRemainingWindowsForTasks.contains(task.mTaskId)) { in windowMattersToAccessibility()
1277 skipRemainingWindowsForTasks.add(task.mTaskId); in updateUnaccountedSpace()
/frameworks/base/core/java/android/app/contentsuggestions/
DSelectionsRequest.java38 private final int mTaskId; field in SelectionsRequest
45 mTaskId = taskId; in SelectionsRequest()
54 return mTaskId; in getTaskId()
79 dest.writeInt(mTaskId); in writeToParcel()
105 private final int mTaskId; field in SelectionsRequest.Builder
115 mTaskId = taskId; in Builder()
138 return new SelectionsRequest(mTaskId, mInterestPoint, mExtras); in build()
/frameworks/base/core/java/android/app/
DDirectAction.java46 private int mTaskId; field in DirectAction
66 mTaskId = taskId; in setSource()
74 mTaskId = original.mTaskId; in DirectAction()
82 mTaskId = in.readInt(); in DirectAction()
92 return mTaskId; in getTaskId()
153 dest.writeInt(mTaskId); in writeToParcel()
/frameworks/base/core/java/android/view/contentcapture/
DContentCaptureContext.java106 private final int mTaskId; field in ContentCaptureContext
126 mTaskId = taskId; in ContentCaptureContext()
137 mTaskId = mFlags = 0; in ContentCaptureContext()
147 mTaskId = original.mTaskId; in ContentCaptureContext()
178 return mTaskId; in getTaskId()
321 pw.print(", taskId="); pw.print(mTaskId); in dump()
345 .append(", taskId=").append(mTaskId) in toString()
375 parcel.writeInt(mTaskId); in writeToParcel()
/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/services/autofill/java/com/android/server/autofill/
DRemoteAugmentedAutofillService.java180 private final int mTaskId; field in RemoteAugmentedAutofillService.PendingAutofillRequest
192 mTaskId = taskId; in PendingAutofillRequest()
250 remoteService.mService.onFillRequest(mSessionId, realClient, mTaskId, in run()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DTaskStackChangeListeners.java260 info.mPackageName, info.mUserId, info.mTaskId, info.mStackId); in handleMessage()
379 final int mTaskId; field in TaskStackChangeListeners.PinnedActivityInfo
385 mTaskId = taskId; in PinnedActivityInfo()
/frameworks/base/core/java/android/service/voice/
DVoiceInteractionSession.java2056 private final int mTaskId; field in VoiceInteractionSession.ActivityId
2060 mTaskId = taskId; in ActivityId()
2065 return mTaskId; in getTaskId()
2083 if (mTaskId != that.mTaskId) { in equals()
2093 int result = mTaskId; in hashCode()
/frameworks/base/core/java/android/app/assist/
DAssistStructure.java77 private int mTaskId; field in AssistStructure
2165 mTaskId = in.readInt(); in AssistStructure()
2187 Log.i(TAG, "Task id: " + mTaskId); in dump()
2307 mTaskId = taskId; in setTaskId()
2316 return mTaskId; in getTaskId()
2427 out.writeInt(mTaskId); in writeToParcel()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerShellCommand.java148 private int mTaskId; field in ActivityManagerShellCommand
313 mTaskId = INVALID_TASK_ID; in makeIntent()
369 mTaskId = Integer.parseInt(getNextArgRequired()); in makeIntent()
496 if (mTaskId != INVALID_TASK_ID) {
500 options.setLaunchTaskId(mTaskId);

12