/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/inspector/ |
D | DocumentLoaderTest.java | 102 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/ |
D | Consumers.java | 28 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()
|
D | NowOrLater.java | 41 void getLater(Consumer<? super C> consumer); in getLater()
|
D | SQLiteAsyncQuery.java | 39 public void run(SQLiteDatabase db, Consumer<A> consumer) { in run()
|
D | Now.java | 29 public void getLater(Consumer<? super C> consumer) { in getLater()
|
D | NowOrLaterWrapper.java | 29 public void getLater(final Consumer<? super B> consumer) { in getLater()
|
D | CachedLater.java | 79 public void getLater(Consumer<? super A> consumer) { in getLater()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/ |
D | RestrictedProfilePinDialogFragment.java | 109 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/ |
D | IconLoaderTest.java | 50 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/ |
D | SipDelegateControllerTest.java | 101 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/ |
D | ClusterAlbum.java | 83 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
|
D | MediaSet.java | 187 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()
|
D | MediaSource.java | 76 public void mapMediaItems(ArrayList<PathId> list, ItemConsumer consumer) { in mapMediaItems()
|
D | LocalSource.java | 192 public void mapMediaItems(ArrayList<PathId> list, ItemConsumer consumer) { in mapMediaItems() 213 ItemConsumer consumer, boolean isImage) { in processMapMediaItems()
|
D | FilterTypeSet.java | 127 ItemConsumer consumer = new ItemConsumer() { in delete() local
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/ |
D | PinDialogFragment.java | 142 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/ |
D | QueryTask.java | 51 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/ |
D | BlockingResultReceiverTest.java | 46 Thread consumer = new Thread(() -> { in testSend_andAssertCalled() local
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
D | CachedEventDispatcher.java | 51 public void setConsumer(Consumer<MotionEvent> consumer) { in setConsumer()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BatteryUtils.java | 171 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()
|
D | BatteryAppListPreferenceController.java | 315 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/ |
D | TestLogging.java | 55 static void setEventConsumer(BiConsumer<String, String> consumer) { in setEventConsumer() argument
|
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/imaging/ |
D | LocalImageFetcher.java | 127 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/ |
D | PickSmsSubscriptionActivity.java | 64 public static void addPendingResult(IIntegerConsumer consumer) { in addPendingResult()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
D | BatteryEntryTest.java | 96 UidBatteryConsumer consumer = mock(UidBatteryConsumer.class); in createBatteryEntryForApp() local 112 UserBatteryConsumer consumer = mock(UserBatteryConsumer.class); in createUserBatteryConsumer() local
|