Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/com/android/internal/inputmethod/
DCallbackUtils.java58 } catch (Throwable throwable) { in onResult()
59 exception = throwable; in onResult()
84 } catch (Throwable throwable) { in onResult()
85 exception = throwable; in onResult()
111 } catch (Throwable throwable) { in onResult()
112 exception = throwable; in onResult()
138 } catch (Throwable throwable) { in onResult()
139 exception = throwable; in onResult()
165 } catch (Throwable throwable) { in onResult()
166 exception = throwable; in onResult()
[all …]
DThrowableHolder.java33 ThrowableHolder(@NonNull Throwable throwable) { in ThrowableHolder() argument
34 mMessage = throwable.getMessage(); in ThrowableHolder()
46 public static ThrowableHolder of(@NonNull Throwable throwable) { in of() argument
47 return new ThrowableHolder(throwable); in of()
/frameworks/base/packages/StatementService/src/com/android/statementservice/utils/
DResult.kt24 data class Failure<T>(val message: String? = null, val throwable: Throwable? = null) : in successValueOrNull() constant in com.android.statementservice.utils.Result.Failure
27 constructor(message: String) : this(message = message, throwable = null) in successValueOrNull()
28 constructor(throwable: Throwable) : this(message = null, throwable = throwable) in successValueOrNull()
/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/core/java/com/android/internal/infra/
DAndroidFuture.java554 private static void writeThrowable(@NonNull Parcel parcel, @Nullable Throwable throwable) { in writeThrowable() argument
555 boolean hasThrowable = throwable != null; in writeThrowable()
561 boolean isFrameworkParcelable = throwable instanceof Parcelable in writeThrowable()
562 && throwable.getClass().getClassLoader() == Parcelable.class.getClassLoader(); in writeThrowable()
565 parcel.writeParcelable((Parcelable) throwable, in writeThrowable()
570 parcel.writeString(throwable.getClass().getName()); in writeThrowable()
571 parcel.writeString(throwable.getMessage()); in writeThrowable()
572 StackTraceElement[] stackTrace = throwable.getStackTrace(); in writeThrowable()
582 writeThrowable(parcel, throwable.getCause()); in writeThrowable()
603 Throwable throwable; in readThrowable() local
[all …]
/frameworks/layoutlib/remote/server/src/com/android/layoutlib/bridge/remote/server/adapters/
DRemoteLayoutLogAdapter.java42 public void fidelityWarning(String tag, String message, Throwable throwable, Object viewCookie, in fidelityWarning() argument
45 mLog.fidelityWarning(tag, message, throwable, viewCookie, data); in fidelityWarning()
61 public void error(String tag, String message, Throwable throwable, Object viewCookie, in error() argument
64 mLog.error(tag, message, throwable, viewCookie, null); in error()
/frameworks/layoutlib/remote/client/src/com/android/layoutlib/bridge/remote/client/adapters/
DRemoteLayoutLogAdapter.java45 public void fidelityWarning(String tag, String message, Throwable throwable, Object viewCookie, in fidelityWarning() argument
47 mLog.fidelityWarning(tag, message, throwable, viewCookie, data); in fidelityWarning()
56 …public void error(String tag, String message, Throwable throwable, Object viewCookie, Serializable… in error() argument
57 mLog.error(tag, message, throwable, viewCookie, null); in error()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/plugins/
DPluginManagerImpl.java427 public void uncaughtException(Thread thread, Throwable throwable) { in uncaughtException() argument
429 mHandler.uncaughtException(thread, throwable); in uncaughtException()
433 boolean disabledAny = checkStack(throwable); in uncaughtException()
445 throwable = new CrashWhilePluginActiveException(throwable); in uncaughtException()
449 mHandler.uncaughtException(thread, throwable); in uncaughtException()
452 private boolean checkStack(Throwable throwable) { in checkStack() argument
453 if (throwable == null) return false; in checkStack()
456 for (StackTraceElement element : throwable.getStackTrace()) { in checkStack()
462 return disabledAny | checkStack(throwable.getCause()); in checkStack()
467 public CrashWhilePluginActiveException(Throwable throwable) { in CrashWhilePluginActiveException() argument
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/
DEuiccCardException.java30 public EuiccCardException(String message, Throwable throwable) { in EuiccCardException() argument
31 super(message, throwable); in EuiccCardException()
/frameworks/base/core/tests/coretests/src/android/animation/
DFutureWaiter.java45 public boolean setException(Throwable throwable) { in setException() argument
46 return super.setException(throwable); in setException()
/frameworks/base/apex/appsearch/framework/java/android/app/appsearch/
DBatchResultCallback.java55 default void onSystemError(@Nullable Throwable throwable) { in onSystemError() argument
56 throw new RuntimeException("Unrecoverable system error", throwable); in onSystemError()
/frameworks/base/telephony/java/com/android/internal/telephony/uicc/asn1/
DInvalidAsn1DataException.java31 public InvalidAsn1DataException(int tag, String message, Throwable throwable) { in InvalidAsn1DataException() argument
32 super(message, throwable); in InvalidAsn1DataException()
/frameworks/base/core/tests/coretests/src/android/app/appsearch/
DAppSearchSessionUnitTest.java93 public void onSystemError(Throwable throwable) { in testPutDocument_throwsNullException()
94 putDocumentsFuture.completeExceptionally(throwable); in testPutDocument_throwsNullException()
134 public void onSystemError(Throwable throwable) { in testGetEmptyNextPage()
135 putDocumentsFuture.completeExceptionally(throwable); in testGetEmptyNextPage()
192 public void onSystemError(Throwable throwable) { in testGetEmptyNextPage_multiPages()
193 putDocumentsFuture.completeExceptionally(throwable); in testGetEmptyNextPage_multiPages()
/frameworks/base/services/core/java/com/android/server/pm/
DParallelPackageParser.java67 Throwable throwable; // Set if an error occurs during parsing field in ParallelPackageParser.ParseResult
74 ", throwable=" + throwable + in toString()
110 pr.throwable = e; in submit()
DPackageManagerException.java38 public PackageManagerException(int error, String detailMessage, Throwable throwable) { in PackageManagerException() argument
39 super(detailMessage, throwable); in PackageManagerException()
/frameworks/base/core/java/android/app/search/
DSearchSession.java194 } catch (Throwable throwable) { in finalize()
195 throwable.printStackTrace(); in finalize()
209 } catch (Throwable throwable) { in close()
210 throwable.printStackTrace(); in close()
/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/core/java/android/app/smartspace/
DSmartspaceSession.java233 } catch (Throwable throwable) { in finalize()
234 throwable.printStackTrace(); in finalize()
244 } catch (Throwable throwable) { in close()
245 throwable.printStackTrace(); in close()
/frameworks/layoutlib/remote/common/src/com/android/layout/remote/api/
DRemoteLayoutLog.java51 void fidelityWarning(String tag, String message, Throwable throwable, Object viewCookie, in fidelityWarning() argument
73 … void error(String tag, String message, Throwable throwable, Object viewCookie, Serializable data) in error() argument
/frameworks/base/test-base/src/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/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
DReflectionUtils.java107 public static Throwable getCause(@NonNull Throwable throwable) { in getCause() argument
108 Throwable cause = throwable.getCause(); in getCause()
109 return cause == null ? throwable : cause; in getCause()
/frameworks/base/core/java/android/service/storage/
DExternalStorageService.java258 private void sendResult(String sessionId, Throwable throwable, RemoteCallback callback) { in sendResult() argument
261 if (throwable != null) { in sendResult()
262 bundle.putParcelable(EXTRA_ERROR, new ParcelableException(throwable)); in sendResult()
/frameworks/layoutlib/bridge/src/android/animation/
DAnimationThread.java165 } catch (Throwable throwable) { in run()
168 mListener.done(Status.ERROR_UNKNOWN.createResult("Error playing animation", throwable)); in run()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DSystemServicesTestRule.java129 Throwable throwable = null; in apply()
134 throwable = t; in apply()
139 if (throwable != null) { in apply()
140 Log.e("SystemServicesTestRule", "Suppressed: ", throwable); in apply()
141 t.addSuppressed(throwable); in apply()
145 if (throwable != null) throw throwable; in apply()

12