Home
last modified time | relevance | path

Searched refs:mTaskPersister (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskPersisterTest.java48 private TaskPersister mTaskPersister; field in TaskPersisterTest
56 mTaskPersister = new TaskPersister(context.getFilesDir()); in setUp()
66 mTaskPersister.unloadUserDataFromMemory(mTestUserId); in tearDown()
83 mTaskPersister.writePersistedTaskIdsForUser(taskIdsOnFile, mTestUserId); in testTaskIdsPersistence()
84 SparseBooleanArray newTaskIdsOnFile = mTaskPersister in testTaskIdsPersistence()
DRecentTasksTest.java105 private TestTaskPersister mTaskPersister; field in RecentTasksTest
116 mTaskPersister = new TestTaskPersister(mContext.getFilesDir()); in setUp()
379 mTaskPersister.mUserTaskIdsOverride = new SparseBooleanArray(); in testUsersTasks()
380 mTaskPersister.mUserTaskIdsOverride.put(1, true); in testUsersTasks()
381 mTaskPersister.mUserTaskIdsOverride.put(2, true); in testUsersTasks()
382 mTaskPersister.mUserTasksOverride = new ArrayList<>(); in testUsersTasks()
383 mTaskPersister.mUserTasksOverride.add(createTaskBuilder(".UserTask1").build()); in testUsersTasks()
384 mTaskPersister.mUserTasksOverride.add(createTaskBuilder(".UserTask2").build()); in testUsersTasks()
1108 return spy(new TestRecentTasks(this, mTaskPersister)); in createRecentTasks()
/frameworks/base/services/core/java/com/android/server/wm/
DRecentTasks.java148 private final TaskPersister mTaskPersister; field in RecentTasks
228 mTaskPersister = taskPersister; in RecentTasks()
238 mTaskPersister = new TaskPersister(systemDir, stackSupervisor, service, this, in RecentTasks()
462 List<TaskRecord> tasks = mTaskPersister.restoreTasksForUserLocked(userId, preaddedTasks); in loadUserRecentsLocked()
477 mPersistedTaskIds.put(userId, mTaskPersister.loadPersistedTaskIdsForUser(userId)); in loadPersistedTaskIdsForUserLocked()
508 mTaskPersister.wakeup(task, flush); in notifyTaskPersisterLocked()
546 return mTaskPersister.getTaskDescriptionIcon(path); in getTaskDescriptionIcon()
550 mTaskPersister.saveImage(image, path); in saveImage()
557 mTaskPersister.flush(); in flush()
594 mTaskPersister.unloadUserDataFromMemory(userId); in unloadUserDataFromMemoryLocked()