/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/modules/Wifi/tests/hostsidetests/multidevices/com.google.snippet.wifi/aware/ |
D | WifiAwareSnippet.java | 328 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/ |
D | SplitSelectStateControllerTest.kt | 123 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/ |
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/Settings/src/com/android/settings/notification/modes/ |
D | FutureUtil.java | 32 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/ |
D | SipDelegateControllerTest.java | 102 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/ |
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 | LocalSource.java | 192 public void mapMediaItems(ArrayList<PathId> list, ItemConsumer consumer) { in mapMediaItems() 213 ItemConsumer consumer, boolean isImage) { in processMapMediaItems()
|
D | MediaSource.java | 76 public void mapMediaItems(ArrayList<PathId> list, ItemConsumer consumer) { in mapMediaItems()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/ |
D | PinDialogFragment.java | 147 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/ |
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/Car/tests/carservice_unit_test/src/com/android/car/systeminterface/ |
D | SystemPowerControlHelperTest.java | 67 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/ |
D | MockTask.java | 41 Consumer<AbstractProvisioningTask> consumer) { in MockTask()
|
/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/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/ |
D | MyVpnService.java | 81 BiConsumer<InetAddress, Integer> consumer) { in parseIpAndMaskListArgument() 98 Consumer<IpPrefix> consumer) { in parseIpPrefixListArgument()
|
/packages/modules/StatsD/statsd/src/socket/ |
D | LogEventFilter.h | 86 virtual void setAtomIds(AtomIdSet tagIds, ConsumerId consumer) { in setAtomIds()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/ |
D | BatteryEntryTest.java | 99 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/ |
D | ScreenFlashNotificationPreferenceController.java | 103 final Consumer<Integer> consumer = color -> { in handlePreferenceTreeClick() local
|
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/ |
D | QnsTelephonyListener.java | 1229 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/ |
D | WepNetworksPreferenceControllerTest.kt | 65 val consumer = it.arguments[1] as Consumer<Boolean> in <lambda>() constant
|
/packages/services/Telephony/src/com/android/phone/settings/ |
D | PickSmsSubscriptionActivity.java | 65 public static void addPendingResult(IIntegerConsumer consumer) { in addPendingResult()
|
/packages/apps/Launcher3/src/com/android/launcher3/testing/ |
D | TestLogging.java | 90 static void setEventConsumer(BiConsumer<String, String> consumer) { in setEventConsumer() argument
|
/packages/services/Telephony/tests/src/com/android/services/telephony/domainselection/ |
D | NormalCallDomainSelectorTest.java | 779 public void onWwanSelected(final Consumer<WwanSelectorCallback> consumer) { in onWwanSelected() 802 @NonNull Consumer<EmergencyRegistrationResult> consumer) { in onRequestEmergencyNetworkScan()
|