Searched refs:mPersister (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ |
D | TaskSnapshotPersisterLoaderTest.java | 59 mPersister.persistSnapshot(1 , mTestUserId, createSnapshot()); in testPersistAndLoadSnapshot() 60 mPersister.waitForQueueEmpty(); in testPersistAndLoadSnapshot() 80 mPersister.persistSnapshot(1, mTestUserId, createSnapshot()); in testTaskRemovedFromRecents() 81 mPersister.onTaskRemovedFromRecents(1, mTestUserId); in testTaskRemovedFromRecents() 82 mPersister.waitForQueueEmpty(); in testTaskRemovedFromRecents() 94 mPersister.persistSnapshot(1, mTestUserId, createSnapshot()); in testThrottling() 95 mPersister.persistSnapshot(2, mTestUserId, createSnapshot()); in testThrottling() 96 mPersister.removeObsoleteFiles(new ArraySet<>(), new int[] { mTestUserId }); in testThrottling() 97 mPersister.removeObsoleteFiles(new ArraySet<>(), new int[] { mTestUserId }); in testThrottling() 98 mPersister.removeObsoleteFiles(new ArraySet<>(), new int[] { mTestUserId }); in testThrottling() [all …]
|
D | TaskSnapshotPersisterTestBase.java | 46 TaskSnapshotPersister mPersister; field in TaskSnapshotPersisterTestBase 61 mPersister = new TaskSnapshotPersister(userId -> sFilesDir); in setUp() 62 mLoader = new TaskSnapshotLoader(mPersister); in setUp() 63 mPersister.start(); in setUp()
|
D | TaskSnapshotCacheTest.java | 85 mPersister.persistSnapshot(window.getTask().mTaskId, sWm.mCurrentUserId, createSnapshot()); in testReduced_notCached() 86 mPersister.waitForQueueEmpty(); in testReduced_notCached() 102 mPersister.persistSnapshot(window.getTask().mTaskId, sWm.mCurrentUserId, createSnapshot()); in testRestoreFromDisk() 103 mPersister.waitForQueueEmpty(); in testRestoreFromDisk()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TaskSnapshotLoader.java | 49 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()
|
D | TaskSnapshotController.java | 94 private final TaskSnapshotPersister mPersister = new TaskSnapshotPersister( field in TaskSnapshotController 96 private final TaskSnapshotLoader mLoader = new TaskSnapshotLoader(mPersister); 130 mPersister.start(); in systemReady() 194 mPersister.persistSnapshot(task.mTaskId, task.mUserId, snapshot); in snapshotTasks() 392 mPersister.onTaskRemovedFromRecents(taskId, userId); in notifyTaskRemovedFromRecents() 399 mPersister.removeObsoleteFiles(persistentTaskIds, runningUserIds); in removeObsoleteTaskFiles() 408 mPersister.setPaused(paused); in setPersisterPaused()
|
D | TaskSnapshotPersister.java | 90 mPersister.start(); in start() 219 private Thread mPersister = new Thread("TaskSnapshotPersister") { field in TaskSnapshotPersister
|