Home
last modified time | relevance | path

Searched refs:completeExceptionally (Results 1 – 25 of 40) sorted by relevance

12

/frameworks/base/core/java/com/android/internal/infra/
DAndroidFuture.java98 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 …]
DServiceConnector.java437 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
DRemoteStream.java204 completeExceptionally(e);
216 completeExceptionally(t);
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/app/
DFakeServiceConnector.java66 androidFuture.completeExceptionally(ex); in postForResult()
81 androidFuture.completeExceptionally(exception); in postAsync()
87 androidFuture.completeExceptionally(ex); in postAsync()
/frameworks/base/core/java/android/inputmethodservice/
DIRemoteInputConnectionInvoker.java201 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/
DAndroidFutureTest.java82 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/
DListenableDownloadCallback.java80 future.completeExceptionally(new TimeoutException()); in onDownloadFailed()
93 future.completeExceptionally( in run()
/frameworks/base/services/companion/java/com/android/server/companion/transport/
DTransport.java162 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/
DPermissionControllerService.java662 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/
DIRemoteAccessibilityInputConnectionInvoker.java136 future.completeExceptionally(e); in getSurroundingText()
213 future.completeExceptionally(e); in getCursorCapsMode()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/
DTestUiOffloadThread.java53 future.completeExceptionally(e); in execute()
/frameworks/base/services/core/java/com/android/server/ondeviceintelligence/
DBundleUtil.java222 future.completeExceptionally(new TimeoutException()); in wrapWithValidation()
272 future.completeExceptionally(new TimeoutException());
315 future.completeExceptionally(new TimeoutException());
DOnDeviceIntelligenceManagerService.java291 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/
DRemoteCredentialService.java177 getCredentials.completeExceptionally( in onBeginGetCredential()
240 createCredentialFuture.completeExceptionally( in onBeginCreateCredential()
302 clearCredentialFuture.completeExceptionally( in onClearCredentialState()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DRemoteFillService.java317 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/
DGameSessionTrampolineActivity.java106 future.completeExceptionally(e); in onCreate()
DGameSessionService.java115 createGameSessionResultFuture.completeExceptionally( in doCreate()
DGameSession.java442 takeScreenshotResult.completeExceptionally(ex); in takeScreenshot()
/frameworks/base/core/tests/InputMethodCoreTests/src/com/android/internal/inputmethod/
DCompletableFutureUtilTest.kt155 completable.completeExceptionally(UnsupportedOperationException(ERROR_MESSAGE)) in testCharSequenceAfterError()
260 completable.completeExceptionally(UnsupportedOperationException(ERROR_MESSAGE)) in testCharSequenceUnblockByError()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutUser.java673 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/
DDefaultDialerManager.java84 future.completeExceptionally(new RuntimeException()); in setDefaultDialerApplication()
/frameworks/base/services/core/java/com/android/server/storage/
DStorageUserConnection.java375 opFuture.completeExceptionally(e); in waitForAsync()
450 future.completeExceptionally(ex); in setResult()
/frameworks/base/services/core/java/com/android/server/security/rkp/
DRemoteProvisioningShellCommand.java283 mFuture.completeExceptionally(e); in onError()
/frameworks/base/services/core/java/com/android/server/power/stats/
DBluetoothPowerStatsCollector.java185 immediateFuture.completeExceptionally( in collectBluetoothActivityInfo()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DImeTrackerService.java189 typedCompletionSignal.completeExceptionally(e); in finishTrackingPendingImeVisibilityRequests()

12