Home
last modified time | relevance | path

Searched defs:consumer (Results 1 – 25 of 38) 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/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/services/Telephony/tests/src/com/android/services/telephony/rcs/
DSipDelegateControllerTest.java101 BiConsumer<ISipDelegate, Set<FeatureTagState>> consumer = in testCreateDelegate() local
126 BiConsumer<ISipDelegate, Set<FeatureTagState>> consumer = in testCreateDeniedFeatures() local
242 BiConsumer<ISipDelegate, Set<FeatureTagState>> consumer = in testChangeSupportedFeatures() local
260 BiConsumer<ISipDelegate, Set<FeatureTagState>> consumer = in createSipDelegate() 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()
DLocalSource.java192 public void mapMediaItems(ArrayList<PathId> list, ItemConsumer consumer) { in mapMediaItems()
213 ItemConsumer consumer, boolean isImage) { in processMapMediaItems()
DFilterTypeSet.java127 ItemConsumer consumer = new ItemConsumer() { in delete() local
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/
DPinDialogFragment.java142 public abstract void setPin(String pin, String originalPin, Consumer<Boolean> consumer); in setPin()
149 public abstract void deletePin(String oldPin, Consumer<Boolean> consumer); in deletePin()
156 public abstract void isPinCorrect(String pin, Consumer<Boolean> consumer); in isPinCorrect()
162 public abstract void isPinSet(Consumer<Boolean> consumer); in isPinSet()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DQueryTask.java51 Handler handler, Consumer<C> consumer) { in QueryTask()
80 Consumer<C> consumer) { in startQuery()
/packages/services/Car/tests/carservice_unit_test/src/android/car/test/util/
DBlockingResultReceiverTest.java46 Thread consumer = new Thread(() -> { in testSend_andAssertCalled() local
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DCachedEventDispatcher.java51 public void setConsumer(Consumer<MotionEvent> consumer) { in setConsumer()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryUtils.java171 public boolean shouldHideUidBatteryConsumer(UidBatteryConsumer consumer) { in shouldHideUidBatteryConsumer()
180 public boolean shouldHideUidBatteryConsumer(UidBatteryConsumer consumer, String[] packages) { in shouldHideUidBatteryConsumer()
189 boolean shouldHideUidBatteryConsumerUnconditionally(UidBatteryConsumer consumer, in shouldHideUidBatteryConsumerUnconditionally()
198 public boolean shouldHideDevicePowerComponent(BatteryConsumer consumer, in shouldHideDevicePowerComponent()
DBatteryAppListPreferenceController.java315 final UidBatteryConsumer consumer = uidBatteryConsumers.get(i); in getCoalescedUsageList() local
376 final UserBatteryConsumer consumer = userBatteryConsumers.get(i); in getCoalescedUsageList() local
394 private int getRealUid(UidBatteryConsumer consumer) { in getRealUid()
/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()
/packages/services/Telephony/src/com/android/phone/settings/
DPickSmsSubscriptionActivity.java64 public static void addPendingResult(IIntegerConsumer consumer) { in addPendingResult()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryEntryTest.java96 UidBatteryConsumer consumer = mock(UidBatteryConsumer.class); in createBatteryEntryForApp() local
112 UserBatteryConsumer consumer = mock(UserBatteryConsumer.class); in createUserBatteryConsumer() local

12