Home
last modified time | relevance | path

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

1234

/packages/apps/Car/Settings/src/com/android/car/settings/common/
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
125 Log.i(TAG, mPrefix.concat(message), throwable); in i()
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()
[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/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/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/ThemePicker/src/com/android/customization/picker/clock/
DClockFragment.java124 public void onError(@Nullable Throwable throwable) { in onCreateView()
125 if (throwable != null) { in onCreateView()
126 Log.e(TAG, "Error loading clockfaces", throwable); in onCreateView()
167 public void onError(@Nullable Throwable throwable) { in setUpOptions()
168 if (throwable != null) { in setUpOptions()
169 Log.e(TAG, "Error loading clockfaces", throwable); in setUpOptions()
/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/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/WallpaperPicker2/src/com/android/wallpaper/module/
DWallpaperSetter.java158 public void onError(Throwable throwable) { in setCurrentWallpaper()
159 onWallpaperApplyError(throwable, containerActivity); in setCurrentWallpaper()
161 callback.onError(throwable); in setCurrentWallpaper()
214 private void onWallpaperApplyError(Throwable throwable, Activity containerActivity) { in onWallpaperApplyError() argument
220 throwable) in onWallpaperApplyError()
/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()
DSingleDeviceRequest.java73 public void closeWithException(Throwable throwable) { in closeWithException() argument
75 mFuture.setException(throwable); in closeWithException()
/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/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/grid/
DGridFragment.java150 public void onError(@Nullable Throwable throwable) { in onCreateView()
225 public void onError(@Nullable Throwable throwable) { in setUpOptions()
226 if (throwable != null) { in setUpOptions()
227 Log.e(TAG, "Error loading grid options", throwable); in setUpOptions()
/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()
/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/SettingsIntelligence/src/com/android/settings/intelligence/overlay/
DFeatureFactory.java74 public FactoryNotFoundException(Throwable throwable) { in FactoryNotFoundException() argument
75 super("Unable to create factory. Did you misconfigure Proguard?", throwable); in FactoryNotFoundException()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/overlay/
DFeatureFactory.java88 public FactoryNotFoundException(Throwable throwable) { in FactoryNotFoundException() argument
89 super("Unable to create factory. Did you misconfigure Proguard?", throwable); in FactoryNotFoundException()

1234