Home
last modified time | relevance | path

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

1234

/packages/modules/Connectivity/nearby/tests/robotests/src/com/android/libraries/testing/deviceshadower/internal/utils/
DLogger.java60 public void e(String msg, Throwable throwable) { in e() argument
61 Log.e(mTag, format(msg), throwable); in e()
74 public void d(String msg, Throwable throwable) { in d() argument
75 Log.d(mTag, format(msg), throwable); in d()
88 public void i(String msg, Throwable throwable) { in i() argument
89 Log.i(mTag, format(msg), throwable); in i()
102 public void v(String msg, Throwable throwable) { in v() argument
103 Log.v(mTag, format(msg), throwable); in v()
116 public void w(Throwable throwable) { in w() argument
117 Log.w(mTag, null, throwable); in w()
[all …]
/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/services/Car/car-lib/src/android/car/util/concurrent/
DAndroidFuture.java567 private static void writeThrowable(@NonNull Parcel parcel, @Nullable Throwable throwable) { in writeThrowable() argument
568 boolean hasThrowable = throwable != null; in writeThrowable()
574 boolean isFrameworkParcelable = throwable instanceof Parcelable in writeThrowable()
575 && throwable.getClass().getClassLoader() == Parcelable.class.getClassLoader(); in writeThrowable()
578 parcel.writeParcelable((Parcelable) throwable, in writeThrowable()
583 parcel.writeString(throwable.getClass().getName()); in writeThrowable()
584 parcel.writeString(throwable.getMessage()); in writeThrowable()
585 StackTraceElement[] stackTrace = throwable.getStackTrace(); in writeThrowable()
595 writeThrowable(parcel, throwable.getCause()); in writeThrowable()
616 Throwable throwable; in readThrowable() local
[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/color/data/repository/
DColorPickerRepositoryImpl.kt79 override fun onError(throwable: Throwable?) { in <lambda>()
80 Log.e(TAG, "Error loading theme bundles", throwable) in <lambda>()
83 throwable ?: Throwable("Error loading theme bundles") in <lambda>()
102 override fun onError(throwable: Throwable?) { in <lambda>()
103 Log.w(TAG, "Apply theme with error", throwable) in <lambda>()
105 Result.failure(throwable ?: Throwable("Error loading theme bundles")) in <lambda>()
/packages/modules/GeoTZ/s2storage/src/readonly/java/com/android/timezone/location/storage/util/
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()
/packages/apps/ThemePicker/src/com/android/customization/model/
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()
/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()
/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/modules/Connectivity/nearby/tests/integration/ui/src/android/nearby/integration/ui/
DBaseUiTest.kt33 override fun failed(throwable: Throwable?, description: Description?) { in failed()
34 super.failed(throwable, description) in failed()
35 ArtifactSaver.onError(description, throwable) in failed()
/packages/apps/ThemePicker/tests/robotests/src/com/android/customization/model/color/
DColorCustomizationManagerTest.kt104 override fun onError(throwable: Throwable?) {} in testApplyColorBundle()
138 override fun onError(throwable: Throwable?) {} in testApplyColorSeed()
168 override fun onError(throwable: Throwable?) {} in testApply_colorSeedFromWallpaperBoth_shouldReturnBothValue()
187 override fun onError(throwable: Throwable?) {} in testApply_colorSeedFromWallpaperDifferent_shouldReturnNonBothValue()
/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/modules/AppSearch/service/java/com/android/server/appsearch/contactsindexer/
DAppSearchHelper.java287 public void onSystemError(Throwable throwable) { in indexContactsAsync()
289 future.completeExceptionally(throwable); in indexContactsAsync()
353 public void onSystemError(Throwable throwable) { in removeContactsByIdAsync()
355 future.completeExceptionally(throwable); in removeContactsByIdAsync()
376 public void onSystemError(Throwable throwable) {
377 future.completeExceptionally(throwable);
/packages/modules/AppSearch/testing/coretests/src/android/app/appsearch/
DAppSearchSessionUnitTest.java89 public void onSystemError(Throwable throwable) { in testGetEmptyNextPage()
90 putDocumentsFuture.completeExceptionally(throwable); in testGetEmptyNextPage()
147 public void onSystemError(Throwable throwable) { in testGetEmptyNextPage_multiPages()
148 putDocumentsFuture.completeExceptionally(throwable); in testGetEmptyNextPage_multiPages()
/packages/apps/Dialer/java/com/android/dialer/common/concurrent/
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()
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()
/packages/apps/ThemePicker/src/com/android/customization/model/grid/data/repository/
DGridRepository.kt73 override fun onError(throwable: Throwable?) { in getOptions()
76 throwable ?: Exception("Failed to load grid options!") in getOptions()
115 override fun onError(throwable: Throwable?) { in onSelected()
/packages/apps/ThemePicker/src/com/android/customization/model/grid/
DGridSectionController.java121 public void onError(@Nullable Throwable throwable) { in updateUi()
122 if (throwable != null) { in updateUi()
123 Log.e(TAG, "Error loading grid options", throwable); in updateUi()
/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/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/
DDumpOnFailureRule.java48 public void onTestFailure(Statement base, Description description, Throwable throwable) { in onTestFailure() argument
49 if (throwable instanceof AssumptionViolatedException) { in onTestFailure()
51 Log.d(TAG, "Skipping test " + testName + ": " + throwable); in onTestFailure()
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/common/bluetooth/
DBluetoothTimeoutException.java30 public BluetoothTimeoutException(String message, Throwable throwable) { in BluetoothTimeoutException() argument
31 super(message, throwable); in BluetoothTimeoutException()
DBluetoothException.java29 public BluetoothException(String message, Throwable throwable) { in BluetoothException() argument
30 super(message, throwable); in BluetoothException()

1234