HomeSort by relevance Sort by last modified time
    Searched refs:setException (Results 1 - 25 of 253) sorted by null

1 2 3 4 5 6 7 8 91011

  /external/guava/guava/src/com/google/common/util/concurrent/
SettableFuture.java 23 * or {@link #setException(Throwable)} call. It may also be cancelled.
67 public boolean setException(Throwable throwable) {
68 return super.setException(throwable);
AbstractFuture.java 41 * {@link #setException(Throwable)}. Subclasses may also override {@link
199 protected boolean setException(Throwable throwable) {
200 boolean result = sync.setException(checkNotNull(throwable));
347 boolean setException(Throwable t) {
AsyncSettableFuture.java 75 public boolean setException(Throwable exception) {
  /frameworks/base/core/tests/coretests/src/android/animation/
FutureWaiter.java 24 * also exposes the protected {@link AbstractFuture#setException(Throwable)} method.
44 public boolean setException(Throwable throwable) {
45 return super.setException(throwable);
EventsTest.java 77 mFuture.setException(new RuntimeException(e));
105 mFuture.setException(new RuntimeException(e));
126 mFuture.setException(new RuntimeException(e));
147 mFuture.setException(new RuntimeException(e));
282 mFuture.setException(new RuntimeException(e));
305 mFuture.setException(new RuntimeException(e));
328 mFuture.setException(new RuntimeException(e));
351 mFuture.setException(new RuntimeException(e));
374 mFuture.setException(new RuntimeException(e));
397 mFuture.setException(new RuntimeException(e))
    [all...]
ViewPropertyAnimatorTest.java 76 mFuture.setException(new RuntimeException(e));
215 mFuture.setException(new RuntimeException(e));
238 mFuture.setException(new RuntimeException(e));
261 mFuture.setException(new RuntimeException(e));
285 mFuture.setException(new RuntimeException(e));
312 mFuture.setException(new RuntimeException(e));
336 mFuture.setException(new RuntimeException(e));
360 mFuture.setException(new RuntimeException(e));
AutoCancelTest.java 132 future.setException(e);
148 future.setException(e);
164 future.setException(e);
180 future.setException(e);
AnimatorSetEventsTest.java 69 mFuture.setException(new RuntimeException(e));
  /external/guava/guava-tests/test/com/google/common/util/concurrent/
SettableFutureTest.java 56 assertTrue(future.setException(new Exception("failure")));
62 future.setException(null);
67 assertTrue(future.setException(new Exception("failure")));
AbstractChainedListenableFutureTest.java 61 inputFuture.setException(EXCEPTION);
67 inputFuture.setException(error);
AsyncSettableFutureTest.java 50 assertFalse(future.setException(new Exception("bar")));
61 assertTrue(future.setException(e));
65 assertFalse(future.setException(new Exception("quux")));
85 assertFalse(future.setException(new Exception("bar")));
107 assertFalse(future.setException(new Exception("bar")));
  /tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
MockInstrumentationTest.java 46 public void setException(DeviceNotAvailableException e) {
  /cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/NormalApp/src/com/android/cts/normalapp/
ExposedService.java 44 .setException(exception)
65 .setException(exception)
NormalService.java 48 .setException(exception)
ExposedActivity.java 52 .setException(exception)
NormalActivity.java 51 .setException(exception)