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

/frameworks/base/core/java/android/pim/vcard/exception/
H A DVCardAgentNotSupportedException.java16 package android.pim.vcard.exception;
H A DVCardException.java16 package android.pim.vcard.exception;
H A DVCardInvalidCommentLineException.java17 package android.pim.vcard.exception;
H A DVCardInvalidLineException.java16 package android.pim.vcard.exception;
H A DVCardNestedException.java17 package android.pim.vcard.exception;
H A DVCardNotSupportedException.java16 package android.pim.vcard.exception;
19 * The exception which tells that the input VCard is probably valid from the view of
H A DVCardVersionException.java16 package android.pim.vcard.exception;
/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);
212 if (reader.exception != null) {
213 throw new Exception(reader.exception);
215 if (writer.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/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/src/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.java216 public void failed(String className, Throwable exception) { argument
220 mListeners.get(i).failed(className, exception);
/frameworks/base/media/jni/
H A Dandroid_media_MediaMetadataRetriever.cpp46 static void process_media_retriever_call(JNIEnv *env, status_t opStatus, const char* exception, const char *message) argument
53 jniThrowException( env, exception, message);
58 jniThrowException( env, exception, msg);
91 if (!pathStr) { // OutOfMemoryError exception already thrown
247 if (!array) { // OutOfMemoryError exception has already been thrown.
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);
H A Dandroid_media_MediaPlayer.cpp132 // If exception is NULL and opStatus is not OK, this method sends an error
133 // event to the client application; otherwise, if exception is not NULL and
134 // opStatus is not OK, this method throws the given exception to the client
136 static void process_media_player_call(JNIEnv *env, jobject thiz, status_t opStatus, const char* exception, const char *message) argument
138 if (exception == NULL) { // Don't throw exception. Instead, send an event.
143 } else { // Throw exception!
149 jniThrowException( env, exception, message);
154 jniThrowException( env, exception, msg);
257 // Make sure that local ref is released before a potential exception
[all...]
/frameworks/base/test-runner/src/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.cpp319 const char* const exception = (err == NO_MEMORY) ? local
322 doThrow(env, exception, NULL);
/frameworks/base/voip/java/com/android/server/sip/
H A DSipSessionGroup.java1198 private void onError(Throwable exception) { argument
1199 exception = getRootCause(exception);
1200 onError(getErrorCode(exception), exception.toString());
1239 private Throwable getRootCause(Throwable exception) { argument
1240 Throwable cause = exception.getCause();
1242 exception = cause;
1243 cause = exception.getCause();
1245 return exception;
1248 getErrorCode(Throwable exception) argument
1269 onRegistrationFailed(Throwable exception) argument
[all...]

Completed in 811 milliseconds