/packages/services/Car/car-lib/src/android/car/util/concurrent/ |
D | AndroidFuture.java | 82 completeExceptionally(readThrowable(in)); in AndroidFuture() 127 public boolean completeExceptionally(@NonNull Throwable ex) { in completeExceptionally() method in AndroidFuture 128 boolean changed = super.completeExceptionally(ex); in completeExceptionally() 275 completeExceptionally(new TimeoutException()); in triggerTimeout() 331 completeExceptionally(err); in accept() 349 completeExceptionally(t); in run() 390 completeExceptionally(err); in accept() 402 completeExceptionally(t); in run() 437 completeExceptionally(err); in accept() 457 completeExceptionally(t); in accept() [all …]
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/contactsindexer/ |
D | AppSearchHelper.java | 199 future.completeExceptionally( in createAppSearchSessionAsync() 256 future.completeExceptionally( in setPersonSchemaAsync() 371 future.completeExceptionally( in indexContactsAsync() 392 future.completeExceptionally(throwable); in indexContactsAsync() 471 future.completeExceptionally( in removeContactsByIdAsync() 492 future.completeExceptionally(throwable); in removeContactsByIdAsync() 539 future.completeExceptionally(throwable); 631 future.completeExceptionally(
|
/packages/services/Car/tests/carservice_unit_test/src/android/car/util/concurrent/ |
D | AndroidFutureTest.java | 67 boolean changed = mUncompletedFuture.completeExceptionally(origException); in testCompleteExceptionally_uncompleted() 77 boolean changed = mCompletedFuture.completeExceptionally( in testCompleteExceptionally_alreadyCompleted() 128 mUncompletedFuture.completeExceptionally(origException); in testWhenComplete_completeExceptionally() 198 original.completeExceptionally(exception); in testWriteToParcel_completedExceptionally() 228 fromParcel.completeExceptionally(exception); in testWriteToParcel_uncompleted_Exception()
|
/packages/providers/MediaProvider/apex/framework/java/android/provider/ |
D | AsyncContentProvider.java | 64 future.completeExceptionally( in setResult() 68 future.completeExceptionally( in setResult()
|
/packages/services/Iwlan/test/com/google/android/iwlan/epdg/ |
D | NaptrDnsResolverTest.java | 93 mNaptrDnsResult.completeExceptionally(new UnknownHostException()); in NaptrDnsResolverTest() 99 mNaptrDnsResult.completeExceptionally(error); in NaptrDnsResolverTest()
|
D | SrvDnsResolverTest.java | 119 mSrvDnsResult.completeExceptionally(new UnknownHostException()); in SrvDnsResolverTest() 125 mSrvDnsResult.completeExceptionally(error); in SrvDnsResolverTest()
|
/packages/modules/NetworkStack/src/com/android/networkstack/util/ |
D | DnsUtils.java | 112 resultRef.completeExceptionally(new UnknownHostException()); in getAllByName() 121 resultRef.completeExceptionally(e); in getAllByName()
|
/packages/modules/AppSearch/testing/coretests/src/android/app/appsearch/ |
D | AppSearchSessionUnitTest.java | 90 putDocumentsFuture.completeExceptionally(throwable); in testGetEmptyNextPage() 148 putDocumentsFuture.completeExceptionally(throwable); in testGetEmptyNextPage_multiPages()
|
/packages/modules/AppSearch/testing/contactsindexertests/src/com/android/server/appsearch/contactsindexer/ |
D | TestUtils.java | 158 future.completeExceptionally(throwable); in getDocsByIdAsync() 178 future.completeExceptionally( in getNextPageAsync()
|
/packages/modules/Permission/framework-s/java/android/app/role/ |
D | RoleControllerManager.java | 253 future.completeExceptionally(exception); in getLegacyFallbackDisabledRoles() 281 future.completeExceptionally(exception); in createBooleanRemoteCallback()
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/appsindexer/ |
D | SyncAppSearchBase.java | 86 futureResult.completeExceptionally(throwable); in executeAppSearchBatchResultOperation()
|
/packages/modules/Connectivity/thread/tests/integration/src/android/net/thread/ |
D | ThreadNetworkControllerTest.java | 167 future.completeExceptionally(e); in newOutcomeReceiver()
|
/packages/modules/Permission/service/java/com/android/role/ |
D | RoleShellCommand.java | 55 completeExceptionally(new RuntimeException("Failed")); in createCallback()
|
D | RoleService.java | 349 future.completeExceptionally(new RuntimeException()); in maybeGrantDefaultRolesInternal() 891 future.completeExceptionally(new RuntimeException()); in setBrowserRoleHolder()
|
/packages/apps/Car/Cluster/DirectRenderingCluster/src/android/car/cluster/ |
D | ImageResolver.java | 165 future.completeExceptionally(ex); in getBitmaps()
|
/packages/apps/Car/Cluster/ClusterOsDouble/src/com/android/car/cluster/view/ |
D | ImageResolver.java | 150 future.completeExceptionally(ex); in getBitmaps()
|
/packages/modules/Connectivity/thread/tests/integration/src/android/net/thread/utils/ |
D | ThreadNetworkControllerWrapper.java | 204 future.completeExceptionally(e); in newOutcomeReceiver()
|
D | FullThreadDevice.java | 523 future.completeExceptionally(e); in readLine()
|
/packages/services/Telephony/tests/src/com/android/ |
D | TestExecutorService.java | 104 mFuture.completeExceptionally(e); in completeTask()
|
/packages/modules/Connectivity/thread/service/java/com/android/server/thread/ |
D | ThreadNetworkShellCommand.java | 260 future.completeExceptionally(new ThreadNetworkException(errorCode, errorMessage)); in newOperationReceiver()
|
/packages/services/Iwlan/src/com/google/android/iwlan/epdg/ |
D | EpdgSelector.java | 528 result.completeExceptionally(error); in getIP() 1209 naptrDnsResult.completeExceptionally(new UnknownHostException()); in resolutionMethodVisitedCountry() 1215 naptrDnsResult.completeExceptionally(error); in resolutionMethodVisitedCountry()
|
D | SrvDnsResolver.java | 253 result.completeExceptionally(error); in queryDns()
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | EthernetManagerTest.kt | 300 available.completeExceptionally(IllegalStateException("onUnavailable was called")) in <lambda>() 319 result.completeExceptionally(e) in <lambda>()
|
/packages/modules/Connectivity/Tethering/tests/privileged/src/com/android/networkstack/tethering/ |
D | BpfMapTest.java | 503 future.completeExceptionally(e); in runBenchmarkThread()
|
/packages/modules/Connectivity/thread/tests/unit/src/com/android/server/thread/ |
D | ThreadNetworkControllerServiceTest.java | 558 future.completeExceptionally(new ThreadNetworkException(errorCode, errorMessage)); in newOperationReceiver()
|