| /frameworks/base/core/java/android/test/ |
| InstrumentationTestCase.java | 209 Throwable exception = null; local 215 exception = null; 218 exception = e.getTargetException(); 221 exception = e; 231 } while ((runCount < tolerance) && (isRepetitive || exception != null)); 233 if (exception != null) { 234 throw exception; 354 * @throws Exception 357 protected void tearDown() throws Exception {
|
| /libcore/support/src/test/java/tests/support/ |
| Support_ListTest.java | 150 boolean exception = false; 155 exception = true; 158 assertTrue("list iterator next() exception: " + i, exception); 160 assertTrue("list iterator next() exception: " + i, !exception); 179 boolean exception = false; 183 exception = true; 185 assertTrue("list iterator previous() exception", exception); [all...] |
| /external/chromium_org/v8/test/mjsunit/ |
| array-reduce.js | 414 var exception = false; variable 418 exception = true; 424 assertTrue(exception); 426 exception = false; 430 exception = true; 436 assertTrue(exception); 438 exception = false; 442 exception = true; 448 assertTrue(exception); 450 exception = false [all...] |
| debug-return-value.js | 65 exception = false; 126 exception = e 145 assertFalse(exception, "exception in listener") 153 assertFalse(exception, "exception in listener") 161 assertFalse(exception, "exception in listener")
|
| /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
| StringBuffer2Test.java | 234 boolean exception = false; 238 exception = true; 241 assertTrue("Should throw StringIndexOutOfBoundsException", exception); 309 boolean exception = false; 314 exception = true; 316 assertTrue("did not expect IndexOutOfBoundsException", !exception); 331 boolean exception = false; 336 exception = true; 339 assertTrue("Should throw StringIndexOutOfBoundsException", exception);
|
| ByteTest.java | 446 boolean exception = false; 451 exception = true; 453 assertTrue("Failed to throw exception for MAX_VALUE + 1", exception); 455 exception = false; 460 exception = true; 462 assertTrue("Failed to throw exception for MIN_VALUE - 1", exception); 464 exception = false; 469 exception = true [all...] |
| /ndk/sources/cxx-stl/gabi++/src/ |
| cxxabi.cc | 34 #include <exception> 302 // the exception object is VERY large. This will propably never happen. 304 __gabixx::__fatal_error("Not enough memory to allocate exception!"); 318 __gabixx::__fatal_error("Exception destructor has thrown!"); 341 _Unwind_Exception* exception = &header->unwindHeader; local 344 "Attempting to rethrow an exception that doesn't exist!"); 347 if (isOurCxxException(exception->exception_class)) { 357 _Unwind_Exception *exception = static_cast<_Unwind_Exception*>(exc); variable 358 __cxa_exception* header = reinterpret_cast<__cxa_exception*>(exception+1)-1; 361 if (!isOurCxxException(exception->exception_class)) 383 _Unwind_Exception* exception = &header->unwindHeader; variable 391 _Unwind_DeleteException(exception); variable [all...] |
| /art/runtime/entrypoints/quick/ |
| quick_throw_entrypoints.cc | 26 // Deliver an exception that's pending on thread helping set up a callee save frame on the way. 34 // Called by generated call to throw an exception. 35 extern "C" void artDeliverExceptionFromCode(mirror::Throwable* exception, Thread* self, 39 * exception may be NULL, in which case this routine should 43 * exception_ in thread and delivering the exception. 47 if (exception == NULL) { 49 "throw with null exception"); 51 self->SetException(throw_location, exception); 56 // Called by generated call to throw a NPE exception. 68 // Called by generated call to throw an arithmetic divide by zero exception [all...] |
| /external/chromium_org/build/android/pylib/host_driven/ |
| test_runner.py | 19 """Test result corresponding to a python exception in a host-driven test.""" 25 test_name: name of the test which raised an exception. 27 exc_info: exception info, ostensibly from sys.exc_info(). 32 log_msg = 'Exception:\n' + trace_info 90 except Exception: 91 logging.exception( 92 'Caught exception while trying to run SetUp() for test: ' + 104 except Exception: 106 # Run() should TearDown() also raise an exception. 108 logging.exception('Caught exception while trying to run test: ' [all...] |
| /external/chromium_org/tools/grit/grit/format/ |
| rc_header_unittest.py | 19 from grit import exception namespace 112 self.assertRaises(exception.IdRangeOverlap, self.FormatAll, grd) 131 self.assertRaises(exception.IdRangeOverlap, self.FormatAll, grd)
|
| /external/conscrypt/src/compat/native/ |
| JNIHelp.h | 48 * Throw an exception with the specified class and an optional message. 53 * If an exception is currently pending, we log a warning message and 56 * Returns 0 on success, nonzero if something failed (e.g. the exception 57 * class couldn't be found, so *an* exception will still be pending). 59 * Currently aborts the VM if it can't throw the exception. 107 * Log a message and an exception. 108 * If exception is NULL, logs the current exception in the JNI environment. 110 void jniLogException(C_JNIEnv* env, int priority, const char* tag, jthrowable exception); 171 inline void jniLogException(JNIEnv* env, int priority, const char* tag, jthrowable exception = NULL) [all...] |
| /external/google-tv-pairing-protocol/java/src/com/google/polo/wire/json/ |
| JsonWireAdapter.java | 19 import com.google.polo.exception.PoloException; 109 public void sendErrorMessage(Exception exception) throws IOException { 111 writeJson(JsonMessageBuilder.getErrorJson(exception));
|
| /external/google-tv-pairing-protocol/java/src/com/google/polo/wire/xml/ |
| XmlWireAdapter.java | 19 import com.google.polo.exception.PoloException; 94 public void sendErrorMessage(Exception exception) throws IOException { 97 errorXml = mBuilder.getErrorXML(exception);
|
| /external/guava/guava-tests/test/com/google/common/base/ |
| AbstractIteratorTest.java | 73 fail("no exception thrown"); 78 public void testSneakyThrow() throws Exception { 92 // The first time, the sneakily-thrown exception comes out 95 fail("No exception thrown"); 96 } catch (Exception e) { 105 fail("No exception thrown"); 111 final SomeUncheckedException exception = new SomeUncheckedException(); local 114 throw exception; 121 fail("No exception thrown"); 123 assertSame(exception, e) [all...] |
| /external/objenesis/tck/test/org/objenesis/tck/ |
| ObjenesisTest.java | 63 public void exception(Exception exception) {
method in class:ObjenesisTest.JUnitReporter 66 out.println("Exception when instantiating " + currentCandidate + " with "
68 exception.printStackTrace(out);
107 protected void setUp() throws Exception {
115 protected void tearDown() throws Exception {
121 public void testObjenesisStd() throws Exception {
127 public void testObjenesisSerializer() throws Exception {
133 public void testObjenesisSerializerParentConstructorCalled() throws Exception {
[all...] |
| /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ref/ |
| PhantomReferenceTest.java | 121 } catch (Exception e) { 122 fail("Exception during test : " + e.getMessage()); 127 boolean exception = false; 131 exception = true; 133 assertTrue("Should not throw NullPointerException", !exception);
|
| SoftReferenceTest.java | 44 } catch (Exception e) { 45 fail("Exception during test : " + e.getMessage()); 48 boolean exception = false; 52 exception = true; 54 assertTrue("Should not throw NullPointerException", !exception); 66 } catch (Exception e) { 67 fail("Exception during test : " + e.getMessage()); 131 } catch (Exception e) { 132 fail("Exception : " + e.getMessage());
|
| /libnativehelper/include/nativehelper/ |
| JNIHelp.h | 48 * Throw an exception with the specified class and an optional message. 53 * If an exception is currently pending, we log a warning message and 56 * Returns 0 on success, nonzero if something failed (e.g. the exception 57 * class couldn't be found, so *an* exception will still be pending). 59 * Currently aborts the VM if it can't throw the exception. 107 * Log a message and an exception. 108 * If exception is NULL, logs the current exception in the JNI environment. 110 void jniLogException(C_JNIEnv* env, int priority, const char* tag, jthrowable exception); 171 inline void jniLogException(JNIEnv* env, int priority, const char* tag, jthrowable exception = NULL) [all...] |
| /packages/apps/Mms/src/com/android/mms/ui/ |
| MmsThumbnailPresenter.java | 65 public void onItemLoaded(ImageLoaded imageLoaded, Throwable exception) { 66 if (exception == null) { 73 mOnLoadedCallback.onItemLoaded(imageLoaded, exception);
|
| /external/antlr/antlr-3.4/runtime/C/include/ |
| antlr3recognizersharedstate.h | 59 /** If set to ANTLR3_TRUE then the recognizer has an exception 68 pANTLR3_EXCEPTION exception; member in struct:ANTLR3_RECOGNIZER_SHARED_STATE_struct
|
| /external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
| ANTLRDebugTreeParser.h | 48 exception:(NSException *)e
|
| /external/chromium_org/third_party/WebKit/Source/devtools/front_end/sources/ |
| ScopeChainSidebarPane.js | 89 var exception = details.exception(); 90 if (exception) 91 extraProperties.push(new WebInspector.RemoteObjectProperty("<exception>", exception));
|
| /external/chromium_org/third_party/WebKit/Source/modules/screen_orientation/ |
| ScreenOrientation.cpp | 137 RefPtrWillBeRawPtr<DOMException> exception = DOMException::create(InvalidStateError, "The object is no longer associated to a document."); local 138 resolver->reject(exception); 143 RefPtrWillBeRawPtr<DOMException> exception = DOMException::create(SecurityError, "The document is sandboxed and lacks the 'allow-orientation-lock' flag."); local 144 resolver->reject(exception);
|
| /external/chromium_org/tools/grit/grit/gather/ |
| chrome_scaled_image_unittest.py | 14 from grit import exception namespace 138 self.assertRaises(exception.FileNotFound, 165 self.assertRaises(exception.FileNotFound, _RunBuildTest, *args) 168 self.assertRaises(exception.FileNotFound,
|
| /external/chromium_org/tools/grit/grit/ |
| xtb_reader.py | 98 def error(self, exception): 101 def fatalError(self, exception): 102 raise exception 104 def warning(self, exception):
|