Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/infra/
DAndroidFuture.java99 completeExceptionally(readThrowable(in)); in AndroidFuture()
144 public boolean completeExceptionally(@NonNull Throwable ex) { in completeExceptionally() method in AndroidFuture
145 boolean changed = super.completeExceptionally(ex); in completeExceptionally()
290 completeExceptionally(new TimeoutException()); in triggerTimeout()
346 completeExceptionally(err); in accept()
364 completeExceptionally(t); in run()
405 completeExceptionally(err); in accept()
417 completeExceptionally(t); in run()
452 completeExceptionally(err); in accept()
465 completeExceptionally(t); in accept()
[all …]
DServiceConnector.java386 task.completeExceptionally(new IllegalStateException( in enqueue()
403 completeExceptionally(job, in enqueueJobThread()
406 completeExceptionally(job, in enqueueJobThread()
414 completeExceptionally(job, in enqueueJobThread()
427 void completeExceptionally(@NonNull Job<?, ?> job, @NonNull Throwable ex) { in completeExceptionally() method in ServiceConnector.Impl
431 taskChanged = task.completeExceptionally(ex); in completeExceptionally()
469 completeExceptionally(job, e); in processQueue()
714 completeExceptionally(err); in accept()
737 completeExceptionally(new IllegalStateException("ServiceConnector is a no-op")); in completeExceptionally() method
DRemoteStream.java204 completeExceptionally(e);
216 completeExceptionally(t);
/frameworks/base/core/tests/coretests/src/com/android/internal/infra/
DAndroidFutureTest.java81 future.completeExceptionally(origException); in testCompleteExceptionally()
91 future.completeExceptionally(origException); in testCompleteExceptionally_Listener()
117 future1.completeExceptionally(new UnsupportedOperationException()); in testWriteToParcel_Exception()
152 future2.completeExceptionally(new UnsupportedOperationException()); in testWriteToParcel_Incomplete_Exception()
/frameworks/base/core/tests/coretests/src/android/app/appsearch/
DAppSearchSessionUnitTest.java94 putDocumentsFuture.completeExceptionally(throwable); in testPutDocument_throwsNullException()
135 putDocumentsFuture.completeExceptionally(throwable); in testGetEmptyNextPage()
193 putDocumentsFuture.completeExceptionally(throwable); in testGetEmptyNextPage_multiPages()
/frameworks/base/core/java/android/permission/
DPermissionControllerService.java552 callback.completeExceptionally(e); in onBind()
590 callback.completeExceptionally(t); in onBind()
604 callback.completeExceptionally(t); in onBind()
618 callback.completeExceptionally(t); in onBind()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DRemoteFillService.java166 fillRequest.completeExceptionally( in onFillRequest()
214 save.completeExceptionally(new RuntimeException(String.valueOf(message))); in onSaveRequest()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutService.java1692 ret.completeExceptionally(e); in verifyCaller()
1990 ret.completeExceptionally(e); in setDynamicShortcuts()
2100 ret.completeExceptionally(e); in updateShortcuts()
2174 ret.completeExceptionally(e); in addDynamicShortcuts()
2242 ret.completeExceptionally(e); in pushDynamicShortcut()
2260 ret.completeExceptionally(e); in requestPinShortcut()
2290 ret.completeExceptionally(e); in createShortcutResultIntent()
2413 ret.completeExceptionally(e); in disableShortcuts()
2461 ret.completeExceptionally(e); in enableShortcuts()
2521 ret.completeExceptionally(e); in removeDynamicShortcuts()
[all …]
DDefaultAppProvider.java93 future.completeExceptionally(new RuntimeException()); in setDefaultBrowser()
DShortcutUser.java721 future.completeExceptionally(new RuntimeException("app search manager is null")); in getAppSearch()
727 future.completeExceptionally(new RuntimeException("User " + getUserId() + " is ")); in getAppSearch()
734 future.completeExceptionally( in getAppSearch()
DShortcutPackage.java2371 future.completeExceptionally(new RuntimeException( in saveToAppSearch()
2392 future.completeExceptionally( in removeShortcuts()
2420 future.completeExceptionally(new RuntimeException( in removeShortcut()
2662 future.completeExceptionally( in setupSchema()
DInstaller.java325 future.completeExceptionally( in execute()
/frameworks/base/services/core/java/com/android/server/storage/
DStorageUserConnection.java375 opFuture.completeExceptionally(e); in waitForAsync()
450 future.completeExceptionally(ex); in setResult()
/frameworks/base/telecomm/java/android/telecom/
DDefaultDialerManager.java84 future.completeExceptionally(new RuntimeException()); in setDefaultDialerApplication()
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/
DBackupManagerServiceTest.java469 future.completeExceptionally(new AssertionError()); in selectBackupTransportAsyncForUser_beforeUserUnlocked_notifiesBackupNotAllowed()
/frameworks/base/services/core/java/com/android/server/policy/
DPermissionPolicyService.java425 future.completeExceptionally(new IllegalStateException(message)); in grantOrUpgradeDefaultRuntimePermissionsIfNeeded()
/frameworks/base/telephony/common/com/android/internal/telephony/
DSmsApplication.java661 future.completeExceptionally(new RuntimeException()); in setDefaultApplicationInternal()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java381 result.completeExceptionally( in resolve()
392 result.completeExceptionally(new UnknownHostException(endpoint)); in resolve()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
DImsResolver.java974 packageNameFuture.completeExceptionally(e); in getConfiguredImsServicePackageName()
/frameworks/base/services/companion/java/com/android/server/companion/
DCompanionDeviceManagerService.java1478 result.completeExceptionally(e);
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt49491 method public void completeExceptionally(java.lang.Throwable);