Home
last modified time | relevance | path

Searched refs:getCause (Results 1 – 25 of 54) sorted by relevance

123

/frameworks/base/core/java/android/net/http/
DX509TrustManagerExtensions.java106 if (e.getCause() instanceof CertificateException) { in checkServerTrusted()
107 throw (CertificateException) e.getCause(); in checkServerTrusted()
109 if (e.getCause() instanceof RuntimeException) { in checkServerTrusted()
110 throw (RuntimeException) e.getCause(); in checkServerTrusted()
112 throw new CertificateException("checkServerTrusted failed", e.getCause()); in checkServerTrusted()
144 if (e.getCause() instanceof RuntimeException) { in isSameTrustConfiguration()
145 throw (RuntimeException) e.getCause(); in isSameTrustConfiguration()
147 throw new RuntimeException("isSameTrustConfiguration failed", e.getCause()); in isSameTrustConfiguration()
/frameworks/base/core/java/android/os/
DParcelableException.java44 if (clazz.isAssignableFrom(getCause().getClass())) { in maybeRethrow()
45 throw (T) getCause(); in maybeRethrow()
76 writeToParcel(dest, getCause()); in writeToParcel()
/frameworks/opt/net/voip/src/java/android/net/sip/
DSipException.java33 && (cause.getCause() != null)) in SipException()
34 ? cause.getCause() in SipException()
/frameworks/base/core/java/android/util/
DExceptionUtils.java49 while ((t = t.getCause()) != null) { in getCompleteMessage()
86 while (t.getCause() != null) t = t.getCause(); in getRootCause()
DReflectiveProperty.java122 throw new RuntimeException(e.getCause()); in set()
143 throw new RuntimeException(e.getCause()); in get()
DLog.java357 t = t.getCause(); in getStackTraceString()
451 t = t.getCause(); in printlns()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerException.java50 throw new PackageManagerException(e.error, e.getMessage(), e.getCause()); in from()
56 e.getMessage(), e.getCause()); in from()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
DAgentExceptionTest.java46 assertThat(exception.getCause()).isEqualTo(cause); in testTransitory_withCause()
63 assertThat(exception.getCause()).isEqualTo(cause); in testPermanent_withCause()
DTaskExceptionTest.java51 assertThat(exception.getCause()).isEqualTo(cause); in testStateCompromised_whenCauseInstanceOfTaskException()
62 assertThat(exception.getCause()).isEqualTo(cause); in testStateCompromised_whenCauseNotInstanceOfTaskException()
99 assertThat(exception.getCause()).isEqualTo(cause); in testCausedBy_whenCauseNotInstanceOfTaskException()
DBackupExceptionTest.java38 assertThat(exception.getCause()).isEqualTo(cause); in testConstructor_passesCause()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/support/
DDrawerLayoutUtil.java30 import static com.android.layoutlib.bridge.util.ReflectionUtils.getCause;
63 getCause(e), null); in openDrawer()
DFragmentTabHostUtil.java26 import static com.android.layoutlib.bridge.util.ReflectionUtils.getCause;
72 Throwable cause = getCause(e); in setup()
DRecyclerViewUtil.java32 import static com.android.layoutlib.bridge.util.ReflectionUtils.getCause;
74 Throwable cause = getCause(e); in setAdapter()
/frameworks/base/core/tests/coretests/src/android/content/res/
DResourcesDrawableTest.java70 exception.getCause().getCause().getMessage() in testLoadColorAsDrawableFailureThrowsOriginalException()
/frameworks/base/tests/testables/src/android/testing/
DTestableLooper.java292 if (re.getCause() instanceof LooperException) { in invokeExplosively()
293 throw ((LooperException) re.getCause()).getSource(); in invokeExplosively()
295 throw re.getCause(); in invokeExplosively()
DTestableInstrumentation.java126 topStack = t.getCause().getStackTrace()[0]; in checkStack()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteDatabaseCorruptException.java40 th = th.getCause(); in isCorruptException()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
DReflectionUtils.java107 public static Throwable getCause(@NonNull Throwable throwable) { in getCause() method in ReflectionUtils
108 Throwable cause = throwable.getCause(); in getCause()
/frameworks/base/apct-tests/perftests/core/src/android/os/
DParcelPerfTest.java231 assertTrue(e.getCause() instanceof RemoteException); in timeReadException()
233 assertNull(e.getCause()); in timeReadException()
/frameworks/base/core/java/android/ddm/
DDdmHandleViewDebug.java389 Log.e(TAG, "Exception while invoking method: " + e.getCause().getMessage()); in invokeViewMethod()
390 String msg = e.getCause().getMessage(); in invokeViewMethod()
392 msg = e.getCause().toString(); in invokeViewMethod()
/frameworks/base/core/java/android/view/inspector/
DStaticInspectionCompanionProvider.java51 Throwable cause = e.getCause(); in provide()
/frameworks/base/tests/utils/testutils/java/android/app/test/
DMockAnswerUtil.java53 throw e.getCause(); in answer()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/
DBridge.java410 while (t2.getCause() != null) { in createSession()
411 t2 = t2.getCause(); in createSession()
438 while (t2.getCause() != null) { in renderDrawable()
439 t2 = t.getCause(); in renderDrawable()
/frameworks/multidex/library/test/src/android/util/
DLog.java192 t = t.getCause(); in getStackTraceString()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
DWrappedKey.java85 Throwable cause = e.getCause(); in fromSecretKey()

123