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

1 2 3 4 5 6 7 8 9

  /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);
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));
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...]
  /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);
AsyncSettableFuture.java 75 public boolean setException(Throwable exception) {
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) {
  /packages/apps/Camera2/src/com/android/camera/one/v2/photo/
MetadataFuture.java 51 mMetadata.setException(new IllegalStateException("CaptureFailure.REASON_ERROR!"));
  /tools/loganalysis/src/com/android/loganalysis/item/
JavaCrashItem.java 55 public void setException(String exception) {
  /tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
MockInstrumentationTest.java 46 public void setException(DeviceNotAvailableException e) {
  /frameworks/native/libs/binder/
Status.cpp 149 void Status::setException(int32_t ex, const String8& message) {
156 setException(EX_SERVICE_SPECIFIC, message);
  /cts/tests/openglperf2/src/android/opengl2/cts/reference/
GLReferenceActivity.java 59 private synchronized void setException(Exception e) {
73 setException(new Exception("Benchmark failed to run"));
  /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/MultiSession/
ExceptionTest.java 61 logWriter.println("\n>> testExceptionEvent: => setException(...)...");
62 debuggeeWrapper.vmMirror.setException(exceptionSignature, isCatch,
64 logWriter.println(">> testExceptionEvent: setException(...) DONE");
  /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")));
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")));
  /system/libhidl/base/
Status.cpp 108 void Status::setException(int32_t ex, const char *message) {
  /frameworks/base/media/mca/filterfw/java/android/filterfw/core/
AsyncRunner.java 113 setException(result.exception);
120 setException(exception);
186 setException(null);
235 synchronized private void setException(Exception exception) {
  /cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/util/src/com/android/cts/util/
TestResult.java 145 public Builder setException(String _exception) {
  /cts/tests/openglperf2/src/android/opengl2/cts/primitive/
GLPrimitiveActivity.java 99 private synchronized void setException(Exception e) {
125 setException(e);
145 setException(new Exception("Benchmark failed to run"));
162 setException(new Exception("Benchmark timed out"));
  /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/
EventWithExceptionTest.java 78 int exceptionRequestId = setException();
137 int exceptionRequestId = setException();
227 int exceptionRequestId = setException();
298 int exceptionRequestId = setException();
358 int exceptionRequestId = setException();
409 private int setException() {
412 debuggeeWrapper.vmMirror.setException(getClassSignature(EXCEPTION_CLASS), true,
  /external/caliper/caliper/src/main/java/com/google/caliper/runner/
ServerSocketService.java 210 future.setException(new Exception("The socket has been closed"));
  /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
NotificationInflaterTest.java 216 exceptionHolder.setException(e);
224 exceptionHolder.setException(new RuntimeException(
240 public void setException(Exception exception) {
  /tools/tradefederation/core/tests/src/com/android/tradefed/testtype/testdefs/
XmlDefsTestTest.java 118 mMockInstrumentationTest.setException(new DeviceNotAvailableException());
128 mMockInstrumentationTest.setException(null);
  /prebuilts/eclipse/maven/apache-maven-3.2.1/lib/
aether-spi-0.9.0.M2.jar 
  /libcore/jsr166-tests/src/test/java/jsr166/
FutureTaskTest.java 141 pf.setException(new Error());
221 @Override public void setException(Throwable t) {
223 super.setException(t);
318 * setException causes get to throw ExecutionException
323 task.setException(nse);
  /libcore/ojluni/src/main/java/java/util/concurrent/
FutureTask.java 80 * setException, and cancel. During completion, state may take on
248 protected void setException(Throwable t) {
271 setException(ex);
310 setException(ex);

Completed in 768 milliseconds

1 2 3 4 5 6 7 8 9