Home
last modified time | relevance | path

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

/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/imaging/
DLocalImageFetcher.java52 import java.util.function.BiConsumer;
83 private final Map<ImageKey, HashSet<BiConsumer<ImageKey, Drawable>>> mConsumers =
127 public void getImage(Context context, ImageKey key, BiConsumer<ImageKey, Drawable> consumer) { in getImage()
136 HashSet<BiConsumer<ImageKey, Drawable>> consumers = mConsumers.get(key); in getImage()
163 public void cancelRequest(ImageKey key, BiConsumer<ImageKey, Drawable> consumer) { in cancelRequest()
164 HashSet<BiConsumer<ImageKey, Drawable>> consumers = mConsumers.get(key); in cancelRequest()
199 HashSet<BiConsumer<ImageKey, Drawable>> consumers = mConsumers.remove(key); in fulfilRequests()
202 for (BiConsumer<ImageKey, Drawable> consumer : consumers) { in fulfilRequests()
DImageBinder.java35 import java.util.function.BiConsumer;
80 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/Launcher3/src/com/android/launcher3/testing/
DTestLogging.java24 import java.util.function.BiConsumer;
27 private static BiConsumer<String, String> sEventConsumer;
31 final BiConsumer<String, String> eventConsumer = sEventConsumer; in recordEventSlow()
55 static void setEventConsumer(BiConsumer<String, String> consumer) { in setEventConsumer()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/
DDejankBinderTracker.java32 import java.util.function.BiConsumer;
53 private BiConsumer<String, Integer> mUnexpectedTransactionCallback;
93 public DejankBinderTracker(BiConsumer<String, Integer> unexpectedTransactionCallback) { in DejankBinderTracker()
/packages/apps/Launcher3/src/com/android/launcher3/icons/
DIconProvider.java43 import java.util.function.BiConsumer;
199 BiConsumer<String, UserHandle> callback, Handler handler) { in registerIconChangeListener()
220 private final BiConsumer<String, UserHandle> mCallback;
222 DateTimeChangeReceiver(BiConsumer<String, UserHandle> callback) { in DateTimeChangeReceiver()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DThumbnailLoader.java40 import java.util.function.BiConsumer;
54 public static final BiConsumer<View, View> ANIM_FADE_IN = (mime, thumb) -> {
60 public static final BiConsumer<View, View> ANIM_NO_OP = (mime, thumb) -> {};
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DIconHelper.java50 import java.util.function.BiConsumer;
214 final BiConsumer<View, View> animator = in loadThumbnail()
/packages/apps/Launcher3/src/com/android/launcher3/anim/
DAnimatorPlaybackController.java37 import java.util.function.BiConsumer;
312 Animator anim, BiConsumer<AnimatorListener, Animator> command) { in callListenerCommandRecursively()
/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/services/Car/car-lib/src/android/car/vms/
DVmsClient.java43 import java.util.function.BiConsumer;
361 private void executeCallback(BiConsumer<VmsClient, VmsClientCallback> callbackOperation) { in executeCallback()
/packages/apps/Dialer/java/com/android/dialer/function/
DBiConsumer.java20 public interface BiConsumer<T, U> { interface
/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/Launcher3/src/com/android/launcher3/model/
DBgDataModel.java58 import java.util.function.BiConsumer;
284 BiConsumer<List<String>, String> idOp) { in updatePinnedShortcuts()
/packages/apps/Car/libs/car-arch-common/src/com/android/car/arch/common/
DLiveDataFunctions.java32 import java.util.function.BiConsumer;
521 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/tests/src/com/android/providers/downloads/
DHelpersTest.java56 import java.util.function.BiConsumer;