Searched refs:findLastItem (Results 1 – 5 of 5) sorted by relevance
119 synchronized <T extends WriteQueueItem> T findLastItem(Predicate<T> predicate, Class<T> clazz) { in findLastItem() method in PersisterQueue138 final T itemToUpdate = findLastItem(item::matches, (Class<T>) item.getClass()); in updateLastOrAddItem()
191 final TaskWriteQueueItem item = mPersisterQueue.findLastItem( in wakeup()237 final ImageWriteQueueItem item = mPersisterQueue.findLastItem( in getImageFromWriteQueue()
213 assertNull(mTarget.findLastItem(TestItem::shouldKeepOnFilter, in testFindLastItemNotReturnDifferentType()222 assertNull(mTarget.findLastItem(TestItem::shouldKeepOnFilter, in testFindLastItemNotReturnMismatchItem()232 assertSame(item, mTarget.findLastItem(TestItem::shouldKeepOnFilter, in testFindLastItemReturnMatchedItem()
428 synchronized <T extends WriteQueueItem> T findLastItem(Predicate<T> predicate, in findLastItem() method in LaunchParamsPersisterTests.TestPersisterQueue
16386 HSPLcom/android/server/wm/PersisterQueue;->findLastItem(Ljava/util/function/Predicate;Ljava/lang/Cl…