/frameworks/base/services/core/java/com/android/server/wm/ |
D | SnapshotController.java | 40 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()
|
D | RecentsAnimationController.java | 210 mService.mTaskSnapshotController; 915 final TaskSnapshotController snapshotController = mService.mTaskSnapshotController;
|
D | WindowManagerService.java | 764 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 …]
|
D | ActivitySnapshotController.java | 369 final TaskSnapshot snapshot = mService.mTaskSnapshotController in recordSnapshot()
|
D | KeyguardController.java | 222 mWindowManager.mTaskSnapshotController.snapshotForSleeping(DEFAULT_DISPLAY); in setKeyguardShown()
|
D | ActivityClientController.java | 1625 mService.mWindowManager.mTaskSnapshotController.removeSnapshotCache( in invalidateHomeTaskSnapshot()
|
D | Transition.java | 1273 final long lastSnapshotTimeNs = snapController.mTaskSnapshotController in finishTransition() 1279 snapController.mTaskSnapshotController.recordSnapshot(task); in finishTransition()
|
D | BackNavigationController.java | 1838 snapshot = task.mRootWindowContainer.mWindowManager.mTaskSnapshotController.getSnapshot(
|
D | ActivityRecord.java | 2571 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()
|
D | ActivityTaskManagerService.java | 3937 return mWindowManager.mTaskSnapshotController.getSnapshot(taskId, in getTaskSnapshot() 3961 return mWindowManager.mTaskSnapshotController.recordSnapshot(task); in takeTaskSnapshot() 3963 return mWindowManager.mTaskSnapshotController.snapshot(task); in takeTaskSnapshot()
|
D | RootWindowContainer.java | 2247 mWindowManager.mTaskSnapshotController.recordSnapshot(task); in moveActivityToPinnedRootTask()
|
D | DisplayContent.java | 4511 ? dc.mWmService.mTaskSnapshotController.snapshotImeFromAttachedTask(task) in attachAndShow()
|
D | Task.java | 1325 mAtmService.mWindowManager.mTaskSnapshotController.removeAndDeleteSnapshot( in removedFromRecents()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TaskSnapshotControllerTest.java | 111 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 …]
|
D | RecentsAnimationControllerTest.java | 300 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()
|
D | ZOrderingTests.java | 589 spyOn(mDisplayContent.mWmService.mTaskSnapshotController); in testImeScreenshotLayer() 590 doReturn(imeBuffer).when(mDisplayContent.mWmService.mTaskSnapshotController) in testImeScreenshotLayer()
|
D | WindowManagerServiceTests.java | 1048 spyOn(mWm.mTaskSnapshotController); in addBlockScreenCaptureForApps_appNotInForeground_invalidateSnapshot() 1069 verify(mWm.mTaskSnapshotController).removeAndDeleteSnapshot(anyInt(), eq(ownerId1)); in addBlockScreenCaptureForApps_appNotInForeground_invalidateSnapshot()
|
D | DisplayContentTests.java | 2356 spyOn(mWm.mTaskSnapshotController); in testAttachAndShowImeScreenshotOnTarget() 2360 doReturn(mockHwBuffer).when(mWm.mTaskSnapshotController).snapshotImeFromAttachedTask(any()); in testAttachAndShowImeScreenshotOnTarget() 2395 verify(mWm.mTaskSnapshotController).snapshotImeFromAttachedTask(appWin1.getTask()); in testAttachAndShowImeScreenshotOnTarget()
|
D | TransitionTests.java | 1484 spyOn(mWm.mSnapshotController.mTaskSnapshotController); in testTransientLaunch() 1498 .mTaskSnapshotController; in testTransientLaunch()
|