/frameworks/base/core/java/android/accounts/ |
H A D | AccountManager.java | 155 * necessary) and either returns the result or throws an exception if an error 2160 final IllegalStateException exception = new IllegalStateException( 2163 exception); 2165 throw exception; 2396 // we will set the exception below 2398 // we will set the exception below
|
/frameworks/base/core/java/android/appwidget/ |
H A D | AppWidgetHostView.java | 250 Log.e(TAG, "Remote provider threw runtime exception, using error view instead.", e); 391 Exception exception = null; 444 exception = e; 454 exception = e; 462 applyContent(content, recycled, exception); 466 private void applyContent(View content, boolean recycled, Exception exception) { argument 472 Log.w(TAG, "updateAppWidget couldn't find any view, using error view", exception); 682 Exception exception = null; 710 exception = e; 713 if (exception ! [all...] |
/frameworks/base/core/java/android/os/ |
H A D | AsyncResult.java | 27 // Expect either exception or result to be null 29 public Throwable exception; field in class:AsyncResult 66 exception = ex;
|
H A D | Registrant.java | 55 notifyException(Throwable exception) argument 57 internalNotifyRegistrant (null, exception); 66 internalNotifyRegistrant (ar.result, ar.exception); 70 internalNotifyRegistrant (Object result, Throwable exception) argument 81 msg.obj = new AsyncResult(userObj, result, exception);
|
H A D | RegistrantList.java | 74 internalNotifyRegistrants (Object result, Throwable exception) argument 78 r.internalNotifyRegistrant(result, exception); 89 notifyException(Throwable exception) argument 91 internalNotifyRegistrants (null, exception); 104 internalNotifyRegistrants(ar.result, ar.exception);
|
/frameworks/base/core/java/android/os/storage/ |
H A D | StorageManager.java | 634 * not mounted or exception encountered trying to read status 1452 } catch (FuseUnavailableMountException exception) { 1456 throw new IOException(exception); 1463 // Cannot recover from remote exception.
|
/frameworks/base/core/java/android/view/ |
H A D | ViewDebug.java | 1160 throw new RuntimeException("Unexpected exception", t); 1164 throw new RuntimeException("Unexpected cancellation exception", e); 1619 * @throws Exception if the method invocation caused any exception 1626 final AtomicReference<Throwable> exception = new AtomicReference<Throwable>(); 1634 exception.set(e.getCause()); 1636 exception.set(e); 1649 if (exception.get() != null) { 1650 throw new RuntimeException(exception.get());
|
/frameworks/base/core/jni/ |
H A D | BindTest.cpp | 70 goto exception; 74 exception:
|
H A D | android_view_Surface.cpp | 319 const char* const exception = (err == NO_MEMORY) ? local 322 jniThrowException(env, exception, NULL);
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
H A D | AppWidgetHostViewTest.java | 54 public final ExpectedException exception = ExpectedException.none(); field in class:AppWidgetHostViewTest
|
H A D | RemoteViewsTest.java | 58 public final ExpectedException exception = ExpectedException.none(); field in class:RemoteViewsTest 112 exception.expect(IllegalStateException.class); 182 exception.expect(Exception.class); 347 exception.expect(IllegalArgumentException.class); 366 exception.expect(IllegalArgumentException.class);
|
/frameworks/base/core/tests/coretests/src/android/widget/espresso/ |
H A D | TextViewAssertions.java | 105 return (view, exception) -> { 142 return (view, exception) -> { 163 public void check(View view, NoMatchingViewException exception) { argument 200 public void check(View view, NoMatchingViewException exception) { argument
|
/frameworks/base/core/tests/utillib/src/android/test/ |
H A D | BandwidthTestCase.java | 118 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/legacy-test/src/android/test/ |
H A D | InstrumentationTestCase.java | 215 Throwable exception = null; 221 exception = null; 224 exception = e.getTargetException(); 227 exception = e; 237 } while ((runCount < tolerance) && (isRepetitive || exception != null)); 239 if (exception != null) { 240 throw exception;
|
/frameworks/base/legacy-test/src/junit/framework/ |
H A D | TestCase.java | 128 * @throws Throwable if any exception is thrown 131 Throwable exception= null; 136 exception= running; 142 if (exception == null) exception= tearingDown; 145 if (exception != null) throw exception; 149 * @throws Throwable if any exception is thrown
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaCodec.cpp | 850 jthrowable exception = createCodecException(env, err, actionCode, msg); local 851 env->Throw(exception); 897 jthrowable exception = local 900 env->Throw(exception); 1585 // if we're out of memory, an exception was already thrown 1611 // if we're out of memory, an exception was already thrown 1637 // if we're out of memory, an exception was already thrown
|
H A D | android_media_MediaDescrambler.cpp | 263 ALOGW("Discarding pending exception"); 285 jthrowable exception = createServiceSpecificException(env, serviceSpecificError, msg); local 286 env->Throw(exception); 383 msg.appendFormat("Unknown exception code: %d, msg: %s",
|
H A D | android_media_MediaDrm.cpp | 245 ALOGW("An exception occurred while notifying an event."); 252 ALOGE("Illegal state exception: %s (%d)", msg, err); 254 jobject exception = env->NewObject(gFields.stateException.classId, local 257 env->Throw(static_cast<jthrowable>(exception));
|
H A D | android_media_MediaMetadataRetriever.cpp | 54 static void process_media_retriever_call(JNIEnv *env, status_t opStatus, const char* exception, const char *message) argument 61 jniThrowException( env, exception, message); 66 jniThrowException( env, exception, msg); 107 if (!tmp) { // OutOfMemoryError exception already thrown 359 if (!array) { // OutOfMemoryError exception has already been thrown.
|
H A D | android_media_MediaPlayer.cpp | 159 ALOGW("An exception occurred while notifying an event."); 188 // If exception is NULL and opStatus is not OK, this method sends an error 189 // event to the client application; otherwise, if exception is not NULL and 190 // opStatus is not OK, this method throws the given exception to the client 192 static void process_media_player_call(JNIEnv *env, jobject thiz, status_t opStatus, const char* exception, const char *message) argument 194 if (exception == NULL) { // Don't throw exception. Instead, send an event. 199 } else { // Throw exception! 209 jniThrowException( env, exception, message); 214 jniThrowException( env, exception, ms 1216 jobject exception = env->NewObject(gStateExceptionFields.classId, local [all...] |
H A D | android_media_MediaRecorder.cpp | 128 // Returns true if it throws an exception. 129 static bool process_media_recorder_call(JNIEnv *env, status_t opStatus, const char* exception, const char* message) argument 136 jniThrowException(env, exception, message); 173 // get_native_camera will throw an exception in this case
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | AsyncRunner.java | 40 public Exception exception; field in class:AsyncRunner.RunnerResult 82 } catch (Exception exception) { 83 result.exception = exception; 90 } catch (Exception exception) { 91 result.exception = exception; 113 setException(result.exception); 118 } catch (Exception exception) { 120 setException(exception); 235 setException(Exception exception) argument [all...] |
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/ |
H A D | InputStreamSource.java | 76 } catch (IOException exception) { 78 "InputStreamSource: Could not read stream: " + exception.getMessage() + "!");
|
H A D | OutputStreamTarget.java | 60 } catch (IOException exception) { 62 "OutputStreamTarget: Could not write to stream: " + exception.getMessage() + "!");
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
H A D | MediaRecorderPrepareStateUnitTest.java | 57 } catch (IOException exception) {
|