Home
last modified time | relevance | path

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

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskSnapshotPersisterLoaderTest.java59 mPersister.persistSnapshot(1 , mTestUserId, createSnapshot()); in testPersistAndLoadSnapshot()
60 mPersister.waitForQueueEmpty(); in testPersistAndLoadSnapshot()
81 mPersister.persistSnapshot(1, mTestUserId, createSnapshot()); in testTaskRemovedFromRecents()
82 mPersister.onTaskRemovedFromRecents(1, mTestUserId); in testTaskRemovedFromRecents()
83 mPersister.waitForQueueEmpty(); in testTaskRemovedFromRecents()
95 mPersister.persistSnapshot(1, mTestUserId, createSnapshot()); in testThrottling()
96 mPersister.persistSnapshot(2, mTestUserId, createSnapshot()); in testThrottling()
97 mPersister.removeObsoleteFiles(new ArraySet<>(), new int[] { mTestUserId }); in testThrottling()
98 mPersister.removeObsoleteFiles(new ArraySet<>(), new int[] { mTestUserId }); in testThrottling()
99 mPersister.removeObsoleteFiles(new ArraySet<>(), new int[] { mTestUserId }); in testThrottling()
[all …]
DTaskSnapshotCacheTest.java87 mPersister.persistSnapshot(window.getTask().mTaskId, mWm.mCurrentUserId, createSnapshot()); in testReduced_notCached()
88 mPersister.waitForQueueEmpty(); in testReduced_notCached()
104 mPersister.persistSnapshot(window.getTask().mTaskId, mWm.mCurrentUserId, createSnapshot()); in testRestoreFromDisk()
105 mPersister.waitForQueueEmpty(); in testRestoreFromDisk()
DTaskSnapshotPersisterTestBase.java57 TaskSnapshotPersister mPersister; field in TaskSnapshotPersisterTestBase
81 mPersister = new TaskSnapshotPersister(mWm, userId -> FILES_DIR); in setUp()
82 mLoader = new TaskSnapshotLoader(mPersister); in setUp()
83 mPersister.start(); in setUp()
DLaunchParamsControllerTests.java70 private TestLaunchParamsPersister mPersister; field in LaunchParamsControllerTests
74 mPersister = new TestLaunchParamsPersister(); in setUp()
75 mController = new LaunchParamsController(mService, mPersister); in setUp()
115 mPersister.putLaunchParams(userId, name, expected); in testStoredParamsRecovery()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskSnapshotLoader.java49 private final TaskSnapshotPersister mPersister; field in TaskSnapshotLoader
52 mPersister = persister; in TaskSnapshotLoader()
67 final File protoFile = mPersister.getProtoFile(taskId, userId); in loadTask()
69 ? mPersister.getReducedResolutionBitmapFile(taskId, userId) in loadTask()
70 : mPersister.getBitmapFile(taskId, userId); in loadTask()
93 final float legacyScale = reducedResolution ? mPersister.getReducedScale() : 1f; in loadTask()
DTaskSnapshotController.java93 private final TaskSnapshotPersister mPersister; field in TaskSnapshotController
119 mPersister = new TaskSnapshotPersister(mService, Environment::getDataSystemCeDirectory); in TaskSnapshotController()
120 mLoader = new TaskSnapshotLoader(mPersister); in TaskSnapshotController()
133 mPersister.start(); in systemReady()
197 mPersister.persistSnapshot(task.mTaskId, task.mUserId, snapshot); in snapshotTasks()
294 ? mPersister.getReducedScale() in snapshotTask()
430 mPersister.onTaskRemovedFromRecents(taskId, userId); in notifyTaskRemovedFromRecents()
437 mPersister.removeObsoleteFiles(persistentTaskIds, runningUserIds); in removeObsoleteTaskFiles()
446 mPersister.setPaused(paused); in setPersisterPaused()
DLaunchParamsController.java44 private final LaunchParamsPersister mPersister; field in LaunchParamsController
56 mPersister = persister; in LaunchParamsController()
82 mPersister.getLaunchParams(task, activity, result); in calculate()
DTaskSnapshotPersister.java107 mPersister.start(); in start()
245 private Thread mPersister = new Thread("TaskSnapshotPersister") { field in TaskSnapshotPersister