Searched refs:WriteQueueItem (Results 1 – 12 of 12) sorted by relevance
/frameworks/base/services/core/java/com/android/server/wm/ |
D | PersisterQueue.java | 54 static final WriteQueueItem EMPTY_ITEM = () -> { }; 59 private final ArrayList<WriteQueueItem> mWriteQueue = new ArrayList<>(); 108 synchronized void addItem(WriteQueueItem item, boolean flush) { in addItem() 119 synchronized <T extends WriteQueueItem> T findLastItem(Predicate<T> predicate, Class<T> clazz) { in findLastItem() 121 WriteQueueItem writeQueueItem = mWriteQueue.get(i); in findLastItem() 137 synchronized <T extends WriteQueueItem> void updateLastOrAddItem(T item, boolean flush) { in updateLastOrAddItem() 151 synchronized <T extends WriteQueueItem> void removeItems(Predicate<T> predicate, in removeItems() 154 WriteQueueItem writeQueueItem = mWriteQueue.get(i); in removeItems() 204 final WriteQueueItem item; in processNextItem() 251 interface WriteQueueItem<T extends WriteQueueItem<T>> { interface in PersisterQueue
|
D | SnapshotPersistQueue.java | 57 private final ArrayDeque<WriteQueueItem> mWriteQueue = new ArrayDeque<>(); 123 private void addToQueueInternal(WriteQueueItem item, boolean insertToFront) { in addToQueueInternal() 138 void sendToQueueLocked(WriteQueueItem item) { in sendToQueueLocked() 143 void insertQueueAtFirstLocked(WriteQueueItem item) { in insertQueueAtFirstLocked() 175 WriteQueueItem next; 214 abstract static class WriteQueueItem { class in SnapshotPersistQueue 217 WriteQueueItem(@NonNull PersistInfoProvider persistInfoProvider, int userId) { in WriteQueueItem() method in SnapshotPersistQueue.WriteQueueItem 248 class StoreWriteQueueItem extends WriteQueueItem { 409 private class DeleteWriteQueueItem extends WriteQueueItem { 431 final WriteQueueItem[] items; in dump() [all …]
|
D | TaskSnapshotPersister.java | 100 class RemoveObsoleteFilesQueueItem extends SnapshotPersistQueue.WriteQueueItem {
|
D | PackageConfigPersister.java | 411 private static class DeletePackageItem implements PersisterQueue.WriteQueueItem { 434 private class WriteProcessItem implements PersisterQueue.WriteQueueItem {
|
D | LaunchParamsPersister.java | 398 implements PersisterQueue.WriteQueueItem<LaunchParamsWriteQueueItem> { 469 private class CleanUpComponentQueueItem implements PersisterQueue.WriteQueueItem {
|
D | LetterboxConfigurationPersister.java | 290 PersisterQueue.WriteQueueItem<UpdateValuesCommand> {
|
D | ActivitySnapshotController.java | 165 new SnapshotPersistQueue.WriteQueueItem(mPersistInfoProvider, userId) { in cleanUpUserFiles() 257 class LoadActivitySnapshotItem extends SnapshotPersistQueue.WriteQueueItem {
|
D | TaskPersister.java | 561 private static class TaskWriteQueueItem implements PersisterQueue.WriteQueueItem { 642 PersisterQueue.WriteQueueItem<ImageWriteQueueItem> {
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | LaunchParamsPersisterTests.java | 514 private List<WriteQueueItem> mWriteQueue = new ArrayList<>(); 520 final WriteQueueItem item = mWriteQueue.remove(0); in flush() 540 void addItem(WriteQueueItem item, boolean flush) { in addItem() 548 synchronized <T extends WriteQueueItem> T findLastItem(Predicate<T> predicate, in findLastItem() 551 WriteQueueItem writeQueueItem = mWriteQueue.get(i); in findLastItem() 564 synchronized <T extends WriteQueueItem> void removeItems(Predicate<T> predicate, in removeItems() 567 WriteQueueItem writeQueueItem = mWriteQueue.get(i); in removeItems()
|
D | LetterboxConfigurationPersisterTest.java | 241 writeQueueItem -> true, PersisterQueue.WriteQueueItem.class) != null; in isQueueEmpty() 258 PersisterQueue.WriteQueueItem<DeleteFileCommand> {
|
D | PersisterQueueTests.java | 344 implements PersisterQueue.WriteQueueItem<T> {
|
/frameworks/base/services/ |
D | art-wear-profile | 1403 Lcom/android/server/wm/PersisterQueue$WriteQueueItem; 27703 …android/server/wm/PersisterQueue;->addItem(Lcom/android/server/wm/PersisterQueue$WriteQueueItem;Z)V 27705 …ava/util/function/Predicate;Ljava/lang/Class;)Lcom/android/server/wm/PersisterQueue$WriteQueueItem; 28054 PLcom/android/server/wm/SnapshotPersistQueue$WriteQueueItem;-><init>(Lcom/android/server/wm/BaseApp… 28055 PLcom/android/server/wm/SnapshotPersistQueue$WriteQueueItem;->isReady(Lcom/android/server/pm/UserMa… 28056 PLcom/android/server/wm/SnapshotPersistQueue$WriteQueueItem;->onDequeuedLocked()V 28057 PLcom/android/server/wm/SnapshotPersistQueue$WriteQueueItem;->onQueuedLocked()V 28064 …hotPersistQueue;->addToQueueInternal(Lcom/android/server/wm/SnapshotPersistQueue$WriteQueueItem;Z)V 28069 …pshotPersistQueue;->sendToQueueLocked(Lcom/android/server/wm/SnapshotPersistQueue$WriteQueueItem;)V
|