Home
last modified time | relevance | path

Searched refs:whenComplete (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/infra/
DAndroidFutureTest.java54 future.whenComplete((obj, err) -> { in testWhenComplete_AlreadyComplete()
66 future.whenComplete((obj, err) -> { in testWhenComplete_NotYetComplete()
93 future.whenComplete((obj, err) -> { in testCompleteExceptionally_Listener()
/frameworks/base/core/java/com/android/internal/infra/
DAndroidFuture.java188 public AndroidFuture<T> whenComplete(@NonNull BiConsumer<? super T, ? super Throwable> action) { in whenComplete() method in AndroidFuture
333 source.whenComplete(this); in ThenComposeAsync()
365 secondJob.whenComplete(this); in run()
393 source.whenComplete(this); in ThenApplyAsync()
440 sourceT.whenComplete(this); in ThenCombine()
453 mSourceU.whenComplete(this); in accept()
DServiceConnector.java464 ((CompletionStage) result).whenComplete(task); in processQueue()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DRemoteFillService.java177 connectThenFillRequest.whenComplete((res, err) -> Handler.getMain().post(() -> { in onFillRequest()
217 .whenComplete((res, err) -> Handler.getMain().post(() -> { in onSaveRequest()
DRemoteAugmentedAutofillService.java206 .whenComplete((res, err) -> { in onRequestAutofillLocked()
/frameworks/base/core/java/android/permission/
DPermissionControllerManager.java428 .whenComplete((nullResult, err) -> { in stageAndApplyRuntimePermissionsBackup() method
522 }).whenComplete((getAppPermissionsResult, err) -> finalHandler.post(() -> { in getAppPermissions()
575 }).whenComplete((countPermissionAppsResult, err) -> finalHandler.post(() -> { in countPermissionApps()
671 }).whenComplete((res, err) -> { in updateUserSensitiveForApp() method
/frameworks/base/core/java/android/app/role/
DRoleControllerManager.java260 .whenComplete((res, err) -> executor.execute(() -> { in propagateCallback()
278 .whenComplete((res, err) -> { in propagateCallback()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneSwitcherTest.java766 futurePhone.whenComplete((r, error) -> queue.offer(r)); in testEmergencyOverrideMultipleOverrideRequests()
776 futurePhone.whenComplete((r, error) -> queue.offer(r)); in testEmergencyOverrideMultipleOverrideRequests()
/frameworks/base/services/companion/java/com/android/server/companion/
DCompanionDeviceManagerService.java311 }).whenComplete(uncheckExceptions((association, err) -> { in associate()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/base/config/
Dboot-image-profile.txt27989 HSPLcom/android/internal/infra/AndroidFuture;->whenComplete(Ljava/util/function/BiConsumer;)Lcom/an…
27990 PLcom/android/internal/infra/AndroidFuture;->whenComplete(Ljava/util/function/BiConsumer;)Ljava/uti…
36925 HSPLjava/util/concurrent/CompletableFuture;->whenComplete(Ljava/util/function/BiConsumer;)Ljava/uti…
/frameworks/base/api/
Dcurrent.txt75053 …method public java.util.concurrent.CompletableFuture<T> whenComplete(java.util.function.BiConsumer…
75112 …method public java.util.concurrent.CompletionStage<T> whenComplete(java.util.function.BiConsumer<?…