Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/net/http/
DX509TrustManagerExtensions.java107 if (e.getCause() instanceof CertificateException) { in checkServerTrusted()
108 throw (CertificateException) e.getCause(); in checkServerTrusted()
110 if (e.getCause() instanceof RuntimeException) { in checkServerTrusted()
111 throw (RuntimeException) e.getCause(); in checkServerTrusted()
113 throw new CertificateException("checkServerTrusted failed", e.getCause()); in checkServerTrusted()
146 if (e.getCause() instanceof RuntimeException) { in isSameTrustConfiguration()
147 throw (RuntimeException) e.getCause(); in isSameTrustConfiguration()
149 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/support/transition/src/main/java/androidx/transition/
DViewUtilsApi21.java50 throw new RuntimeException(e.getCause()); in transformMatrixToGlobal()
64 throw new RuntimeException(e.getCause()); in transformMatrixToLocal()
78 throw new RuntimeException(e.getCause()); in setAnimationMatrix()
DViewUtilsApi19.java47 throw new RuntimeException(e.getCause()); in setTransitionAlpha()
63 throw new RuntimeException(e.getCause()); in getTransitionAlpha()
DGhostViewApi21.java51 throw new RuntimeException(e.getCause()); in addGhost()
65 throw new RuntimeException(e.getCause()); in removeGhost()
DViewUtilsApi22.java45 throw new RuntimeException(e.getCause()); in setLeftTopRightBottom()
DImageViewUtils.java66 throw new RuntimeException(e.getCause()); in animateTransform()
/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.java345 t = t.getCause(); in getStackTraceString()
419 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/layoutlib/bridge/src/com/android/layoutlib/bridge/android/support/
DFragmentTabHostUtil.java26 import static com.android.layoutlib.bridge.util.ReflectionUtils.getCause;
72 Throwable cause = getCause(e); in setup()
DDrawerLayoutUtil.java30 import static com.android.layoutlib.bridge.util.ReflectionUtils.getCause;
63 getCause(e), null); in openDrawer()
DRecyclerViewUtil.java33 import static com.android.layoutlib.bridge.util.ReflectionUtils.getCause;
74 Throwable cause = getCause(e); in setAdapter()
/frameworks/base/tests/testables/src/android/testing/
DTestableLooper.java281 if (re.getCause() instanceof LooperException) { in invokeExplosively()
282 throw ((LooperException) re.getCause()).getSource(); in invokeExplosively()
284 throw re.getCause(); in invokeExplosively()
DTestableInstrumentation.java121 topStack = t.getCause().getStackTrace()[0]; in checkStack()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
DReflectionUtils.java98 public static Throwable getCause(@NonNull Throwable throwable) { in getCause() method in ReflectionUtils
99 Throwable cause = throwable.getCause(); in getCause()
/frameworks/base/apct-tests/perftests/core/src/android/os/
DParcelPerfTest.java230 assertTrue(e.getCause() instanceof RemoteException); in timeReadException()
232 assertNull(e.getCause()); in timeReadException()
/frameworks/base/tests/utils/testutils/java/android/app/test/
DMockAnswerUtil.java53 throw e.getCause(); in answer()
/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/layoutlib/bridge/src/com/android/layoutlib/bridge/
DBridge.java401 while (t2.getCause() != null) { in createSession()
402 t2 = t2.getCause(); in createSession()
429 while (t2.getCause() != null) { in renderDrawable()
430 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.java81 Throwable cause = e.getCause(); in fromSecretKey()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/
DEventBus.java649 Log.e(TAG, "Failed to create InterprocessEvent", e.getCause()); in onReceive()
894 Log.e(TAG, "Failed to invoke method", e.getCause()); in processEvent()
896 throw new RuntimeException(e.getCause()); in processEvent()

12