Home
last modified time | relevance | path

Searched refs:mPersister (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskSnapshotPersisterLoaderTest.java76 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 …]
DTaskSnapshotLowResDisabledTest.java69 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()
DTaskSnapshotCacheTest.java100 mPersister.persistSnapshot(window.getTask().mTaskId, mWm.mCurrentUserId, createSnapshot()); in testReduced_notCached()
117 mPersister.persistSnapshot(window.getTask().mTaskId, mWm.mCurrentUserId, createSnapshot()); in testRestoreFromDisk()
DTaskSnapshotPersisterTestBase.java71 TaskSnapshotPersister mPersister; field in TaskSnapshotPersisterTestBase
116 mPersister = new TaskSnapshotPersister(mSnapshotPersistQueue, provider); in setUp()
DLaunchParamsControllerTests.java72 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/
DTaskSnapshotController.java58 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()
DLaunchParamsController.java45 private final LaunchParamsPersister mPersister; field in LaunchParamsController
57 mPersister = persister; in LaunchParamsController()
86 mPersister.getLaunchParams(task, activity, result); in calculate()
DActivitySnapshotController.java97 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()
DSnapshotPersistQueue.java86 mPersister.start(); in start()
171 private final Thread mPersister = new Thread("TaskSnapshotPersister") { field in SnapshotPersistQueue