Home
last modified time | relevance | path

Searched refs:mTaskSnapshotController (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DSnapshotController.java40 final TaskSnapshotController mTaskSnapshotController; field in SnapshotController
45 mTaskSnapshotController = new TaskSnapshotController(wms, mSnapshotPersistQueue); in SnapshotController()
58 mTaskSnapshotController.onAppRemoved(activity); in onAppRemoved()
63 mTaskSnapshotController.onAppDied(activity); in onAppDied()
73 mTaskSnapshotController.handleClosingApps(displayContent.mClosingApps); in onTransitionStarting()
92 mTaskSnapshotController.recordSnapshot(task, info); in onTransactionReady()
194 final TaskSnapshot snapshot = mTaskSnapshotController.getSnapshot(task.mTaskId, in onTransitionFinish()
197 mTaskSnapshotController.removeAndDeleteSnapshot(task.mTaskId, task.mUserId); in onTransitionFinish()
212 mTaskSnapshotController.dump(pw, prefix); in dump()
DRecentsAnimationController.java210 mService.mTaskSnapshotController;
915 final TaskSnapshotController snapshotController = mService.mTaskSnapshotController;
DWindowManagerService.java764 final TaskSnapshotController mTaskSnapshotController; field in WindowManagerService
1311 mTaskSnapshotController = mSnapshotController.mTaskSnapshotController; in WindowManagerService()
3298 mTaskSnapshotController.screenTurningOff(displayId, listener); in screenTurningOff()
4299 return mTaskSnapshotController.getSnapshot(taskId, userId, restoreFromDisk, in getTaskSnapshot()
4318 if (mTaskSnapshotController.shouldDisableSnapshots()) { in captureTaskBitmap()
4357 mTaskSnapshotController.removeObsoleteTaskFiles(persistentTaskIds, runningUserIds); in removeObsoleteTaskFiles()
7863 mTaskSnapshotController.clearSnapshotCache(); in clearSnapshotCache()
8727 mTaskSnapshotController.removeAndDeleteSnapshot( in addBlockScreenCaptureForApps()
9767 return !mTaskSnapshotController.shouldDisableSnapshots(); in isTaskSnapshotSupported()
9868 mTaskSnapshotController.setSnapshotEnabled(enabled); in setTaskSnapshotEnabled()
[all …]
DActivitySnapshotController.java369 final TaskSnapshot snapshot = mService.mTaskSnapshotController in recordSnapshot()
DKeyguardController.java222 mWindowManager.mTaskSnapshotController.snapshotForSleeping(DEFAULT_DISPLAY); in setKeyguardShown()
DActivityClientController.java1625 mService.mWindowManager.mTaskSnapshotController.removeSnapshotCache( in invalidateHomeTaskSnapshot()
DTransition.java1273 final long lastSnapshotTimeNs = snapController.mTaskSnapshotController in finishTransition()
1279 snapController.mTaskSnapshotController.recordSnapshot(task); in finishTransition()
DBackNavigationController.java1838 snapshot = task.mRootWindowContainer.mWindowManager.mTaskSnapshotController.getSnapshot(
DActivityRecord.java2571 mWmService.mTaskSnapshotController.getSnapshot(task.mTaskId, task.mUserId, in addStartingWindow()
2595 mWmService.mTaskSnapshotController.removeSnapshotCache(task.mTaskId); in addStartingWindow()
3786 mAtmService.mWindowManager.mTaskSnapshotController.snapshotTasks(tasks); in finishIfPossible()
3787 mAtmService.mWindowManager.mTaskSnapshotController in finishIfPossible()
DActivityTaskManagerService.java3937 return mWindowManager.mTaskSnapshotController.getSnapshot(taskId, in getTaskSnapshot()
3961 return mWindowManager.mTaskSnapshotController.recordSnapshot(task); in takeTaskSnapshot()
3963 return mWindowManager.mTaskSnapshotController.snapshot(task); in takeTaskSnapshot()
DRootWindowContainer.java2247 mWindowManager.mTaskSnapshotController.recordSnapshot(task); in moveActivityToPinnedRootTask()
DDisplayContent.java4511 ? dc.mWmService.mTaskSnapshotController.snapshotImeFromAttachedTask(task) in attachAndShow()
DTask.java1325 mAtmService.mWindowManager.mTaskSnapshotController.removeAndDeleteSnapshot( in removedFromRecents()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskSnapshotControllerTest.java111 mWm.mTaskSnapshotController.addSkipClosingAppSnapshotTasks( in testGetClosingApps_skipClosingAppsSnapshotTasks()
126 mWm.mTaskSnapshotController.getClosingTasksInner(task, outClosingTasks); in getClosingTasks()
136 mWm.mTaskSnapshotController.getSnapshotMode(disabledWindow.getTask())); in testGetSnapshotMode()
141 mWm.mTaskSnapshotController.getSnapshotMode(normalWindow.getTask())); in testGetSnapshotMode()
147 mWm.mTaskSnapshotController.getSnapshotMode(secureWindow.getTask())); in testGetSnapshotMode()
151 spyOn(mWm.mTaskSnapshotController); in testGetSnapshotMode()
154 verify(mWm.mTaskSnapshotController, never()).prepareTaskSnapshot(any(), any()); in testGetSnapshotMode()
156 verify(mWm.mTaskSnapshotController).prepareTaskSnapshot(any(), any()); in testGetSnapshotMode()
229 mWm.mTaskSnapshotController.createSnapshot(mAppWindow.mActivityRecord.getTask(), in testCreateTaskSnapshotWithExcludingIme()
250 mWm.mTaskSnapshotController.createSnapshot( in testCreateTaskSnapshotWithIncludingIme()
[all …]
DRecentsAnimationControllerTest.java300 spyOn(mWm.mTaskSnapshotController); in testDeferCancelAnimationWithScreenShot()
301 doReturn(mMockTaskSnapshot).when(mWm.mTaskSnapshotController).getSnapshot(anyInt(), in testDeferCancelAnimationWithScreenShot()
343 spyOn(mWm.mTaskSnapshotController); in testBinderDiedAfterCancelWithDeferredScreenshot()
344 doReturn(mMockTaskSnapshot).when(mWm.mTaskSnapshotController).getSnapshot(anyInt(), in testBinderDiedAfterCancelWithDeferredScreenshot()
772 spyOn(mWm.mTaskSnapshotController); in testCancelForStartHome()
773 doReturn(mMockTaskSnapshot).when(mWm.mTaskSnapshotController).getSnapshot(anyInt(), in testCancelForStartHome()
DZOrderingTests.java589 spyOn(mDisplayContent.mWmService.mTaskSnapshotController); in testImeScreenshotLayer()
590 doReturn(imeBuffer).when(mDisplayContent.mWmService.mTaskSnapshotController) in testImeScreenshotLayer()
DWindowManagerServiceTests.java1048 spyOn(mWm.mTaskSnapshotController); in addBlockScreenCaptureForApps_appNotInForeground_invalidateSnapshot()
1069 verify(mWm.mTaskSnapshotController).removeAndDeleteSnapshot(anyInt(), eq(ownerId1)); in addBlockScreenCaptureForApps_appNotInForeground_invalidateSnapshot()
DDisplayContentTests.java2356 spyOn(mWm.mTaskSnapshotController); in testAttachAndShowImeScreenshotOnTarget()
2360 doReturn(mockHwBuffer).when(mWm.mTaskSnapshotController).snapshotImeFromAttachedTask(any()); in testAttachAndShowImeScreenshotOnTarget()
2395 verify(mWm.mTaskSnapshotController).snapshotImeFromAttachedTask(appWin1.getTask()); in testAttachAndShowImeScreenshotOnTarget()
DTransitionTests.java1484 spyOn(mWm.mSnapshotController.mTaskSnapshotController); in testTransientLaunch()
1498 .mTaskSnapshotController; in testTransientLaunch()