Home
last modified time | relevance | path

Searched defs:consumer (Results 1 – 20 of 20) sorted by relevance

/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DConsumers.java28 public static <A extends QuietlyCloseable> void consumeCloseable(Consumer<A> consumer, in consumeCloseable()
39 final Consumer<A> consumer, final A value) { in consumeAsync()
52 final Consumer<A> consumer, final A value) { in consumeCloseableAsync()
65 final Handler handler, final Consumer<A> consumer) { in createAsyncConsumer()
DNowOrLater.java41 void getLater(Consumer<? super C> consumer); in getLater()
DSQLiteAsyncQuery.java39 public void run(SQLiteDatabase db, Consumer<A> consumer) { in run()
DNow.java29 public void getLater(Consumer<? super C> consumer) { in getLater()
DNowOrLaterWrapper.java29 public void getLater(final Consumer<? super B> consumer) { in getLater()
DCachedLater.java79 public void getLater(Consumer<? super A> consumer) { in getLater()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/inspector/
DDocumentLoaderTest.java101 LatchedConsumer<DocumentInfo> consumer = new LatchedConsumer<>(1); in testLoadsDocument() local
122 LatchedConsumer<DocumentInfo> consumer = new LatchedConsumer<>(1); in testInvalidInput() local
136 LatchedConsumer<DocumentInfo> consumer = new LatchedConsumer<>(1); in testNonContentUri() local
154 LatchedConsumer<Integer> consumer = new LatchedConsumer<>(1); in testDir_loadNumberOfChildren() local
168 LatchedConsumer<Integer> consumer = new LatchedConsumer<>(1); in testDir_notADirectory() local
181 LatchedConsumer<Bundle> consumer = new LatchedConsumer<>(1); in testLoadMetadata() local
198 LatchedConsumer<Bundle> consumer = new LatchedConsumer<>(1); in testLoadMetadata_Unsupported() local
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
DIconLoaderTest.java50 AssertConsumer<Object> consumer = new AssertConsumer<Object>(); in assertNull() local
60 AssertConsumer<Object> consumer = new AssertConsumer<Object>(); in assertNotNull() local
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DClusterAlbum.java83 ItemConsumer consumer = new ItemConsumer() { in getMediaItemFromPath() local
98 protected int enumerateMediaItems(ItemConsumer consumer, int startIndex) { in enumerateMediaItems()
128 ItemConsumer consumer = new ItemConsumer() { in delete() local
DMediaSet.java187 public void enumerateMediaItems(ItemConsumer consumer) { in enumerateMediaItems()
191 public void enumerateTotalMediaItems(ItemConsumer consumer) { in enumerateTotalMediaItems()
202 protected int enumerateMediaItems(ItemConsumer consumer, int startIndex) { in enumerateMediaItems()
220 ItemConsumer consumer, int startIndex) { in enumerateTotalMediaItems()
DMediaSource.java76 public void mapMediaItems(ArrayList<PathId> list, ItemConsumer consumer) { in mapMediaItems()
DFilterTypeSet.java127 ItemConsumer consumer = new ItemConsumer() { in delete() local
DLocalSource.java192 public void mapMediaItems(ArrayList<PathId> list, ItemConsumer consumer) { in mapMediaItems()
213 ItemConsumer consumer, boolean isImage) { in processMapMediaItems()
DDataManager.java217 public void mapMediaItems(ArrayList<Path> list, ItemConsumer consumer, in mapMediaItems()
239 source.mapMediaItems(entry.getValue(), consumer); in mapMediaItems() local
DSecureAlbum.java99 ItemConsumer consumer = new ItemConsumer() { in getMediaItem() local
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DQueryTask.java51 Handler handler, Consumer<C> consumer) { in QueryTask()
80 Consumer<C> consumer) { in startQuery()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DCachedEventDispatcher.java51 public void setConsumer(Consumer<MotionEvent> consumer) { in setConsumer()
/packages/services/Telephony/src/com/android/phone/settings/
DPickSmsSubscriptionActivity.java64 public static void addPendingResult(IIntegerConsumer consumer) { in addPendingResult()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DMasterImage.java334 Buffer consumer = mPreviewBuffer.getConsumer(); in getFilteredImage() local
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java607 public static void acceptWithExpansion(Consumer<Uri> consumer, Uri uri) { in acceptWithExpansion()
634 private static void acceptWithExpansionInternal(Consumer<Uri> consumer, Uri uri, int match) { in acceptWithExpansionInternal()
4286 private @BytesLong long forEachContributedMedia(String packageName, Consumer<Uri> consumer) { in forEachContributedMedia()