Home
last modified time | relevance | path

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

12

/aosp12/frameworks/base/core/tests/coretests/src/android/animation/
H A DEventsTest.java91 mFuture.setException(new RuntimeException(e)); in run()
121 mFuture.setException(new RuntimeException(e)); in run()
144 mFuture.setException(new RuntimeException(e)); in run()
167 mFuture.setException(new RuntimeException(e)); in run()
287 mFuture.setException(new RuntimeException(e)); in testStartCancel()
308 mFuture.setException(new RuntimeException(e)); in testStartEnd()
329 mFuture.setException(new RuntimeException(e)); in testStartDelayedCancel()
350 mFuture.setException(new RuntimeException(e)); in testStartDelayedEnd()
371 mFuture.setException(new RuntimeException(e)); in testPlayingCancel()
392 mFuture.setException(new RuntimeException(e)); in testPlayingEnd()
[all …]
H A DViewPropertyAnimatorTest.java89 mFuture.setException(new RuntimeException(e)); in run()
212 mFuture.setException(new RuntimeException(e)); in testStartCancel()
233 mFuture.setException(new RuntimeException(e)); in testStartDelayedCancel()
254 mFuture.setException(new RuntimeException(e)); in testPlayingCancel()
276 mFuture.setException(new RuntimeException(e)); in testPlayingDelayedCancel()
300 mFuture.setException(new RuntimeException(e)); in testPlayingDelayedCancelMidDelay()
322 mFuture.setException(new RuntimeException(e)); in testStartDoubleCancel()
344 mFuture.setException(new RuntimeException(e)); in testStartDelayedDoubleCancel()
H A DAutoCancelTest.java137 future.setException(e); in testAutoCancel()
151 future.setException(e); in testAutoCancelDelayed()
165 future.setException(e); in testAutoCancelTestLater()
179 future.setException(e); in testAutoCancelDelayedTestLater()
H A DFutureWaiter.java45 public boolean setException(Throwable throwable) { in setException() method in FutureWaiter
46 return super.setException(throwable); in setException()
H A DAnimatorSetEventsTest.java72 mFuture.setException(new RuntimeException(e)); in testPlayingCancelDuringChildDelay()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
H A DScrollCaptureClient.java208 completer.setException(e); in request()
226 completer.setException(new DeadObjectException("No active connection!"));
289 mStartCompleter.setException(new DeadObjectException("The remote process died"));
292 mTileRequestCompleter.setException(
296 mEndCompleter.setException(new DeadObjectException("The remote process died"));
317 completer.setException(e);
333 completer.setException(new DeadObjectException("Connection is closed!"));
347 completer.setException(e);
405 completer.setException(e);
H A DImageLoader.java77 completer.setException(e); in load()
98 completer.setException(e); in load()
H A DScrollCaptureController.java186 mCaptureCompleter.setException(e); in onStartComplete()
204 mCaptureCompleter.setException(e); in requestNextTile()
H A DImageExporter.java129 completer.setException(e); in exportToRawFile()
169 completer.setException(e);
/aosp12/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DAsyncRunner.java113 setException(result.exception); in onPostExecute()
120 setException(exception); in onPostExecute()
186 setException(null); in run()
235 synchronized private void setException(Exception exception) { in setException() method in AsyncRunner
/aosp12/packages/apps/Dialer/java/com/android/dialer/common/concurrent/
H A 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()
H A DUiThreadExecutor.java70 resultFuture.setException(e); in submit()
/aosp12/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/src/com/android/libraries/rcs/simpleclient/filetransfer/requestexecutor/
H A DGbaAuthenticationProvider.java76 credentialsFuture.setException(e); in provideCredentials()
93 credentialsFuture.setException( in provideCredentials()
/aosp12/frameworks/native/libs/binder/
H A DStatus.cpp214 void Status::setException(int32_t ex, const String8& message) { in setException() function in android::binder::Status
221 setException(EX_SERVICE_SPECIFIC, message); in setServiceSpecificError()
/aosp12/frameworks/base/core/java/android/accounts/
H A DAccountManager.java2363 setException(e);
2472 setException(convertErrorToException(code, message));
2506 setException(e);
2537 setException(convertErrorToException(code, message));
2691 setException(e);
2694 setException(e);
2697 setException(e);
2744 setException(new AuthenticatorException("account not in result"));
2758 setException(e);
2760 setException(e);
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
H A DNotificationContentInflaterTest.java354 exceptionHolder.setException(e); in inflateAndWait()
362 exceptionHolder.setException(new RuntimeException( in inflateAndWait()
384 public void setException(Exception exception) { in setException() method in NotificationContentInflaterTest.ExceptionHolder
/aosp12/packages/apps/Camera2/src/com/android/camera/device/
H A DSingleDeviceRequest.java75 mFuture.setException(throwable); in closeWithException()
/aosp12/packages/apps/Camera2/src/com/android/camera/one/v2/photo/
H A DMetadataFuture.java51 mMetadata.setException(new IllegalStateException("CaptureFailure.REASON_ERROR!")); in onFailed()
/aosp12/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
H A DLogFields.java108 public Builder setException(Exception exception) { in setException() method in LogFields.Builder
/aosp12/packages/apps/Camera2/src/com/android/camera/one/v2/initialization/
H A DCaptureSessionCreator.java92 sessionFuture.setException(e); in createCaptureSession()
/aosp12/frameworks/native/include/binder/
H A DStatus.h121 void setException(int32_t ex, const String8& message);
/aosp12/frameworks/native/libs/binder/include/binder/
H A DStatus.h121 void setException(int32_t ex, const String8& message);
/aosp12/frameworks/native/libs/binder/tests/unit_fuzzers/
H A DStatusFuzzFunctions.h54 status->setException(fdp->ConsumeIntegral<int32_t>(), message);
/aosp12/system/libhidl/base/
H A DStatus.cpp84 void Status::setException(int32_t ex, const char *message) { in setException() function in android::hardware::Status
/aosp12/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/flags/
H A DFlagManager.kt68 completer.setException(NoFlagResultsException())

12