/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | LaunchParamsPersisterTests.java | 86 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 …]
|
D | LetterboxConfigurationPersisterTest.java | 66 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/ |
D | TaskPersister.java | 84 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 …]
|
D | LetterboxConfigurationPersister.java | 95 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()
|
D | LaunchParamsPersister.java | 75 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()
|
D | PackageConfigPersister.java | 64 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()
|
D | ActivityTaskSupervisor.java | 284 PersisterQueue mPersisterQueue; field in ActivityTaskSupervisor 469 mPersisterQueue = new PersisterQueue(); in initialize() 470 mLaunchParamsPersister = new LaunchParamsPersister(mPersisterQueue, this); in initialize() 485 mPersisterQueue.startPersisting(); in onUserUnlocked()
|
D | RecentTasks.java | 285 taskSupervisor.mPersisterQueue); in RecentTasks()
|
D | ActivityTaskManagerService.java | 1028 mPackageConfigPersister = new PackageConfigPersister(mTaskSupervisor.mPersisterQueue, this); in initialize()
|