Searched defs:exception (Results 1 - 16 of 16) sorted by relevance

/frameworks/base/core/java/android/os/
H A DAsyncResult.java27 // Expect either exception or result to be null
29 public Throwable exception; field in class:AsyncResult
66 exception = ex;
H A DRegistrant.java56 notifyException(Throwable exception) argument
58 internalNotifyRegistrant (null, exception);
67 internalNotifyRegistrant (ar.result, ar.exception);
71 internalNotifyRegistrant (Object result, Throwable exception) argument
82 msg.obj = new AsyncResult(userObj, result, exception);
H A DRegistrantList.java76 internalNotifyRegistrants (Object result, Throwable exception) argument
80 r.internalNotifyRegistrant(result, exception);
91 notifyException(Throwable exception) argument
93 internalNotifyRegistrants (null, exception);
106 internalNotifyRegistrants(ar.result, ar.exception);
/frameworks/base/tests/CoreTests/android/core/
H A DPipedStreamTest.java57 android.util.Log.e("PST", "Got exception " + e, e);
59 exception = e;
63 Throwable exception; field in class:PipedStreamTest.TestThread
128 if (writer.exception != null) {
129 throw new Exception(writer.exception);
131 if (reader.exception != null) {
132 throw new Exception(reader.exception);
214 if (writer.exception != null) {
215 throw new Exception(writer.exception);
217 if (reader.exception !
[all...]
H A DSSLSocketTest.java630 private Exception exception; field in class:SSLSocketTest.TestServer
687 exception = ex;
692 return exception;
709 private Exception exception; field in class:SSLSocketTest.TestClient
749 exception = ex;
754 return exception;
802 // The server must have completed without an exception.
807 // The client must have completed without an exception.
/frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/
H A Duexception.h8 // This file contains stuff from \<exception\>.
18 #include <exception>
23 #ifdef WITHOUT_LIBSTDCPP // This code is copied from <exception>
31 /// The runtime will call this function if exception handling must be
36 /// The runtime will call this function if an exception is thrown which
37 /// violates the function's exception specification.
39 /// Returns true when the caught exception violates the throw specification.
58 /// \class exception uexception.h ustl.h
61 /// \brief Base class for exceptions, equivalent to std::exception.
64 class exception { class in namespace:ustl
71 inline exception (void) throw() : m_Format (xfmt_Exception) {} function in class:ustl::exception
[all...]
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DLog.java46 public void exception(Throwable t, String format, Object... args) { method in class:Log
/frameworks/base/test-runner/android/test/
H A DTestPrinter.java81 public void failed(String className, Throwable exception) { argument
83 Log.i(mTag, "----- begin exception -----");
84 Log.i(mTag, "", exception);
85 Log.i(mTag, "----- end exception -----");
H A DTestRecorder.java69 "exception TEXT," +
136 public void failed(String className, Throwable exception) { argument
140 exception.printStackTrace(printWriter);
146 map.put("exception", stringWriter.toString());
160 // The reason is put as the exception.
161 map.put("exception", reason);
H A DTestRunner.java215 public void failed(String className, Throwable exception) { argument
219 mListeners.get(i).failed(className, exception);
/frameworks/base/media/jni/
H A Dandroid_media_MediaMetadataRetriever.cpp44 static void process_media_retriever_call(JNIEnv *env, status_t opStatus, const char* exception, const char *message) argument
51 jniThrowException( env, exception, message);
56 jniThrowException( env, exception, msg);
90 if (!pathStr) { // OutOfMemoryError exception already thrown
223 if (!array) { // OutOfMemoryError exception has already been thrown.
H A Dandroid_media_MediaPlayer.cpp128 // If exception is NULL and opStatus is not OK, this method sends an error
129 // event to the client application; otherwise, if exception is not NULL and
130 // opStatus is not OK, this method throws the given exception to the client
132 static void process_media_player_call(JNIEnv *env, jobject thiz, status_t opStatus, const char* exception, const char *message) argument
134 if (exception == NULL) { // Don't throw exception. Instead, send an event.
139 } else { // Throw exception!
145 jniThrowException( env, exception, message);
150 jniThrowException( env, exception, msg);
178 // Make sure that local ref is released before a potential exception
[all...]
H A Dandroid_media_MediaRecorder.cpp115 // Returns true if it throws an exception.
116 static bool process_media_recorder_call(JNIEnv *env, status_t opStatus, const char* exception, const char* message) argument
123 jniThrowException(env, exception, message);
/frameworks/base/test-runner/android/test/suitebuilder/
H A DTestSuiteBuilder.java195 } catch (Exception exception) {
196 Log.i("TestSuiteBuilder", "Failed to create test.", exception);
198 suite.addTest(new FailedToCreateTests(exception));
231 private final Exception exception; field in class:TestSuiteBuilder.FailedToCreateTests
233 public FailedToCreateTests(Exception exception) { argument
235 this.exception = exception;
239 throw new RuntimeException("Exception during suite construction", exception);
/frameworks/base/tools/aidl/
H A DAST.h258 Variable* exception; member in struct:CatchStatement
260 CatchStatement(Variable* exception);
/frameworks/base/core/jni/
H A Dandroid_view_Surface.cpp225 const char* const exception = (err == NO_MEMORY) ? local
228 doThrow(env, exception, NULL);

Completed in 249 milliseconds