Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DTaskPersisterTest.java35 private TaskPersister mTaskPersister; field in TaskPersisterTest
43 mTaskPersister = new TaskPersister(getContext().getFilesDir()); in setUp()
50 mTaskPersister.unloadUserDataFromMemory(testUserId); in tearDown()
61 SparseBooleanArray taskIdsOnFile = mTaskPersister.loadPersistedTaskIdsForUser(testUserId); in testTaskIdsPersistence()
65 mTaskPersister.maybeWritePersistedTaskIdsForUser(taskIdsOnFile, testUserId); in testTaskIdsPersistence()
66 SparseBooleanArray newTaskIdsOnFile = mTaskPersister in testTaskIdsPersistence()
/frameworks/base/services/core/java/com/android/server/am/
DRecentTasks.java74 private final TaskPersister mTaskPersister; field in RecentTasks
96 mTaskPersister = new TaskPersister(systemDir, mStackSupervisor, service, this); in RecentTasks()
111 addAll(mTaskPersister.restoreTasksForUserLocked(userId)); in loadUserRecentsLocked()
121 mPersistedTaskIds.put(userId, mTaskPersister.loadPersistedTaskIdsForUser(userId)); in loadPersistedTaskIdsForUserLocked()
137 mTaskPersister.wakeup(task, flush); in notifyTaskPersisterLocked()
167 mTaskPersister.startPersisting(); in onSystemReadyLocked()
171 return mTaskPersister.getTaskDescriptionIcon(path); in getTaskDescriptionIcon()
175 return mTaskPersister.getImageFromWriteQueue(path); in getImageFromWriteQueue()
179 mTaskPersister.saveImage(image, path); in saveImage()
186 mTaskPersister.flush(); in flush()
[all …]