Searched refs:exception (Results 1 - 25 of 93) sorted by path

1234

/frameworks/base/core/java/android/accounts/
H A DAccountManager.java131 * necessary) and either returns the result or throws an exception if an error
1320 final IllegalStateException exception = new IllegalStateException(
1323 exception);
1325 throw exception;
1527 // we will set the exception below
1529 // we will set the exception below
/frameworks/base/core/java/android/appwidget/
H A DAppWidgetHostView.java343 Exception exception = null;
387 exception = e;
397 exception = e;
410 Log.w(TAG, "updateAppWidget couldn't find any view, using error view", exception);
538 Exception exception = null;
567 exception = e;
569 exception = e;
572 if (exception != null) {
573 Log.w(TAG, "Error inflating AppWidget " + mInfo + ": " + exception.toString());
/frameworks/base/core/java/android/net/http/
H A DConnection.java162 Exception exception = null;
237 exception = e;
240 exception = e;
243 exception = e;
246 if (exception != null) {
247 if (httpFailure(req, error, exception) &&
253 exception = null;
285 exception = e;
288 exception = e;
291 exception
[all...]
/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/core/java/android/test/
H A DInstrumentationTestCase.java209 Throwable exception = null;
215 exception = null;
218 exception = e.getTargetException();
221 exception = e;
231 } while ((runCount < tolerance) && (isRepetitive || exception != null));
233 if (exception != null) {
234 throw exception;
/frameworks/base/core/java/android/webkit/
H A DBrowserFrame.java1171 } catch(IndexOutOfBoundsException exception) {
/frameworks/base/core/jni/
H A DBindTest.cpp70 goto exception;
74 exception:
H A Dandroid_view_Surface.cpp401 const char* const exception = (err == NO_MEMORY) ? local
404 jniThrowException(env, exception, NULL);
/frameworks/base/core/tests/utillib/src/android/test/
H A DBandwidthTestCase.java118 Throwable exception = null;
124 exception = null;
127 exception = e.getTargetException();
130 exception = e;
140 } while ((runCount < tolerance) && (isRepetitive || exception != null));
142 if (exception != null) {
143 throw exception;
/frameworks/base/docs/html/reference/renderscript/
H A Ddoxygen.css489 .params, .retval, .exception, .tparams {
/frameworks/base/media/jni/
H A Dandroid_media_MediaCodec.cpp311 jthrowable exception = local
314 env->Throw(exception);
H A Dandroid_media_MediaMetadataRetriever.cpp50 static void process_media_retriever_call(JNIEnv *env, status_t opStatus, const char* exception, const char *message) argument
57 jniThrowException( env, exception, message);
62 jniThrowException( env, exception, msg);
104 if (!tmp) { // OutOfMemoryError exception already thrown
325 if (!array) { // OutOfMemoryError exception has already been thrown.
H A Dandroid_media_MediaPlayer.cpp119 ALOGW("An exception occurred while notifying an event.");
148 // If exception is NULL and opStatus is not OK, this method sends an error
149 // event to the client application; otherwise, if exception is not NULL and
150 // opStatus is not OK, this method throws the given exception to the client
152 static void process_media_player_call(JNIEnv *env, jobject thiz, status_t opStatus, const char* exception, const char *message) argument
154 if (exception == NULL) { // Don't throw exception. Instead, send an event.
159 } else { // Throw exception!
167 jniThrowException( env, exception, message);
172 jniThrowException( env, exception, ms
[all...]
H A Dandroid_media_MediaRecorder.cpp116 // Returns true if it throws an exception.
117 static bool process_media_recorder_call(JNIEnv *env, status_t opStatus, const char* exception, const char* message) argument
124 jniThrowException(env, exception, message);
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DAsyncRunner.java48 public Exception exception; field in class:AsyncRunner.RunnerResult
90 } catch (Exception exception) {
91 result.exception = exception;
98 } catch (Exception exception) {
99 result.exception = exception;
121 setException(result.exception);
126 } catch (Exception exception) {
128 setException(exception);
243 setException(Exception exception) argument
[all...]
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/
H A DInputStreamSource.java77 } catch (IOException exception) {
79 "InputStreamSource: Could not read stream: " + exception.getMessage() + "!");
H A DOutputStreamTarget.java61 } catch (IOException exception) {
63 "OutputStreamTarget: Could not write to stream: " + exception.getMessage() + "!");
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DMediaRecorderPrepareStateUnitTest.java57 } catch (IOException exception) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DImageWallpaper.java401 Throwable exception = null;
407 exception = e;
409 exception = e;
412 if (exception != null) {
417 Log.w(TAG, "Unable to load wallpaper!", exception);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/
H A DTabletTicker.java271 Exception exception = null;
276 exception = e;
281 Slog.e(TAG, "couldn't inflate view for notification " + ident, exception);
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DCameraWidgetFrame.java163 Exception exception = null;
172 exception = e;
174 exception = e;
176 if (exception != null) {
177 Log.w(TAG, "Error creating camera widget view", exception);
/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 DTestRunner.java216 public void failed(String className, Throwable exception) { argument
220 mListeners.get(i).failed(className, exception);

Completed in 340 milliseconds

1234