Home
last modified time | relevance | path

Searched refs:BiConsumer (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/imaging/
DLocalImageFetcher.java54 import java.util.function.BiConsumer;
85 private final Map<ImageKey, HashSet<BiConsumer<ImageKey, Drawable>>> mConsumers =
129 public void getImage(Context context, ImageKey key, BiConsumer<ImageKey, Drawable> consumer) { in getImage()
138 HashSet<BiConsumer<ImageKey, Drawable>> consumers = mConsumers.get(key); in getImage()
165 public void cancelRequest(ImageKey key, BiConsumer<ImageKey, Drawable> consumer) { in cancelRequest()
166 HashSet<BiConsumer<ImageKey, Drawable>> consumers = mConsumers.get(key); in cancelRequest()
201 HashSet<BiConsumer<ImageKey, Drawable>> consumers = mConsumers.remove(key); in fulfilRequests()
204 for (BiConsumer<ImageKey, Drawable> consumer : consumers) { in fulfilRequests()
DImageBinder.java34 import java.util.function.BiConsumer;
79 private BiConsumer<ImageKey, Drawable> mFetchReceiver;
/packages/services/Car/service/src/com/android/car/
DOnShutdownReboot.java25 import java.util.function.BiConsumer;
45 for (BiConsumer<Context, Intent> action : mActions) {
51 private final CopyOnWriteArrayList<BiConsumer<Context, Intent>> mActions =
62 OnShutdownReboot addAction(BiConsumer<Context, Intent> action) { in addAction()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DThumbnailLoader.java37 import java.util.function.BiConsumer;
51 public static final BiConsumer<View, View> ANIM_FADE_IN = (mime, thumb) -> {
57 public static final BiConsumer<View, View> ANIM_NO_OP = (mime, thumb) -> {};
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DIconHelper.java48 import java.util.function.BiConsumer;
199 final BiConsumer<View, View> animator = in loadThumbnail()
/packages/apps/Car/libs/car-assist-client-lib/src/com/android/car/assist/client/tts/
DTextToSpeechHelper.java35 import java.util.function.BiConsumer;
281 BiConsumer<BatchListener, Pair<String, Integer>> callback) {
/packages/apps/Car/libs/car-broadcastradio-support/src/com/android/car/broadcastradio/support/platform/
DProgramSelectorExt.java35 import java.util.function.BiConsumer;
298 BiConsumer<Integer, String> add = (idType, name) -> {
/packages/apps/Dialer/java/com/android/dialer/function/
DBiConsumer.java20 public interface BiConsumer<T, U> { interface
/packages/apps/Car/libs/car-arch-common/src/com/android/car/arch/common/
DLiveDataFunctions.java33 import java.util.function.BiConsumer;
522 public static <T, U> Observer<Pair<T, U>> split(@NonNull BiConsumer<T, U> consumer) {
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/ipmemorystore/
DIpMemoryStoreServiceTest.java81 import java.util.function.BiConsumer;
208 private IOnStatusAndCountListener onDeleteStatus(BiConsumer<Status, Integer> functor) {
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DHelpers.java68 import java.util.function.BiConsumer;