Searched refs:WriteQueueItem (Results 1 – 7 of 7) sorted by relevance
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
66 private final ArrayDeque<WriteQueueItem> mWriteQueue = new ArrayDeque<>();180 private void sendToQueueLocked(WriteQueueItem item) { in sendToQueueLocked()245 WriteQueueItem next;276 private abstract class WriteQueueItem { class in TaskSnapshotPersister292 private class StoreWriteQueueItem extends WriteQueueItem {410 private class DeleteWriteQueueItem extends WriteQueueItem {426 class RemoveObsoleteFilesQueueItem extends WriteQueueItem {
318 implements PersisterQueue.WriteQueueItem<LaunchParamsWriteQueueItem> {390 private class CleanUpComponentQueueItem implements PersisterQueue.WriteQueueItem {
508 private static class TaskWriteQueueItem implements PersisterQueue.WriteQueueItem {592 PersisterQueue.WriteQueueItem<ImageWriteQueueItem> {
394 private List<WriteQueueItem> mWriteQueue = new ArrayList<>();400 final WriteQueueItem item = mWriteQueue.remove(0); in flush()420 void addItem(WriteQueueItem item, boolean flush) { in addItem()428 synchronized <T extends WriteQueueItem> T findLastItem(Predicate<T> predicate, in findLastItem()431 WriteQueueItem writeQueueItem = mWriteQueue.get(i); in findLastItem()444 synchronized <T extends WriteQueueItem> void removeItems(Predicate<T> predicate, in removeItems()447 WriteQueueItem writeQueueItem = mWriteQueue.get(i); in removeItems()
347 implements PersisterQueue.WriteQueueItem<T> {
16306 …sister$LaunchParamsWriteQueueItem;->matches(Lcom/android/server/wm/PersisterQueue$WriteQueueItem;)Z16384 …android/server/wm/PersisterQueue;->addItem(Lcom/android/server/wm/PersisterQueue$WriteQueueItem;Z)V16386 …ava/util/function/Predicate;Ljava/lang/Class;)Lcom/android/server/wm/PersisterQueue$WriteQueueItem;16390 …er/wm/PersisterQueue;->updateLastOrAddItem(Lcom/android/server/wm/PersisterQueue$WriteQueueItem;Z)V16871 …TaskPersister$ImageWriteQueueItem;->matches(Lcom/android/server/wm/PersisterQueue$WriteQueueItem;)Z16874 …kPersister$ImageWriteQueueItem;->updateFrom(Lcom/android/server/wm/PersisterQueue$WriteQueueItem;)V17027 HSPLcom/android/server/wm/TaskSnapshotPersister$WriteQueueItem;->onDequeuedLocked()V20704 Lcom/android/server/wm/PersisterQueue$WriteQueueItem;20756 Lcom/android/server/wm/TaskSnapshotPersister$WriteQueueItem;