Home
last modified time | relevance | path

Searched refs:WriteQueueItem (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DPersisterQueue.java54 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
DTaskSnapshotPersister.java64 private final ArrayDeque<WriteQueueItem> mWriteQueue = new ArrayDeque<>();
204 private void sendToQueueLocked(WriteQueueItem item) { in sendToQueueLocked()
265 WriteQueueItem next;
304 private abstract class WriteQueueItem { class in TaskSnapshotPersister
327 private class StoreWriteQueueItem extends WriteQueueItem {
450 private class DeleteWriteQueueItem extends WriteQueueItem {
466 class RemoveObsoleteFilesQueueItem extends WriteQueueItem {
DLaunchParamsPersister.java375 implements PersisterQueue.WriteQueueItem<LaunchParamsWriteQueueItem> {
447 private class CleanUpComponentQueueItem implements PersisterQueue.WriteQueueItem {
DTaskPersister.java507 private static class TaskWriteQueueItem implements PersisterQueue.WriteQueueItem {
590 PersisterQueue.WriteQueueItem<ImageWriteQueueItem> {
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DLaunchParamsPersisterTests.java500 private List<WriteQueueItem> mWriteQueue = new ArrayList<>();
506 final WriteQueueItem item = mWriteQueue.remove(0); in flush()
526 void addItem(WriteQueueItem item, boolean flush) { in addItem()
534 synchronized <T extends WriteQueueItem> T findLastItem(Predicate<T> predicate, in findLastItem()
537 WriteQueueItem writeQueueItem = mWriteQueue.get(i); in findLastItem()
550 synchronized <T extends WriteQueueItem> void removeItems(Predicate<T> predicate, in removeItems()
553 WriteQueueItem writeQueueItem = mWriteQueue.get(i); in removeItems()
DPersisterQueueTests.java347 implements PersisterQueue.WriteQueueItem<T> {
/frameworks/base/services/
Dart-profile34417 …Lambda$pAuPvwUqsKCejIrAPrx0ARZSqeY;-><init>(Lcom/android/server/wm/PersisterQueue$WriteQueueItem;)V
37406 …android/server/wm/PersisterQueue;->addItem(Lcom/android/server/wm/PersisterQueue$WriteQueueItem;Z)V
37408 …ava/util/function/Predicate;Ljava/lang/Class;)Lcom/android/server/wm/PersisterQueue$WriteQueueItem;
37413 …er/wm/PersisterQueue;->updateLastOrAddItem(Lcom/android/server/wm/PersisterQueue$WriteQueueItem;Z)V
38587 …TaskPersister$ImageWriteQueueItem;->matches(Lcom/android/server/wm/PersisterQueue$WriteQueueItem;)Z
38590 …kPersister$ImageWriteQueueItem;->updateFrom(Lcom/android/server/wm/PersisterQueue$WriteQueueItem;)V
38699 HPLcom/android/server/wm/TaskSnapshotPersister$WriteQueueItem;-><init>(Lcom/android/server/wm/TaskS…
38700 HPLcom/android/server/wm/TaskSnapshotPersister$WriteQueueItem;-><init>(Lcom/android/server/wm/TaskS…
38701 PLcom/android/server/wm/TaskSnapshotPersister$WriteQueueItem;->isReady()Z
38702 HPLcom/android/server/wm/TaskSnapshotPersister$WriteQueueItem;->onDequeuedLocked()V
[all …]