Home
last modified time | relevance | path

Searched refs:mPersisterQueue (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DLaunchParamsPersisterTests.java86 private TestPersisterQueue mPersisterQueue; field in LaunchParamsPersisterTests
105 mPersisterQueue = new TestPersisterQueue(); in setUp()
135 mTarget = new LaunchParamsPersister(mPersisterQueue, mSupervisor, mUserFolderGetter); in setUp()
290 mPersisterQueue.flush(); in testSavesAndRestoresLaunchParamsAcrossInstances()
292 final LaunchParamsPersister target = new LaunchParamsPersister(mPersisterQueue, mSupervisor, in testSavesAndRestoresLaunchParamsAcrossInstances()
308 mPersisterQueue.flush(); in testUsesRecordWithSameWindowLayoutAffinityAcrossInstances_NoPreviousRecord()
310 final LaunchParamsPersister target = new LaunchParamsPersister(mPersisterQueue, mSupervisor, in testUsesRecordWithSameWindowLayoutAffinityAcrossInstances_NoPreviousRecord()
328 mPersisterQueue.flush(); in testUsesRecordWithSameWindowLayoutAffinityAcrossInstances_HasOldPreviousRecord()
336 mPersisterQueue.flush(); in testUsesRecordWithSameWindowLayoutAffinityAcrossInstances_HasOldPreviousRecord()
338 final LaunchParamsPersister target = new LaunchParamsPersister(mPersisterQueue, mSupervisor, in testUsesRecordWithSameWindowLayoutAffinityAcrossInstances_HasOldPreviousRecord()
[all …]
DLetterboxConfigurationPersisterTest.java66 private PersisterQueue mPersisterQueue; field in LetterboxConfigurationPersisterTest
75 mPersisterQueue = new PersisterQueue(); in setUp()
87 mConfigFolder, mPersisterQueue, mQueueState, in setUp()
90 mPersisterQueue.addListener(mQueueListener); in setUp()
96 deleteConfiguration(mLetterboxConfigurationPersister, mPersisterQueue); in tearDown()
97 waitForCompletion(mPersisterQueue); in tearDown()
98 mPersisterQueue.removeListener(mQueueListener); in tearDown()
99 stopPersisterSafe(mPersisterQueue); in tearDown()
127 waitForCompletion(mPersisterQueue); in test_whenUpdatedWithNewValues_valuesAreWritten()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskPersister.java84 private final PersisterQueue mPersisterQueue; field in TaskPersister
110 mPersisterQueue = persisterQueue; in TaskPersister()
111 mPersisterQueue.addListener(this); in TaskPersister()
120 mPersisterQueue = new PersisterQueue(); in TaskPersister()
121 mPersisterQueue.addListener(this); in TaskPersister()
125 mPersisterQueue.removeItems( in removeThumbnails()
193 synchronized (mPersisterQueue) { in wakeup()
195 final TaskWriteQueueItem item = mPersisterQueue.findLastItem( in wakeup()
202 mPersisterQueue.addItem(new TaskWriteQueueItem(task, mService), flush); in wakeup()
207 mPersisterQueue.addItem(PersisterQueue.EMPTY_ITEM, flush); in wakeup()
[all …]
DLetterboxConfigurationPersister.java95 private final PersisterQueue mPersisterQueue; field in LetterboxConfigurationPersister
124 mPersisterQueue = persisterQueue; in LetterboxConfigurationPersister()
132 mPersisterQueue.startPersisting(); in start()
252 mPersisterQueue.addItem(new UpdateValuesCommand(mConfigurationFile, in updateConfiguration()
DLaunchParamsPersister.java75 private final PersisterQueue mPersisterQueue; field in LaunchParamsPersister
109 mPersisterQueue = persisterQueue; in LaunchParamsPersister()
225 mPersisterQueue.addItem(new CleanUpComponentQueueItem(filesToDelete), true); in loadLaunchParams()
252 mPersisterQueue.updateLastOrAddItem( in saveTask()
365 synchronized (mPersisterQueue) { in removeRecordForPackage()
366 mPersisterQueue.removeItems( in removeRecordForPackage()
370 mPersisterQueue.addItem(new CleanUpComponentQueueItem(fileToDelete), true); in removeRecordForPackage()
DPackageConfigPersister.java64 private final PersisterQueue mPersisterQueue; field in PackageConfigPersister
80 mPersisterQueue = queue; in PackageConfigPersister()
230 mPersisterQueue.addItem(new WriteProcessItem(writeRecord), false /* flush */); in updateFromImpl()
298 mPersisterQueue.removeItems(item -> in removePackage()
307 mPersisterQueue.addItem(new DeletePackageItem(userId, packageName), in removePackage()
DActivityTaskSupervisor.java284 PersisterQueue mPersisterQueue; field in ActivityTaskSupervisor
469 mPersisterQueue = new PersisterQueue(); in initialize()
470 mLaunchParamsPersister = new LaunchParamsPersister(mPersisterQueue, this); in initialize()
485 mPersisterQueue.startPersisting(); in onUserUnlocked()
DRecentTasks.java285 taskSupervisor.mPersisterQueue); in RecentTasks()
DActivityTaskManagerService.java1028 mPackageConfigPersister = new PackageConfigPersister(mTaskSupervisor.mPersisterQueue, this); in initialize()