Home
last modified time | relevance | path

Searched refs:setException (Results 1 – 25 of 47) sorted by relevance

12

/packages/modules/AdServices/adservices/clients/java/android/adservices/clients/measurement/
DMeasurementClient.java136 completer.setException(error); in registerSourceForSPlus()
161 completer.setException(error);
184 completer.setException(error);
207 completer.setException(error);
230 completer.setException(error);
253 completer.setException(error);
277 completer.setException(error);
300 completer.setException(error);
323 completer.setException(error);
346 completer.setException(error);
/packages/modules/AdServices/adservices/clients/java/android/adservices/clients/adselection/
DAdSelectionClient.java85 completer.setException(error); in selectAds()
112 completer.setException(error);
139 completer.setException(error);
162 completer.setException(error);
191 completer.setException(error);
218 completer.setException(error);
246 completer.setException(error);
274 completer.setException(error);
DTestAdSelectionClient.java80 completer.setException(error); in overrideAdSelectionConfigRemoteInfo()
112 completer.setException(error);
142 completer.setException(error);
174 completer.setException(error);
206 completer.setException(error);
236 completer.setException(error);
/packages/modules/DeviceLock/service/java/com/android/server/devicelock/
DDeviceLockControllerConnectorStub.java90 setException(callback, "isLocked called before setting the lock state"); in isDeviceLocked()
103 setException(callback, "No registered Device ID found"); in getDeviceId()
138 setException(callback, "Device lock controller package is disabled"); in onAppCrashed()
141 private static void setException(OutcomeReceiver<?, Exception> callback, String message) { in setException() method in DeviceLockControllerConnectorStub
148 setException(callback, "Device has been cleared!"); in setExceptionIfDeviceIsCleared()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/process/
DPluginProcessRunner.java167 completer.setException(e); in loadPlugin()
172 completer.setException(new OdpServiceException( in loadPlugin()
178 completer.setException(e); in loadPlugin()
196 completer.setException(new OdpServiceException(
202 completer.setException(e);
220 completer.setException(new OdpServiceException(
226 completer.setException(e);
DSharedIsolatedProcessRunner.java152 completer.setException(
158 completer.setException(
/packages/modules/DeviceLock/tests/cts/src/com/android/cts/devicelock/
DDeviceLockManagerTest.java96 completer.setException(error); in getIsDeviceLockedFuture()
116 completer.setException(error);
136 completer.setException(error);
156 completer.setException(error);
176 completer.setException(error);
/packages/modules/AdServices/adservices/clients/java/android/adservices/clients/customaudience/
DAdvertisingCustomAudienceClient.java93 completer.setException(error); in joinCustomAudience()
119 completer.setException(error); in fetchAndJoinCustomAudience()
145 completer.setException(error);
176 completer.setException(error);
DTestAdvertisingCustomAudienceClient.java75 completer.setException(error); in overrideCustomAudienceRemoteInfo()
104 completer.setException(error);
131 completer.setException(error);
/packages/modules/DeviceLock/tests/unittests/src/com/android/server/devicelock/
DDeviceLockControllerConnectorStubTest.java228 completer.setException(error); in lockDeviceAsync()
248 completer.setException(error);
268 completer.setException(error);
288 completer.setException(error);
/packages/apps/Dialer/java/com/android/dialer/common/concurrent/
DDialerFutures.java72 output.setException(e); in firstMatchingImpl()
111 protected boolean setException(Throwable throwable) { in setException() method in DialerFutures.AggregateFuture
112 return super.setException(throwable); in setException()
DUiThreadExecutor.java70 resultFuture.setException(e); in submit()
/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/src/com/android/libraries/rcs/simpleclient/filetransfer/requestexecutor/
DGbaAuthenticationProvider.java76 credentialsFuture.setException(e); in provideCredentials()
93 credentialsFuture.setException( in provideCredentials()
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/examplestore/
DExampleStoreServiceProvider.java160 completer.setException( in runExampleStoreStartQuery()
167 completer.setException(e); in runExampleStoreStartQuery()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/display/
DDisplayHelper.java129 result.setException(e); in displayHtml()
163 resultFuture.setException(e); in createWebView()
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/utils/
DSuspendToFutureAdapter.kt47 completer.setException(e) in <lambda>()
/packages/apps/Camera2/src/com/android/camera/one/v2/photo/
DMetadataFuture.java51 mMetadata.setException(new IllegalStateException("CaptureFailure.REASON_ERROR!")); in onFailed()
/packages/apps/Camera2/src/com/android/camera/device/
DSingleDeviceRequest.java75 mFuture.setException(throwable); in closeWithException()
/packages/apps/Camera2/src/com/android/camera/one/v2/initialization/
DCaptureSessionCreator.java92 sessionFuture.setException(e); in createCaptureSession()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/download/
DOnDevicePersonalizationDataProcessingAsyncCallable.java57 downloadFlowFuture.setException(t); in getFutureCallback()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
DLogFields.java131 public Builder setException(Exception exception) { in setException() method in LogFields.Builder
/packages/modules/AdServices/adservices/clients/java/android/adservices/clients/signals/
DProtectedSignalsClient.java80 completer.setException(error); in updateSignals()
/packages/modules/AdServices/adservices/tests/cts/ui/odp/common/src/com/android/adservices/tests/ui/common/
DCommonServicesTest.java133 responseFuture.setException(exception); in setUp()
312 completer.setException(error); in getAdservicesCommonStates()
/packages/modules/AdServices/adservices/clients/java/android/adservices/clients/topics/
DAdvertisingTopicsClient.java105 completer.setException(error); in getTopics()
/packages/modules/AdServices/adservices/tests/cts/ui/u18ux/detentionchannel/src/com/android/adservices/tests/ui/u18ux/detentionchannel/
DU18UxDetentionChannelTest.java107 responseFuture.setException(exception); in setUp()

12