Home
last modified time | relevance | path

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

123

/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/modules/Wifi/tests/hostsidetests/multidevices/com.google.snippet.wifi/aware/
DWifiAwareSnippet.java328 Consumer<List<String>> consumer = value -> { in initiatePairingSetup() local
334 mWifiAwareManager.getPairedDevices(Executors.newSingleThreadScheduledExecutor(), consumer); in initiatePairingSetup() local
342 mWifiAwareManager.getPairedDevices(Executors.newSingleThreadScheduledExecutor(), consumer); in initiatePairingSetup() local
403 Consumer<List<String>> consumer = value -> { in respondToPairingSetup() local
409 mWifiAwareManager.getPairedDevices(Executors.newSingleThreadScheduledExecutor(), consumer); in respondToPairingSetup() local
417 mWifiAwareManager.getPairedDevices(Executors.newSingleThreadScheduledExecutor(), consumer); in respondToPairingSetup() local
/packages/apps/Launcher3/quickstep/tests/multivalentTests/src/com/android/quickstep/util/
DSplitSelectStateControllerTest.kt123 val consumer = in activeTasks_noMatchingTasks() constant
176 val consumer = in activeTasks_singleMatchingTask() constant
217 val consumer = in activeTasks_skipTaskWithDifferentUser() constant
273 val consumer = in activeTasks_findTaskAsNonPrimaryUser() constant
326 val consumer = in activeTasks_multipleMatchMostRecentTask() constant
380 val consumer = in activeTasks_multipleSearchShouldFindTask() constant
433 val consumer = in activeTasks_multipleSearchShouldNotFindSameTaskTwice() constant
499 val consumer = in activeTasks_multipleSearchShouldFindDifferentInstancesOfSameTask() constant
551 val consumer = in activeTasks_multipleSearchShouldFindExactPairMatch() constant
/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/Settings/src/com/android/settings/notification/modes/
DFutureUtil.java32 static <V> void whenDone(ListenableFuture<V> future, Consumer<V> consumer, Executor executor) { in whenDone()
36 static <V> void whenDone(ListenableFuture<V> future, Consumer<V> consumer, Executor executor, in whenDone()
/packages/services/Telephony/tests/src/com/android/services/telephony/rcs/
DSipDelegateControllerTest.java102 BiConsumer<ISipDelegate, Set<FeatureTagState>> consumer = in testCreateDelegate() local
128 BiConsumer<ISipDelegate, Set<FeatureTagState>> consumer = in testCreateDeniedFeatures() local
244 BiConsumer<ISipDelegate, Set<FeatureTagState>> consumer = in testChangeSupportedFeatures() local
264 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()
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()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/
DPinDialogFragment.java147 public abstract void setPin(String pin, String originalPin, Consumer<Boolean> consumer); in setPin()
154 public abstract void deletePin(String oldPin, Consumer<Boolean> consumer); in deletePin()
161 public abstract void isPinCorrect(String pin, Consumer<Boolean> consumer); in isPinCorrect()
167 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/services/Car/tests/carservice_unit_test/src/com/android/car/systeminterface/
DSystemPowerControlHelperTest.java67 private void testHelperMockedFileWrite(IntSupplier consumer, String target) throws Exception { in testHelperMockedFileWrite()
134 private void testHelperMockedFileRead(BooleanSupplier consumer, String fileContents, in testHelperMockedFileRead()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/
DMockTask.java41 Consumer<AbstractProvisioningTask> consumer) { in MockTask()
/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/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/
DMyVpnService.java81 BiConsumer<InetAddress, Integer> consumer) { in parseIpAndMaskListArgument()
98 Consumer<IpPrefix> consumer) { in parseIpPrefixListArgument()
/packages/modules/StatsD/statsd/src/socket/
DLogEventFilter.h86 virtual void setAtomIds(AtomIdSet tagIds, ConsumerId consumer) { in setAtomIds()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/
DBatteryEntryTest.java99 UidBatteryConsumer consumer = mock(UidBatteryConsumer.class); in createBatteryEntryForApp() local
124 UserBatteryConsumer consumer = mock(UserBatteryConsumer.class); in createUserBatteryConsumer() local
/packages/apps/Settings/src/com/android/settings/accessibility/
DScreenFlashNotificationPreferenceController.java103 final Consumer<Integer> consumer = color -> { in handlePreferenceTreeClick() local
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/
DQnsTelephonyListener.java1229 void addCallStatesChangedCallback(Consumer<List<CallState>> consumer) { in addCallStatesChangedCallback()
1233 void removeCallStatesChangedCallback(Consumer<List<CallState>> consumer) { in removeCallStatesChangedCallback()
1237 void addSrvccStateChangedCallback(Consumer<Integer> consumer) { in addSrvccStateChangedCallback()
1241 void removeSrvccStateChangedCallback(Consumer<Integer> consumer) { in removeSrvccStateChangedCallback()
1245 void addMediaQualityStatusCallback(Consumer<MediaQualityStatus> consumer) { in addMediaQualityStatusCallback()
1249 void removeMediaQualityStatusCallback(Consumer<MediaQualityStatus> consumer) { in removeMediaQualityStatusCallback()
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/wifi/
DWepNetworksPreferenceControllerTest.kt65 val consumer = it.arguments[1] as Consumer<Boolean> in <lambda>() constant
/packages/services/Telephony/src/com/android/phone/settings/
DPickSmsSubscriptionActivity.java65 public static void addPendingResult(IIntegerConsumer consumer) { in addPendingResult()
/packages/apps/Launcher3/src/com/android/launcher3/testing/
DTestLogging.java90 static void setEventConsumer(BiConsumer<String, String> consumer) { in setEventConsumer() argument
/packages/services/Telephony/tests/src/com/android/services/telephony/domainselection/
DNormalCallDomainSelectorTest.java779 public void onWwanSelected(final Consumer<WwanSelectorCallback> consumer) { in onWwanSelected()
802 @NonNull Consumer<EmergencyRegistrationResult> consumer) { in onRequestEmergencyNetworkScan()

123