/frameworks/base/core/java/com/android/internal/infra/ |
D | AndroidFuture.java | 98 completeExceptionally(readThrowable(in)); in AndroidFuture() 143 public boolean completeExceptionally(@NonNull Throwable ex) { in completeExceptionally() method in AndroidFuture 144 boolean changed = super.completeExceptionally(ex); in completeExceptionally() 289 completeExceptionally(new TimeoutException()); in triggerTimeout() 345 completeExceptionally(err); in accept() 363 completeExceptionally(t); in run() 404 completeExceptionally(err); in accept() 416 completeExceptionally(t); in run() 451 completeExceptionally(err); in accept() 471 completeExceptionally(t); in accept() [all …]
|
D | ServiceConnector.java | 437 task.completeExceptionally(new IllegalStateException( in enqueue() 454 completeExceptionally(job, in enqueueJobThread() 457 completeExceptionally(job, in enqueueJobThread() 465 completeExceptionally(job, in enqueueJobThread() 478 void completeExceptionally(@NonNull Job<?, ?> job, @NonNull Throwable ex) { in completeExceptionally() method in ServiceConnector.Impl 482 taskChanged = task.completeExceptionally(ex); in completeExceptionally() 520 completeExceptionally(job, e); in processQueue() 793 completeExceptionally(err); in accept() 816 completeExceptionally(new IllegalStateException("ServiceConnector is a no-op")); in completeExceptionally() method
|
D | RemoteStream.java | 204 completeExceptionally(e); 216 completeExceptionally(t);
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/app/ |
D | FakeServiceConnector.java | 66 androidFuture.completeExceptionally(ex); in postForResult() 81 androidFuture.completeExceptionally(exception); in postAsync() 87 androidFuture.completeExceptionally(ex); in postAsync()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | IRemoteInputConnectionInvoker.java | 201 future.completeExceptionally(e); in getTextAfterCursor() 222 future.completeExceptionally(e); in getTextBeforeCursor() 242 future.completeExceptionally(e); in getSelectedText() 267 future.completeExceptionally(e); in getSurroundingText() 287 future.completeExceptionally(e); in getCursorCapsMode() 309 future.completeExceptionally(e); in getExtractedText() 780 future.completeExceptionally(e); in requestCursorUpdates() 804 future.completeExceptionally(e); in requestCursorUpdates() 849 future.completeExceptionally(e); in commitContent()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/infra/ |
D | AndroidFutureTest.java | 82 future.completeExceptionally(origException); in testCompleteExceptionally() 92 future.completeExceptionally(origException); in testCompleteExceptionally_Listener() 118 future1.completeExceptionally(new UnsupportedOperationException()); in testWriteToParcel_Exception() 153 future2.completeExceptionally(new UnsupportedOperationException()); in testWriteToParcel_Incomplete_Exception()
|
/frameworks/base/services/core/java/com/android/server/ondeviceintelligence/callbacks/ |
D | ListenableDownloadCallback.java | 80 future.completeExceptionally(new TimeoutException()); in onDownloadFailed() 93 future.completeExceptionally( in run()
|
/frameworks/base/services/companion/java/com/android/server/companion/transport/ |
D | Transport.java | 162 pending.completeExceptionally(new IllegalArgumentException( in sendMessage() 194 pending.completeExceptionally(e); in requestForResponse() 208 pending.completeExceptionally(e); in sendAndForget() 311 future.completeExceptionally(new RuntimeException("Remote failure")); in processResponse()
|
/frameworks/base/core/java/android/permission/ |
D | PermissionControllerService.java | 662 callback.completeExceptionally(e); in onBind() 700 callback.completeExceptionally(t); in onBind() 714 callback.completeExceptionally(t); in onBind() 728 callback.completeExceptionally(t); in onBind() 742 callback.completeExceptionally(t); in onBind() 758 callback.completeExceptionally(t); in onBind() 779 callback.completeExceptionally(t); in onBind()
|
/frameworks/base/core/java/com/android/internal/inputmethod/ |
D | IRemoteAccessibilityInputConnectionInvoker.java | 136 future.completeExceptionally(e); in getSurroundingText() 213 future.completeExceptionally(e); in getCursorCapsMode()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/ |
D | TestUiOffloadThread.java | 53 future.completeExceptionally(e); in execute()
|
/frameworks/base/services/core/java/com/android/server/ondeviceintelligence/ |
D | BundleUtil.java | 222 future.completeExceptionally(new TimeoutException()); in wrapWithValidation() 272 future.completeExceptionally(new TimeoutException()); 315 future.completeExceptionally(new TimeoutException());
|
D | OnDeviceIntelligenceManagerService.java | 291 future.completeExceptionally(new TimeoutException()); in getOnDeviceIntelligenceManagerService() 333 future.completeExceptionally(new TimeoutException()); in getOnDeviceIntelligenceManagerService() 375 future.completeExceptionally(null); in getOnDeviceIntelligenceManagerService() 771 future.completeExceptionally(error); 1006 future.completeExceptionally(e); 1027 future.completeExceptionally(e);
|
/frameworks/base/services/credentials/java/com/android/server/credentials/ |
D | RemoteCredentialService.java | 177 getCredentials.completeExceptionally( in onBeginGetCredential() 240 createCredentialFuture.completeExceptionally( in onBeginCreateCredential() 302 clearCredentialFuture.completeExceptionally( in onClearCredentialState()
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ |
D | RemoteFillService.java | 317 fillRequest.completeExceptionally( in onFillCredentialRequest() 390 fillRequest.completeExceptionally( in onFillRequest() 453 .completeExceptionally( in onConvertCredentialRequest() 485 save.completeExceptionally(new RuntimeException(String.valueOf(message))); in onSaveRequest()
|
/frameworks/base/core/java/android/service/games/ |
D | GameSessionTrampolineActivity.java | 106 future.completeExceptionally(e); in onCreate()
|
D | GameSessionService.java | 115 createGameSessionResultFuture.completeExceptionally( in doCreate()
|
D | GameSession.java | 442 takeScreenshotResult.completeExceptionally(ex); in takeScreenshot()
|
/frameworks/base/core/tests/InputMethodCoreTests/src/com/android/internal/inputmethod/ |
D | CompletableFutureUtilTest.kt | 155 completable.completeExceptionally(UnsupportedOperationException(ERROR_MESSAGE)) in testCharSequenceAfterError() 260 completable.completeExceptionally(UnsupportedOperationException(ERROR_MESSAGE)) in testCharSequenceUnblockByError()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutUser.java | 673 future.completeExceptionally(new RuntimeException("app search manager is null")); in getAppSearch() 679 future.completeExceptionally(new RuntimeException("User " + getUserId() + " is ")); in getAppSearch() 686 future.completeExceptionally( in getAppSearch()
|
/frameworks/base/telecomm/java/android/telecom/ |
D | DefaultDialerManager.java | 84 future.completeExceptionally(new RuntimeException()); in setDefaultDialerApplication()
|
/frameworks/base/services/core/java/com/android/server/storage/ |
D | StorageUserConnection.java | 375 opFuture.completeExceptionally(e); in waitForAsync() 450 future.completeExceptionally(ex); in setResult()
|
/frameworks/base/services/core/java/com/android/server/security/rkp/ |
D | RemoteProvisioningShellCommand.java | 283 mFuture.completeExceptionally(e); in onError()
|
/frameworks/base/services/core/java/com/android/server/power/stats/ |
D | BluetoothPowerStatsCollector.java | 185 immediateFuture.completeExceptionally( in collectBluetoothActivityInfo()
|
/frameworks/base/services/core/java/com/android/server/inputmethod/ |
D | ImeTrackerService.java | 189 typedCompletionSignal.completeExceptionally(e); in finishTrackingPendingImeVisibilityRequests()
|