Home
last modified time | relevance | path

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

123456

/aosp12/frameworks/base/core/java/com/android/internal/inputmethod/
H A 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()
139 exception = throwable; in onResult()
166 exception = throwable; in onResult()
192 exception = throwable; in onResult()
217 exception = throwable; in onResult()
[all …]
H A 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()
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/common/
H A DLogger.java73 public void v(String message, Throwable throwable) { in v() argument
75 Log.v(TAG, mPrefix.concat(message), throwable); in v()
98 public void d(String message, Throwable throwable) { in d() argument
100 Log.d(TAG, mPrefix.concat(message), throwable); in d()
123 public void i(String message, Throwable throwable) { in i() argument
145 public void w(String message, Throwable throwable) { in w() argument
146 Log.w(TAG, mPrefix.concat(message), throwable); in w()
165 public void e(String message, Throwable throwable) { in e() argument
166 Log.e(TAG, mPrefix.concat(message), throwable); in e()
186 public void wtf(String message, Throwable throwable) { in wtf() argument
[all …]
/aosp12/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
H A DThrowableAnalyzer.java27 public static boolean isOOM(Throwable throwable) { in isOOM() argument
30 while (throwable != null) { in isOOM()
31 if (throwable instanceof OutOfMemoryError) { in isOOM()
34 throwable = throwable.getCause(); in isOOM()
/aosp12/frameworks/base/packages/StatementService/src/com/android/statementservice/utils/
H A DResult.kt24 data class Failure<T>(val message: String? = null, val throwable: Throwable? = null) :
27 constructor(message: String) : this(message = message, throwable = null)
28 constructor(throwable: Throwable) : this(message = null, throwable = throwable)
/aosp12/frameworks/base/core/java/android/view/
H A 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()
/aosp12/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/plugins/
H A DPluginManagerImpl.java276 public void uncaughtException(Thread thread, Throwable throwable) { in uncaughtException() argument
278 Throwable finalThrowable = throwable; in uncaughtException()
285 boolean disabledAny = checkStack(throwable); in uncaughtException()
297 throwable = new CrashWhilePluginActiveException(throwable); in uncaughtException()
301 Throwable finalThrowable = throwable; in uncaughtException()
306 private boolean checkStack(Throwable throwable) { in checkStack() argument
307 if (throwable == null) return false; in checkStack()
310 for (StackTraceElement element : throwable.getStackTrace()) { in checkStack()
316 return disabledAny | checkStack(throwable.getCause()); in checkStack()
321 public CrashWhilePluginActiveException(Throwable throwable) { in CrashWhilePluginActiveException() argument
[all …]
/aosp12/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A 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()
/aosp12/packages/apps/Dialer/java/com/android/dialer/commandline/
H A DCommandLineReceiver.java82 public void onFailure(Throwable throwable) { in onReceive() argument
83 if (throwable instanceof IllegalCommandLineArgumentException) { in onReceive()
84 LogUtil.e(outputTag, throwable.getMessage() + "\n\nusage:\n" + command.getUsage()); in onReceive()
86 LogUtil.e(outputTag, "error running command future", throwable); in onReceive()
92 } catch (Throwable throwable) { in onReceive()
93 LogUtil.e(outputTag, "error running command", throwable); in onReceive()
/aosp12/packages/modules/GeoTZ/s2storage/src/readonly/java/com/android/timezone/location/storage/util/
H A DVisitor.java37 public VisitException(String s, Throwable throwable) { in VisitException() argument
38 super(s, throwable); in VisitException()
41 public VisitException(Throwable throwable) { in VisitException() argument
42 super(throwable); in VisitException()
/aosp12/frameworks/base/core/java/com/android/internal/infra/
H A DAndroidFuture.java555 boolean hasThrowable = throwable != null; 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
615 throwable.addSuppressed(t); in readThrowable()
617 throwable.setStackTrace(EMPTY_STACK_TRACE); in readThrowable()
620 throwable.initCause(cause); in readThrowable()
[all …]
/aosp12/packages/apps/ThemePicker/src/com/android/customization/model/
H A DCustomizationManager.java43 void onError(@Nullable Throwable throwable); in onError() argument
58 default void onError(@Nullable Throwable throwable) { in onError() argument
59 if (throwable != null) { in onError()
60 Log.e("OptionsFecthedListener", "Error loading options", throwable); in onError()
/aosp12/art/test/ti-agent/
H A Dexceptions_helper.cc42 jobject throwable, in exceptionCB() argument
50 DCHECK(throwable != nullptr); in exceptionCB()
51 if (!jnienv->IsInstanceOf(throwable, data->exception_klass)) { in exceptionCB()
65 throwable, in exceptionCB()
83 jobject throwable) { in exceptionCatchCB() argument
89 if (!jnienv->IsSameObject(data->exception_klass, jnienv->GetObjectClass(throwable))) { in exceptionCatchCB()
101 throwable); in exceptionCatchCB()
/aosp12/packages/apps/Dialer/java/com/android/voicemail/impl/mail/
H A DMessagingException.java77 public MessagingException(String message, Throwable throwable) { in MessagingException() argument
78 this(UNSPECIFIED_EXCEPTION, message, throwable); in MessagingException()
81 public MessagingException(int exceptionType, String message, Throwable throwable) { in MessagingException() argument
82 super(message, throwable); in MessagingException()
H A DCertificateValidationException.java26 public CertificateValidationException(String message, Throwable throwable) { in CertificateValidationException() argument
27 super(CERTIFICATE_VALIDATION_ERROR, message, throwable); in CertificateValidationException()
/aosp12/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, 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()
/aosp12/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, 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()
/aosp12/packages/apps/ThemePicker/src/com/android/customization/picker/clock/
H A DClockFragment.java111 public void onError(@Nullable Throwable throwable) { in onCreateView()
112 if (throwable != null) { in onCreateView()
113 Log.e(TAG, "Error loading clockfaces", throwable); in onCreateView()
154 public void onError(@Nullable Throwable throwable) { in setUpOptions()
155 if (throwable != null) { in setUpOptions()
156 Log.e(TAG, "Error loading clockfaces", throwable); in setUpOptions()
/aosp12/frameworks/base/core/tests/coretests/src/android/app/appsearch/
H A 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()
/aosp12/packages/apps/Dialer/java/com/android/dialer/blockreportspam/
H A DShowBlockReportSpamDialogReceiver.java238 public void onFailure(Throwable throwable) { in blockNumber() argument
239 if (throwable instanceof BlockingFailedException) { in blockNumber()
243 throw new RuntimeException(throwable); in blockNumber()
264 public void onFailure(Throwable throwable) { in unblockNumber() argument
265 if (throwable instanceof BlockingFailedException) { in unblockNumber()
270 throw new RuntimeException(throwable); in unblockNumber()
/aosp12/frameworks/base/core/java/android/app/search/
H A DSearchSession.java194 } catch (Throwable throwable) { in finalize()
195 throwable.printStackTrace(); in finalize()
209 } catch (Throwable throwable) { in close()
210 throwable.printStackTrace(); in close()
/aosp12/packages/apps/ThemePicker/src/com/android/customization/model/grid/
H A DGridSectionController.java68 public void onError(@Nullable Throwable throwable) { in createView()
69 if (throwable != null) { in createView()
70 Log.e(TAG, "Error loading grid options", throwable); in createView()
/aosp12/frameworks/base/services/core/java/com/android/server/pm/
H A 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()
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/network/
H A DAuthException.java28 public AuthException(Throwable throwable) { in AuthException() argument
29 super(throwable); in AuthException()
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/
H A DEuiccCardException.java30 public EuiccCardException(String message, Throwable throwable) { in EuiccCardException() argument
31 super(message, throwable); in EuiccCardException()

123456