Home
last modified time | relevance | path

Searched refs:whenComplete (Results 1 – 10 of 10) 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.java197 public AndroidFuture<T> whenComplete(@NonNull BiConsumer<? super T, ? super Throwable> action) { in whenComplete() method in AndroidFuture
339 source.whenComplete(this); in ThenComposeAsync()
371 secondJob.whenComplete(this); in run()
399 source.whenComplete(this); in ThenApplyAsync()
446 sourceT.whenComplete(this); in ThenCombine()
459 mSourceU.whenComplete(this); in accept()
DServiceConnector.java463 ((CompletionStage) result).whenComplete(task); in processQueue()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DRemoteFillService.java179 connectThenFillRequest.whenComplete((res, err) -> Handler.getMain().post(() -> { in onFillRequest()
219 .whenComplete((res, err) -> Handler.getMain().post(() -> { in onSaveRequest()
DRemoteAugmentedAutofillService.java214 .whenComplete((res, err) -> { in onRequestAutofillLocked()
/frameworks/base/core/java/android/permission/
DPermissionControllerManager.java429 .whenComplete((nullResult, err) -> { in stageAndApplyRuntimePermissionsBackup() method
526 }).whenComplete((getAppPermissionsResult, err) -> finalHandler.post(() -> { in getAppPermissions()
579 }).whenComplete((countPermissionAppsResult, err) -> finalHandler.post(() -> { in countPermissionApps()
703 }).whenComplete((res, err) -> { in updateUserSensitiveForApp() method
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneSwitcherTest.java930 futurePhone.whenComplete((r, error) -> queue.offer(r)); in testEmergencyOverrideMultipleOverrideRequests()
940 futurePhone.whenComplete((r, error) -> queue.offer(r)); in testEmergencyOverrideMultipleOverrideRequests()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DHotwordDetectionConnection.java243 .whenComplete((res, err) -> { in updateStateAfterProcessStart()
/frameworks/base/services/companion/java/com/android/server/companion/
DCompanionDeviceManagerService.java457 }, FgThread.getExecutor()).whenComplete(uncheckExceptions((association, err) -> { in associate()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java25821 targetSdkVersion).whenComplete((ceDataInode, e) -> {