Home
last modified time | relevance | path

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

1234

/packages/apps/Car/libs/car-settings-lib/src/com/android/car/settingslib/log/
DLoggerBase.java92 public void v(String message, Throwable throwable) { in v() argument
94 Log.v(mTag, mPrefix.concat(message), throwable); in v()
117 public void d(String message, Throwable throwable) { in d() argument
119 Log.d(mTag, mPrefix.concat(message), throwable); in d()
142 public void i(String message, Throwable throwable) { in i() argument
144 Log.i(mTag, mPrefix.concat(message), throwable); in i()
164 public void w(String message, Throwable throwable) { in w() argument
165 Log.w(mTag, mPrefix.concat(message), throwable); in w()
184 public void e(String message, Throwable throwable) { in e() argument
185 Log.e(mTag, mPrefix.concat(message), throwable); in e()
[all …]
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
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()
/packages/apps/Dialer/java/com/android/dialer/commandline/
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()
/packages/apps/ThemePicker/src/com/android/customization/picker/clock/
DClockFragment.java110 public void onError(@Nullable Throwable throwable) { in onCreateView()
111 if (throwable != null) { in onCreateView()
112 Log.e(TAG, "Error loading clockfaces", throwable); in onCreateView()
153 public void onError(@Nullable Throwable throwable) { in setUpOptions()
154 if (throwable != null) { in setUpOptions()
155 Log.e(TAG, "Error loading clockfaces", throwable); in setUpOptions()
/packages/apps/ThemePicker/src/com/android/customization/model/
DCustomizationManager.java44 void onError(@Nullable Throwable throwable); in onError() argument
59 default void onError(@Nullable Throwable throwable) { in onError() argument
60 if (throwable != null) { in onError()
61 Log.e("OptionsFecthedListener", "Error loading options", throwable); in onError()
/packages/apps/UnifiedEmail/src/com/android/emailcommon/mail/
DMessagingException.java78 public MessagingException(String message, Throwable throwable) { in MessagingException() argument
79 this(UNSPECIFIED_EXCEPTION, message, throwable); in MessagingException()
82 public MessagingException(int exceptionType, String message, Throwable throwable) { in MessagingException() argument
83 super(message, throwable); in MessagingException()
DCertificateValidationException.java27 public CertificateValidationException(String message, Throwable throwable) { in CertificateValidationException() argument
28 super(MessagingException.CERTIFICATE_VALIDATION_ERROR, message, throwable); in CertificateValidationException()
DAuthenticationFailedException.java31 public AuthenticationFailedException(String message, Throwable throwable) { in AuthenticationFailedException() argument
32 super(MessagingException.AUTHENTICATION_FAILED, message, throwable); in AuthenticationFailedException()
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/
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()
DCertificateValidationException.java26 public CertificateValidationException(String message, Throwable throwable) { in CertificateValidationException() argument
27 super(CERTIFICATE_VALIDATION_ERROR, message, throwable); in CertificateValidationException()
DAuthenticationFailedException.java30 public AuthenticationFailedException(String message, Throwable throwable) { in AuthenticationFailedException() argument
31 super(MessagingException.AUTHENTICATION_FAILED, message, throwable); in AuthenticationFailedException()
/packages/apps/Dialer/java/com/android/dialer/blockreportspam/
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()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DWallpaperSetter.java119 public void onError(Throwable throwable) { in setCurrentWallpaper()
120 onWallpaperApplyError(throwable, containerActivity); in setCurrentWallpaper()
122 callback.onError(throwable); in setCurrentWallpaper()
175 private void onWallpaperApplyError(Throwable throwable, Activity containerActivity) { in onWallpaperApplyError() argument
181 throwable) in onWallpaperApplyError()
/packages/apps/Dialer/java/com/android/dialer/speeddial/
DSpeedDialFragment.java249 throwable -> { in loadContacts()
250 throw new RuntimeException(throwable); in loadContacts()
266 throwable -> { in onActivityResult()
267 throw new RuntimeException(throwable); in onActivityResult()
467 throwable -> { in removeFavoriteContact()
468 throw new RuntimeException(throwable); in removeFavoriteContact()
583 throwable -> { in onClick()
584 throw new RuntimeException(throwable); in onClick()
/packages/apps/Camera2/src/com/android/camera/device/
DSingleDeviceStateMachine.java200 public void onDeviceOpenException(Throwable throwable) { in onDeviceOpenException() argument
207 closeRequestWithException(throwable); in onDeviceOpenException()
249 public void onDeviceClosingException(Throwable throwable) { in onDeviceClosingException() argument
256 closeRequestWithException(throwable); in onDeviceClosingException()
/packages/apps/Dialer/java/com/android/dialer/common/concurrent/
DUiListener.java123 public void onFailure(Throwable throwable) { in onFailure() argument
124 LogUtil.e("UiListener.runTask", "task failed", throwable); in onFailure()
128 failureListener.onFailure(throwable); in onFailure()
DSupportUiListener.java125 public void onFailure(Throwable throwable) { in onFailure() argument
126 LogUtil.e("SupportUiListener.runTask", "task failed", throwable); in onFailure()
130 failureListener.onFailure(throwable); in onFailure()
DDefaultDialerExecutorFactory.java85 throwable -> {
86 throw new RuntimeException(throwable);
255 } catch (Throwable throwable) { in run()
256 ThreadUtil.postOnUiThread(() -> failureListener.onFailure(throwable)); in run()
DDialerUiTaskFragment.java163 } catch (Throwable throwable) { in runTask()
164 LogUtil.e("DialerUiTaskFragment.runTask", "task failed", throwable); in runTask()
178 failureListener.onFailure(throwable); in runTask()
DDefaultFutureCallback.java37 public void onFailure(Throwable throwable) { in onFailure() argument
41 throw new RuntimeException(throwable); in onFailure()
/packages/apps/ThemePicker/src/com/android/customization/picker/grid/
DGridFragment.java129 public void onError(@Nullable Throwable throwable) { in onCreateView()
204 public void onError(@Nullable Throwable throwable) { in setUpOptions()
205 if (throwable != null) { in setUpOptions()
206 Log.e(TAG, "Error loading grid options", throwable); in setUpOptions()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/network/
DAuthException.java28 public AuthException(Throwable throwable) { in AuthException() argument
29 super(throwable); in AuthException()
/packages/apps/ThemePicker/src/com/android/customization/picker/theme/
DCustomThemeActivity.java181 public void onError(@Nullable Throwable throwable) { in onNextOrApply() argument
182 Log.w(TAG, "Error applying custom theme component", throwable); in onNextOrApply()
233 public void onError(@Nullable Throwable throwable) { in applyTheme()
234 Log.w(TAG, "Error applying custom theme", throwable); in applyTheme()
/packages/apps/StorageManager/src/com/android/storagemanager/overlay/
DFeatureFactory.java73 public FactoryNotFoundException(Throwable throwable) { in FactoryNotFoundException() argument
74 super("Unable to create factory. Did you misconfigure Proguard?", throwable); in FactoryNotFoundException()
/packages/apps/EmergencyInfo/src/com/android/emergency/overlay/
DFeatureFactory.java65 public FactoryNotFoundException(Throwable throwable) { in FactoryNotFoundException() argument
66 super("Unable to create factory. Did you misconfigure Proguard?", throwable); in FactoryNotFoundException()

1234