Searched refs:throwable (Results 1 - 25 of 70) sorted by relevance

123

/frameworks/base/core/java/android/view/
H A DInflateException.java28 public InflateException(String detailMessage, Throwable throwable) { argument
29 super(detailMessage, throwable);
36 public InflateException(Throwable throwable) { argument
37 super(throwable);
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DUiObjectNotFoundException.java41 public UiObjectNotFoundException(String detailMessage, Throwable throwable) { argument
42 super(detailMessage, throwable);
48 public UiObjectNotFoundException(Throwable throwable) { argument
49 super(throwable);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/
H A DEuiccCardException.java30 public EuiccCardException(String message, Throwable throwable) { argument
31 super(message, throwable);
/frameworks/base/core/tests/coretests/src/android/animation/
H A DFutureWaiter.java44 public boolean setException(Throwable throwable) { argument
45 return super.setException(throwable);
/frameworks/base/telephony/java/com/android/internal/telephony/uicc/asn1/
H A DInvalidAsn1DataException.java31 public InvalidAsn1DataException(int tag, String message, Throwable throwable) { argument
32 super(message, throwable);
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/shadow/
H A DShadowLog.java45 public static void wtf(String tag, String msg, Throwable throwable) { argument
46 org.robolectric.shadows.ShadowLog.wtf(tag, msg, throwable);
48 throw new TerribleFailure(msg, throwable);
/frameworks/base/services/core/java/com/android/server/
H A DNativeDaemonConnectorException.java33 public NativeDaemonConnectorException(String detailMessage, Throwable throwable) { argument
34 super(detailMessage, throwable);
/frameworks/layoutlib/remote/client/src/com/android/layoutlib/bridge/remote/client/adapters/
H A DRemoteLayoutLogAdapter.java45 public void fidelityWarning(String tag, String message, Throwable throwable, Object viewCookie, argument
47 mLog.fidelityWarning(tag, message, throwable, viewCookie, data);
56 public void error(String tag, String message, Throwable throwable, Serializable data) { argument
57 mLog.error(tag, message, throwable, null);
/frameworks/layoutlib/remote/server/src/com/android/layoutlib/bridge/remote/server/adapters/
H A DRemoteLayoutLogAdapter.java42 public void fidelityWarning(String tag, String message, Throwable throwable, Object viewCookie, argument
45 mLog.fidelityWarning(tag, message, throwable, viewCookie, data);
61 public void error(String tag, String message, Throwable throwable, Object data) { argument
63 mLog.error(tag, message, throwable, null);
/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageManagerException.java38 public PackageManagerException(int error, String detailMessage, Throwable throwable) { argument
39 super(detailMessage, throwable);
H A DParallelPackageParser.java70 Throwable throwable; // Set if an error occurs during parsing field in class:ParallelPackageParser.ParseResult
77 ", throwable=" + throwable +
119 pr.throwable = e;
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
H A DDataBindingTestRule.java60 } catch (Throwable throwable) {
61 throw new RuntimeException("unexpected problem in execute pending", throwable);
/frameworks/layoutlib/remote/common/src/com/android/layout/remote/api/
H A DRemoteLayoutLog.java46 * @param throwable an optional Throwable that triggered the warning
50 void fidelityWarning(String tag, String message, Throwable throwable, Object viewCookie, argument
67 * @param throwable the Throwable that triggered the error
70 void error(String tag, String message, Throwable throwable, Serializable data) argument
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/migration/
H A DMigrationTest.java204 Throwable throwable = null;
215 throwable = t;
217 assertThat(throwable, instanceOf(IllegalStateException.class));
219 assertThat(throwable.getMessage(), containsString("Migration failed"));
309 Throwable throwable = null;
316 throwable = t;
319 assertThat(throwable, is(not(nullValue())));
321 assertThat(throwable.getMessage(),
323 assertThat(throwable.getMessage(), endsWith("6"));
333 Throwable throwable
[all...]
/frameworks/support/testutils/src/main/java/androidx/testutils/
H A DAppCompatActivityUtils.java50 } catch (Throwable throwable) {
51 throw new RuntimeException(throwable);
H A DFragmentActivityUtils.java47 } catch (Throwable throwable) {
48 throw new RuntimeException(throwable);
/frameworks/base/packages/SystemUI/src/com/android/systemui/plugins/
H A DPluginManagerImpl.java353 public void uncaughtException(Thread thread, Throwable throwable) { argument
355 mHandler.uncaughtException(thread, throwable);
359 boolean disabledAny = checkStack(throwable);
369 throwable = new CrashWhilePluginActiveException(throwable);
373 mHandler.uncaughtException(thread, throwable);
376 private boolean checkStack(Throwable throwable) { argument
377 if (throwable == null) return false;
379 for (StackTraceElement element : throwable.getStackTrace()) {
384 return disabledAny | checkStack(throwable
389 CrashWhilePluginActiveException(Throwable throwable) argument
[all...]
/frameworks/support/work/workmanager/src/test/java/androidx/work/
H A DArrayCreatingInputMergerTest.java95 Throwable throwable = null;
99 throwable = t;
101 assertThat(throwable, instanceOf(IllegalArgumentException.class));
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
H A DReflectionUtils.java98 public static Throwable getCause(@NonNull Throwable throwable) { argument
99 Throwable cause = throwable.getCause();
100 return cause == null ? throwable : cause;
/frameworks/support/car/src/androidTest/java/androidx/car/drawer/
H A DCarDrawerTest.java105 } catch (Throwable throwable) {
106 throwable.printStackTrace();
107 throw new RuntimeException(throwable);
/frameworks/support/car/src/androidTest/java/androidx/car/widget/
H A DSubheaderListItemTest.java77 } catch (Throwable throwable) {
78 throwable.printStackTrace();
79 throw new RuntimeException(throwable);
/frameworks/base/core/java/android/os/
H A DFileObserver.java124 } catch (Throwable throwable) {
125 Log.wtf(LOG_TAG, "Unhandled exception in FileObserver " + observer, throwable);
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTest/java/android/databinding/testapp/
H A DBaseDataBinderTest.java102 } catch (Throwable throwable) {
103 initError[0] = throwable;
/frameworks/layoutlib/bridge/src/android/animation/
H A DAnimationThread.java165 } catch (Throwable throwable) {
168 mListener.done(Status.ERROR_UNKNOWN.createResult("Error playing animation", throwable));
/frameworks/base/test-base/src/android/test/
H A DInstrumentationTestCase.java145 } catch (Throwable throwable) {
146 exceptions[0] = throwable;
196 } catch (Throwable throwable) {
197 exceptions[0] = throwable;

Completed in 480 milliseconds

123