/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TaskSnapshotPersisterLoaderTest.java | 76 mPersister.persistSnapshot(1, mTestUserId, createSnapshot()); in testPersistAndLoadSnapshot() 90 mPersister.persistSnapshot(1, mTestUserId, snapshot); in testPersistAndLoadSnapshot() 98 mPersister.persistSnapshot(1, mTestUserId, createSnapshot()); in testTaskRemovedFromRecents() 99 mPersister.removeSnapshot(1, mTestUserId); in testTaskRemovedFromRecents() 112 mPersister.persistSnapshot(1, mTestUserId, createSnapshot()); in testThrottling() 113 mPersister.persistSnapshot(2, mTestUserId, createSnapshot()); in testThrottling() 114 mPersister.removeObsoleteFiles(new ArraySet<>(), new int[]{mTestUserId}); in testThrottling() 115 mPersister.removeObsoleteFiles(new ArraySet<>(), new int[]{mTestUserId}); in testThrottling() 116 mPersister.removeObsoleteFiles(new ArraySet<>(), new int[]{mTestUserId}); in testThrottling() 117 mPersister.removeObsoleteFiles(new ArraySet<>(), new int[]{mTestUserId}); in testThrottling() [all …]
|
D | TaskSnapshotLowResDisabledTest.java | 69 mPersister.persistSnapshot(1, mTestUserId, createSnapshot()); in testPersistAndLoadSnapshot() 89 mPersister.persistSnapshot(1, mTestUserId, createSnapshot()); in testRemoveObsoleteFiles() 90 mPersister.persistSnapshot(2, mTestUserId, createSnapshot()); in testRemoveObsoleteFiles() 93 mPersister.removeObsoleteFiles(taskIds, new int[]{mTestUserId}); in testRemoveObsoleteFiles() 109 mPersister.persistSnapshot(1, mTestUserId, createSnapshot()); in testRemoveObsoleteFiles_addedOneInTheMeantime() 112 mPersister.removeObsoleteFiles(taskIds, new int[]{mTestUserId}); in testRemoveObsoleteFiles_addedOneInTheMeantime() 113 mPersister.persistSnapshot(2, mTestUserId, createSnapshot()); in testRemoveObsoleteFiles_addedOneInTheMeantime() 130 mPersister.persistSnapshot(window.getTask().mTaskId, mWm.mCurrentUserId, createSnapshot()); in testReduced_notCached()
|
D | TaskSnapshotCacheTest.java | 100 mPersister.persistSnapshot(window.getTask().mTaskId, mWm.mCurrentUserId, createSnapshot()); in testReduced_notCached() 117 mPersister.persistSnapshot(window.getTask().mTaskId, mWm.mCurrentUserId, createSnapshot()); in testRestoreFromDisk()
|
D | TaskSnapshotPersisterTestBase.java | 71 TaskSnapshotPersister mPersister; field in TaskSnapshotPersisterTestBase 116 mPersister = new TaskSnapshotPersister(mSnapshotPersistQueue, provider); in setUp()
|
D | LaunchParamsControllerTests.java | 72 private TestLaunchParamsPersister mPersister; field in LaunchParamsControllerTests 76 mPersister = new TestLaunchParamsPersister(); in setUp() 77 mController = new LaunchParamsController(mAtm, mPersister); in setUp() 118 mPersister.putLaunchParams(userId, name, expected); in testStoredParamsRecovery()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TaskSnapshotController.java | 58 private final TaskSnapshotPersister mPersister; field in TaskSnapshotController 69 mPersister = new TaskSnapshotPersister(persistQueue, mPersistInfoProvider); in TaskSnapshotController() 170 mPersister.persistSnapshot(task.mTaskId, task.mUserId, snapshot); in recordSnapshot() 294 mPersister.removeSnapshot(taskId, userId); in removeAndDeleteSnapshot() 305 mPersister.removeObsoleteFiles(persistentTaskIds, runningUserIds); in removeObsoleteTaskFiles()
|
D | LaunchParamsController.java | 45 private final LaunchParamsPersister mPersister; field in LaunchParamsController 57 mPersister = persister; in LaunchParamsController() 86 mPersister.getLaunchParams(task, activity, result); in calculate()
|
D | ActivitySnapshotController.java | 97 private final TaskSnapshotPersister mPersister; field in ActivitySnapshotController 104 mPersister = new TaskSnapshotPersister(persistQueue, mPersistInfoProvider); in ActivitySnapshotController() 668 mPersister.removeSnapshot(usf.mFileId, ar.mUserId); in removeIfUserSavedFileExist() 695 mPersister.persistSnapshot(fileId, userId, snapshot); in addUserSavedFile() 721 mPersister.removeSnapshot(usf.mFileId, usf.mUserId); in purgeSavedFile()
|
D | SnapshotPersistQueue.java | 86 mPersister.start(); in start() 171 private final Thread mPersister = new Thread("TaskSnapshotPersister") { field in SnapshotPersistQueue
|