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.java74 mPersister.persistSnapshot(1, mTestUserId, createSnapshot()); in testPersistAndLoadSnapshot()
75 mPersister.waitForQueueEmpty(); in testPersistAndLoadSnapshot()
90 mPersister.persistSnapshot(1, mTestUserId, createSnapshot()); in testTaskRemovedFromRecents()
91 mPersister.onTaskRemovedFromRecents(1, mTestUserId); in testTaskRemovedFromRecents()
92 mPersister.waitForQueueEmpty(); in testTaskRemovedFromRecents()
104 mPersister.persistSnapshot(1, mTestUserId, createSnapshot()); in testThrottling()
105 mPersister.persistSnapshot(2, mTestUserId, createSnapshot()); in testThrottling()
106 mPersister.removeObsoleteFiles(new ArraySet<>(), new int[]{mTestUserId}); in testThrottling()
107 mPersister.removeObsoleteFiles(new ArraySet<>(), new int[]{mTestUserId}); in testThrottling()
108 mPersister.removeObsoleteFiles(new ArraySet<>(), new int[]{mTestUserId}); in testThrottling()
[all …]
DTaskSnapshotLowResDisabledTest.java69 mPersister.persistSnapshot(1, mTestUserId, createSnapshot()); in testPersistAndLoadSnapshot()
70 mPersister.waitForQueueEmpty(); 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()
94 mPersister.waitForQueueEmpty(); 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()
114 mPersister.waitForQueueEmpty(); in testRemoveObsoleteFiles_addedOneInTheMeantime()
[all …]
DTaskSnapshotCacheTest.java100 mPersister.persistSnapshot(window.getTask().mTaskId, mWm.mCurrentUserId, createSnapshot()); in testReduced_notCached()
101 mPersister.waitForQueueEmpty(); in testReduced_notCached()
117 mPersister.persistSnapshot(window.getTask().mTaskId, mWm.mCurrentUserId, createSnapshot()); in testRestoreFromDisk()
118 mPersister.waitForQueueEmpty(); in testRestoreFromDisk()
DTaskSnapshotPersisterTestBase.java68 TaskSnapshotPersister mPersister; field in TaskSnapshotPersisterTestBase
110 mPersister = new TaskSnapshotPersister(mWm, userId -> FILES_DIR); in setUp()
111 mLoader = new TaskSnapshotLoader(mPersister); in setUp()
112 mPersister.start(); in setUp()
DLaunchParamsControllerTests.java75 private TestLaunchParamsPersister mPersister; field in LaunchParamsControllerTests
79 mPersister = new TestLaunchParamsPersister(); in setUp()
80 mController = new LaunchParamsController(mAtm, mPersister); in setUp()
121 mPersister.putLaunchParams(userId, name, expected); in testStoredParamsRecovery()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskSnapshotLoader.java51 private final TaskSnapshotPersister mPersister; field in TaskSnapshotLoader
54 mPersister = persister; in TaskSnapshotLoader()
140 final File protoFile = mPersister.getProtoFile(taskId, userId); in loadTask()
147 final File highResBitmap = mPersister.getHighResolutionBitmapFile(taskId, userId); in loadTask()
155 ? mPersister.getLowResolutionBitmapFile(taskId, userId) : highResBitmap; in loadTask()
162 options.inPreferredConfig = mPersister.use16BitFormat() && !proto.isTranslucent in loadTask()
DTaskSnapshotController.java97 private final TaskSnapshotPersister mPersister; field in TaskSnapshotController
123 mPersister = new TaskSnapshotPersister(mService, Environment::getDataSystemCeDirectory); in TaskSnapshotController()
124 mLoader = new TaskSnapshotLoader(mPersister); in TaskSnapshotController()
137 mPersister.start(); in systemReady()
210 mPersister.persistSnapshot(task.mTaskId, task.mUserId, snapshot); in snapshotTasks()
226 && mPersister.enableLowResSnapshots()); in getSnapshot()
296 pixelFormat = mPersister.use16BitFormat() && activity.fillsParent()
406 final int pixelFormat = mPersister.use16BitFormat()
601 mPersister.onTaskRemovedFromRecents(taskId, userId);
612 mPersister.removeObsoleteFiles(persistentTaskIds, runningUserIds);
[all …]
DLaunchParamsController.java45 private final LaunchParamsPersister mPersister; field in LaunchParamsController
57 mPersister = persister; in LaunchParamsController()
85 mPersister.getLaunchParams(task, activity, result); in calculate()
DTaskSnapshotPersister.java123 mPersister.start(); in start()
261 private Thread mPersister = new Thread("TaskSnapshotPersister") { field in TaskSnapshotPersister