Home
last modified time | relevance | path

Searched refs:throwable (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/base/core/java/android/view/
DInflateException.java28 public InflateException(String detailMessage, Throwable throwable) { in InflateException() argument
29 super(detailMessage, throwable); in InflateException()
36 public InflateException(Throwable throwable) { in InflateException() argument
37 super(throwable); in InflateException()
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DUiObjectNotFoundException.java41 public UiObjectNotFoundException(String detailMessage, Throwable throwable) { in UiObjectNotFoundException() argument
42 super(detailMessage, throwable); in UiObjectNotFoundException()
48 public UiObjectNotFoundException(Throwable throwable) { in UiObjectNotFoundException() argument
49 super(throwable); in UiObjectNotFoundException()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
DReflectionUtils.java71 public static Throwable getCause(@NonNull Throwable throwable) { in getCause() argument
72 Throwable cause = throwable.getCause(); in getCause()
73 return cause == null ? throwable : cause; in getCause()
/frameworks/base/core/tests/coretests/src/android/animation/
DFutureWaiter.java44 public boolean setException(Throwable throwable) { in setException() argument
45 return super.setException(throwable); in setException()
/frameworks/base/services/core/java/com/android/server/
DNativeDaemonConnectorException.java33 public NativeDaemonConnectorException(String detailMessage, Throwable throwable) { in NativeDaemonConnectorException() argument
34 super(detailMessage, throwable); in NativeDaemonConnectorException()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerException.java38 public PackageManagerException(int error, String detailMessage, Throwable throwable) { in PackageManagerException() argument
39 super(detailMessage, throwable); in PackageManagerException()
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
DBaseInstrumentationTestCase.java55 } catch (Throwable throwable) { in runTestOnUiThread()
56 exceptions[0] = throwable; in runTestOnUiThread()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DBaseRecyclerViewInstrumentationTest.java121 } catch (Throwable throwable) { in setHasTransientState()
122 Log.e(TAG, "", throwable); in setHasTransientState()
214 } catch (Throwable throwable) { in tearDown()
215 throwable.printStackTrace(); in tearDown()
224 } catch (Throwable throwable) { in tearDown()
225 throw new Exception(Log.getStackTraceString(throwable)); in tearDown()
318 } catch (Throwable throwable) { in requestFocus()
319 fail(throwable.getMessage()); in requestFocus()
396 } catch (Throwable throwable) { in requestLayoutOnUIThread()
397 Log.e(TAG, "", throwable); in requestLayoutOnUIThread()
[all …]
DRecyclerViewFocusRecoveryTest.java273 } catch (Throwable throwable) { in testDoNotRecoverViaPositionOnNewDataSet()
274 postExceptionToInstrumentation(throwable); in testDoNotRecoverViaPositionOnNewDataSet()
339 } catch (Throwable throwable) { in testDoNotOverrideAdapterRequestedFocus()
340 postExceptionToInstrumentation(throwable); in testDoNotOverrideAdapterRequestedFocus()
387 } catch (Throwable throwable) { in testDoNotOverrideLayoutManagerRequestedFocus()
388 postExceptionToInstrumentation(throwable); in testDoNotOverrideLayoutManagerRequestedFocus()
DBaseLinearLayoutManagerTest.java148 } catch (Throwable throwable) { in scrollToPositionWithPredictive()
149 throwable.printStackTrace(); in scrollToPositionWithPredictive()
175 Throwable throwable = null; in assertRectSetsNotEqual() local
179 throwable = t; in assertRectSetsNotEqual()
181 assertNotNull(message + "\ntwo layout should be different", throwable); in assertRectSetsNotEqual()
DBaseGridLayoutManagerTest.java159 } catch (Throwable throwable) { in setFakeRtl()
160 postExceptionToInstrumentation(throwable); in setFakeRtl()
DBaseStaggeredGridLayoutManagerTest.java139 Throwable throwable = null; in assertRectSetsNotEqual() local
143 throwable = t; in assertRectSetsNotEqual()
145 assertNotNull(message + " two layout should be different", throwable); in assertRectSetsNotEqual()
682 } catch (Throwable throwable) { in setFakeRtl()
683 postExceptionToInstrumentation(throwable); in setFakeRtl()
DRecyclerViewAccessibilityTest.java269 } catch (Throwable throwable) { in ignoreAccessibilityIfAdapterHasChanged()
270 postExceptionToInstrumentation(throwable); in ignoreAccessibilityIfAdapterHasChanged()
DRecyclerViewLayoutTest.java475 } catch (Throwable throwable) { in reattachAndScrollCrash()
476 postExceptionToInstrumentation(throwable); in reattachAndScrollCrash()
825 } catch (Throwable throwable) { in unnecessaryNotifyEvents()
826 postExceptionToInstrumentation(throwable); in unnecessaryNotifyEvents()
981 } catch (Throwable throwable) { in addItemOnScroll()
982 error[0] = throwable; in addItemOnScroll()
1245 } catch (Throwable throwable) { in assertPendingUpdatesAndLayoutTest()
3045 } catch (Throwable throwable) { in updatesAfterDetach()
3046 postExceptionToInstrumentation(throwable); in updatesAfterDetach()
3160 } catch (Throwable throwable) { in notifyDataSetChangedWithStableIds()
[all …]
DItemAnimatorV2ApiTest.java501 } catch (Throwable throwable) { in notifyDataSetChangedWithAppearing()
502 throwable.printStackTrace(); in notifyDataSetChangedWithAppearing()
539 } catch (Throwable throwable) { in notifyDataSetChangedWithDispappearing()
540 throwable.printStackTrace(); in notifyDataSetChangedWithDispappearing()
/frameworks/base/core/java/android/test/
DInstrumentationTestCase.java145 } catch (Throwable throwable) { in runTestOnUiThread()
146 exceptions[0] = throwable; in runTestOnUiThread()
196 } catch (Throwable throwable) { in runTest()
197 exceptions[0] = throwable; in runTest()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/
DBaseThreadedTest.java43 } catch (Throwable throwable) { in setUp()
44 Assert.fail(throwable.getMessage()); in setUp()
/frameworks/base/core/java/android/os/
DFileObserver.java123 } catch (Throwable throwable) { in onEvent()
124 Log.wtf(LOG_TAG, "Unhandled exception in FileObserver " + observer, throwable); in onEvent()
/frameworks/base/tools/layoutlib/bridge/src/android/animation/
DAnimationThread.java166 } catch (Throwable throwable) { in run()
169 mListener.done(Status.ERROR_UNKNOWN.createResult("Error playing animation", throwable)); in run()
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTest/java/android/databinding/testapp/
DBaseDataBinderTest.java102 } catch (Throwable throwable) { in initBinder()
103 initError[0] = throwable; in initBinder()
/frameworks/base/core/tests/utillib/src/android/test/
DBandwidthTestCase.java81 } catch (Throwable throwable) { in runTest()
82 exceptions[0] = throwable; in runTest()
/frameworks/support/design/tests/src/android/support/design/widget/
DTabLayoutTest.java83 } catch (Throwable throwable) { in testInflateTabLayoutWithNonTabItem()
84 exceptions[0] = throwable; in testInflateTabLayoutWithNonTabItem()
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/
DMain.java626 Throwable throwable, Object data) { in getLayoutLog()
629 if (throwable != null) { in getLayoutLog()
630 throwable.printStackTrace(); in getLayoutLog()
642 public void error(String tag, String message, Throwable throwable, Object data) { in getLayoutLog()
644 if (throwable != null) { in getLayoutLog()
645 throwable.printStackTrace(); in getLayoutLog()
/frameworks/opt/net/voip/src/java/android/net/sip/
DSipAudioCall.java1124 private void throwSipException(Throwable throwable) throws SipException {
1125 if (throwable instanceof SipException) {
1126 throw (SipException) throwable;
1128 throw new SipException("", throwable);
/frameworks/data-binding/compiler/src/main/java/android/databinding/annotationprocessor/
DProcessExpressions.java67 } catch (Throwable throwable) { in onHandleStep()
68 L.e(throwable, "unable to prepare resource bundle"); in onHandleStep()

12