Home
last modified time | relevance | path

Searched refs:throwable (Results 1 – 25 of 35) 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.java123 } catch (Throwable throwable) { in setHasTransientState()
124 Log.e(TAG, "", throwable); in setHasTransientState()
216 } catch (Throwable throwable) { in tearDown()
217 throwable.printStackTrace(); in tearDown()
226 } catch (Throwable throwable) { in tearDown()
227 throw new Exception(Log.getStackTraceString(throwable)); in tearDown()
320 } catch (Throwable throwable) { in requestFocus()
321 fail(throwable.getMessage()); in requestFocus()
398 } catch (Throwable throwable) { in requestLayoutOnUIThread()
399 Log.e(TAG, "", throwable); in requestLayoutOnUIThread()
[all …]
DRecyclerViewFocusRecoveryTest.java275 } catch (Throwable throwable) { in testDoNotRecoverViaPositionOnNewDataSet()
276 postExceptionToInstrumentation(throwable); in testDoNotRecoverViaPositionOnNewDataSet()
341 } catch (Throwable throwable) { in testDoNotOverrideAdapterRequestedFocus()
342 postExceptionToInstrumentation(throwable); in testDoNotOverrideAdapterRequestedFocus()
389 } catch (Throwable throwable) { in testDoNotOverrideLayoutManagerRequestedFocus()
390 postExceptionToInstrumentation(throwable); in testDoNotOverrideLayoutManagerRequestedFocus()
DBaseLinearLayoutManagerTest.java164 } catch (Throwable throwable) { in scrollToPositionWithPredictive()
165 throwable.printStackTrace(); in scrollToPositionWithPredictive()
191 Throwable throwable = null; in assertRectSetsNotEqual() local
195 throwable = t; in assertRectSetsNotEqual()
197 assertNotNull(message + "\ntwo layout should be different", throwable); in assertRectSetsNotEqual()
DRecyclerViewAccessibilityTest.java269 } catch (Throwable throwable) { in ignoreAccessibilityIfAdapterHasChanged()
270 postExceptionToInstrumentation(throwable); in ignoreAccessibilityIfAdapterHasChanged()
DBaseGridLayoutManagerTest.java182 } catch (Throwable throwable) { in setFakeRtl()
183 postExceptionToInstrumentation(throwable); in setFakeRtl()
DBaseStaggeredGridLayoutManagerTest.java138 Throwable throwable = null; in assertRectSetsNotEqual() local
142 throwable = t; in assertRectSetsNotEqual()
144 assertNotNull(message + " two layout should be different", throwable); in assertRectSetsNotEqual()
751 } catch (Throwable throwable) { in setFakeRtl()
752 postExceptionToInstrumentation(throwable); in setFakeRtl()
/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.java124 } catch (Throwable throwable) { in onEvent()
125 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/v7/appcompat/src/android/support/v7/app/
DAppCompatDelegateImplBase.java70 private boolean shouldWrapException(Throwable throwable) {
71 if (throwable instanceof Resources.NotFoundException) {
72 final String message = throwable.getMessage();
/frameworks/support/design/tests/src/android/support/design/widget/
DTabLayoutTest.java82 } catch (Throwable throwable) { in testInflateTabLayoutWithNonTabItem()
83 assertTrue(throwable instanceof InflateException in testInflateTabLayoutWithNonTabItem()
84 || throwable instanceof IllegalArgumentException); 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/support/core-utils/kitkat/android/support/v4/print/
DPrintHelperKitkat.java421 protected void onPostExecute(Throwable throwable) { in writeBitmap() argument
425 } else if (throwable == null) { in writeBitmap()
430 Log.e(LOG_TAG, "Error writing printed content", throwable); in writeBitmap()
/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