Searched refs:exception (Results 76 - 100 of 165) sorted by relevance

1234567

/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
H A DMapper.java171 } catch (FileNotFoundException exception) {
172 Log.e(MtpDocumentsProvider.TAG, "Unexpected FileNotFoundException.", exception);
173 throw new RuntimeException(exception);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaMmiCode.java314 if (ar.exception != null) {
316 if (ar.exception instanceof CommandException) {
317 CommandException.Error err = ((CommandException)(ar.exception)).getCommandError();
/frameworks/data-binding/compilationTests/src/test/java/android/databinding/compilationTest/
H A DSimpleCompilationTest.java168 for (ScopedException exception : bindingExceptions) {
169 ScopedErrorReport report = exception.getScopedErrorReport();
181 fail("unexpected exception " + exception.getBareMessage());
187 assertEquals(message, exception.getBareMessage());
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DSmsStorageMonitor.java113 if (ar.exception != null) {
H A DNetworkRegistrationManager.java138 } catch (RemoteException exception) {
139 // Remote exception means that the binder already died.
141 logd("RemoteException " + exception);
H A DTelephonyDevController.java116 if (ar.exception == null) {
169 if ((ar.exception == null) && (ar.result != null)) {
H A DProxyController.java220 // Check if there is any ongoing transaction and throw an exception if there
341 if ((TelephonyManager.getDefault().getPhoneCount() == 1) && (ar.exception != null)) {
343 logd("onStartRadioCapabilityResponse got exception=" + ar.exception);
358 if (((AsyncResult) msg.obj).exception != null) {
414 if (((AsyncResult) msg.obj).exception != null) {
448 if ((((AsyncResult) msg.obj).exception != null) ||
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
H A DIccPhoneBookInterfaceManagerTest.java106 AsyncResult.forMessage(response).exception = new RuntimeException();
113 //the later read return null due to exception
/frameworks/support/room/runtime/src/main/java/androidx/room/
H A DInvalidationTracker.java338 } catch (IllegalStateException | SQLiteException exception) {
341 exception);
442 } catch (IllegalStateException | SQLiteException exception) {
445 exception);
/frameworks/data-binding/compilerCommon/src/main/grammar-gen/android/databinding/parser/
H A DBindingExpressionParser.java200 _localctx.exception = re;
250 _localctx.exception = re;
325 _localctx.exception = re;
378 _localctx.exception = re;
476 _localctx.exception = re;
538 _localctx.exception = re;
1368 _localctx.exception = re;
1416 _localctx.exception = re;
1480 _localctx.exception = re;
1546 _localctx.exception
[all...]
/frameworks/base/core/jni/
H A DBindTest.cpp70 goto exception;
74 exception:
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/processing/
H A DScope.java60 public static void defer(ScopedException exception) { argument
61 sDeferredExceptions.add(exception);
84 * consumed, it creates the exception and defers if possible then exits from the provided
89 * @param msg The exception message
/frameworks/opt/net/voip/src/java/com/android/server/sip/
H A DSipSessionGroup.java413 private Throwable getRootCause(Throwable exception) { argument
414 Throwable cause = exception.getCause();
416 exception = cause;
417 cause = exception.getCause();
419 return exception;
1423 private void onError(Throwable exception) { argument
1424 exception = getRootCause(exception);
1425 onError(getErrorCode(exception), exception
1464 getErrorCode(Throwable exception) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/
H A DRemoteViewsTest.java61 public final ExpectedException exception = ExpectedException.none(); field in class:RemoteViewsTest
115 exception.expect(IllegalStateException.class);
185 exception.expect(Exception.class);
354 exception.expect(IllegalArgumentException.class);
376 exception.expect(IllegalArgumentException.class);
H A DAppWidgetHostViewTest.java54 public final ExpectedException exception = ExpectedException.none(); field in class:AppWidgetHostViewTest
/frameworks/rs/tests/lldb/
H A Drun_tests.py31 from tests.harness.exception import TestSuiteException, FailFastException
366 ''' Throw an exception if the emulator process has ended.
633 log.exception('Test suite pre run failure')
808 log.exception('Internal test suite error')
814 log.exception('Early exit after first test failure')
819 log.exception('Test suite exception')
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DIccRecords.java520 // synthesize a "File Not Found" exception and return it
521 AsyncResult.forMessage(onComplete).exception =
595 * ((AsyncResult)onComplete.obj).exception == null on success
596 * ((AsyncResult)onComplete.obj).exception != null on fail
652 if (ar.exception != null) {
653 loge("Record Load Exception: " + ar.exception);
669 if (ar.exception == null) {
672 loge("Icc refresh Exception: " + ar.exception);
680 if (ar.exception != null) {
681 loge("Exception ICC SIM AKA: " + ar.exception);
[all...]
H A DRuimRecords.java185 AsyncResult.forMessage((onComplete)).exception =
626 if (ar.exception != null) {
627 loge("Exception querying IMSI, Exception:" + ar.exception);
661 if (ar.exception != null) {
679 if (ar.exception != null) {
692 if (ar.exception != null) {
693 Rlog.i(LOG_TAG, "RuimRecords update failed", ar.exception);
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DImageWallpaper.java367 Throwable exception;
371 exception = e;
381 Log.w(TAG, "Unable to load wallpaper!", exception);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
H A DNetworkDetail.java158 RuntimeException exception = null;
208 exception = e;
215 * If, however, a previous exception was detected and the UTF-8 bit is set, failure to
217 * an exception will be triggered.
229 if (extendedCapabilities.isStrictUtf8() && exception != null) {
/frameworks/support/lifecycle/reactivestreams/src/test/java/androidx/lifecycle/
H A DLiveDataReactiveStreamsTest.java120 IllegalStateException exception = new IllegalStateException("test exception");
122 processor.onError(exception);
125 assertEquals(ex.getCause(), exception);
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
H A DRecyclerViewFastScrollerTest.java209 Throwable exception = null;
213 exception = t;
215 assertTrue(exception instanceof IllegalArgumentException);
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
H A DMtpManagerTest.java71 } catch (OperationCanceledException exception) {
/frameworks/base/telephony/java/android/telephony/
H A DNetworkService.java131 } catch (RemoteException exception) {
/frameworks/layoutlib/bridge/src/android/view/
H A DBridgeInflater.java145 // Wrap the real exception in a ClassNotFoundException, so that the calling method
295 // There is some unknown inflation exception in inflating a View that was found.
306 // Wrap the real exception in an InflateException so that the calling
308 InflateException exception = new InflateException();
310 exception.initCause(e2);
312 exception.initCause(e);
314 throw exception;

Completed in 710 milliseconds

1234567