Searched refs:mTaskPersister (Results 1 – 2 of 2) sorted by relevance
35 private TaskPersister mTaskPersister; field in TaskPersisterTest43 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()
74 private final TaskPersister mTaskPersister; field in RecentTasks96 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 …]