Home
last modified time | relevance | path

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

12

/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/inspector/
DDocumentLoaderTest.java102 LatchedConsumer<DocumentInfo> consumer = new LatchedConsumer<>(1); in testLoadsDocument() local
121 LatchedConsumer<DocumentInfo> consumer = new LatchedConsumer<>(1); in testInvalidInput() local
135 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
182 LatchedConsumer<Bundle> consumer = new LatchedConsumer<>(1); in testLoadMetadata() local
199 LatchedConsumer<Bundle> consumer = new LatchedConsumer<>(1); in testLoadMetadata_Unsupported() local
/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/TvSettings/Settings/src/com/android/tv/settings/users/
DRestrictedProfilePinDialogFragment.java109 public void setPin(String pin, String originalPin, Consumer<Boolean> consumer) { in setPin()
118 public void deletePin(String oldPin, Consumer<Boolean> consumer) { in deletePin()
127 public void isPinCorrect(String pin, Consumer<Boolean> consumer) { in isPinCorrect()
136 public void isPinSet(Consumer<Boolean> consumer) { in isPinSet()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/
DPinDialogFragment.java139 public abstract void setPin(String pin, String originalPin, Consumer<Boolean> consumer); in setPin()
146 public abstract void deletePin(String oldPin, Consumer<Boolean> consumer); in deletePin()
153 public abstract void isPinCorrect(String pin, Consumer<Boolean> consumer); in isPinCorrect()
159 public abstract void isPinSet(Consumer<Boolean> consumer); in isPinSet()
/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()
DLocalSource.java192 public void mapMediaItems(ArrayList<PathId> list, ItemConsumer consumer) { in mapMediaItems()
213 ItemConsumer consumer, boolean isImage) { in processMapMediaItems()
DMediaSource.java76 public void mapMediaItems(ArrayList<PathId> list, ItemConsumer consumer) { in mapMediaItems()
DFilterTypeSet.java127 ItemConsumer consumer = new ItemConsumer() { in delete() local
DDataManager.java217 public void mapMediaItems(ArrayList<Path> list, ItemConsumer consumer, in mapMediaItems()
239 source.mapMediaItems(entry.getValue(), consumer); in mapMediaItems() 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/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/
DGsmCellBroadcastHandlerTest.java197 Consumer<Location> consumer = consumerCaptor.getValue(); in testTriggerMessage() local
247 Consumer<Location> consumer = captor.getValue(); in testGeofencingAlertOutOfPolygon() local
/packages/apps/Launcher3/src/com/android/launcher3/testing/
DTestLogging.java55 static void setEventConsumer(BiConsumer<String, String> consumer) { in setEventConsumer() argument
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/imaging/
DLocalImageFetcher.java127 public void getImage(Context context, ImageKey key, BiConsumer<ImageKey, Drawable> consumer) { in getImage()
163 public void cancelRequest(ImageKey key, BiConsumer<ImageKey, Drawable> consumer) { in cancelRequest()
DImageBinder.java85 @NonNull Consumer<Drawable> consumer) { in ImageBinder()
/packages/services/Telephony/src/com/android/phone/
DImsRcsController.java119 public void getImsRcsRegistrationState(int subId, IIntegerConsumer consumer) { in getImsRcsRegistrationState()
140 public void getImsRcsRegistrationTransportType(int subId, IIntegerConsumer consumer) { in getImsRcsRegistrationTransportType()
/packages/services/Telephony/src/com/android/phone/settings/
DPickSmsSubscriptionActivity.java64 public static void addPendingResult(IIntegerConsumer consumer) { in addPendingResult()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DIkeLocalRequestScheduler.java60 public IkeLocalRequestScheduler(IProcedureConsumer consumer, Context context) { in IkeLocalRequestScheduler()

12