Home
last modified time | relevance | path

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

/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/
DAuptTerminator.java30 public AuptTerminator(String detailMessage, Throwable throwable) { in AuptTerminator() argument
31 super(detailMessage, throwable); in AuptTerminator()
38 public AuptTerminator(Throwable throwable) { in AuptTerminator() argument
39 super(throwable); in AuptTerminator()
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/exceptions/
DFlickerAssertionWrapperError.kt19 class FlickerAssertionWrapperError(throwable: Throwable) : FlickerAssertionError() {
21 this.stackTrace = throwable.stackTrace
25 ExceptionMessageBuilder().setMessage(throwable.message ?: "<NO MESSAGE>")
/platform_testing/libraries/flag-helpers/junit/src_base/android/platform/test/flag/junit/
DSetFlagsRule.java198 Throwable throwable = null; in apply()
223 throwable = t; in apply()
229 if (throwable != null) { in apply()
230 t.addSuppressed(throwable); in apply()
232 throwable = t; in apply()
239 if (throwable != null) { in apply()
240 t.addSuppressed(throwable); in apply()
242 throwable = t; in apply()
245 if (throwable != null) throw throwable; in apply()
910 Throwable throwable = null;
[all …]
/platform_testing/libraries/health/runners/microbenchmark/tests/src/android/platform/test/microbenchmark/
DMicrobenchmarkTest.java285 Throwable throwable = failure.getException(); in testStopsEarly_ifBatteryLevelIsBelowThreshold() local
289 throwable.getClass()), in testStopsEarly_ifBatteryLevelIsBelowThreshold()
290 throwable instanceof TerminateEarlyException); in testStopsEarly_ifBatteryLevelIsBelowThreshold()
291 assertThat(throwable) in testStopsEarly_ifBatteryLevelIsBelowThreshold()
312 Throwable throwable = failure.getException(); in testStopsEarly_ifBatteryDrainIsAboveThreshold() local
316 throwable.getClass()), in testStopsEarly_ifBatteryDrainIsAboveThreshold()
317 throwable instanceof TerminateEarlyException); in testStopsEarly_ifBatteryDrainIsAboveThreshold()
318 assertThat(throwable) in testStopsEarly_ifBatteryDrainIsAboveThreshold()
/platform_testing/libraries/runner/src/main/java/platform/test/runner/parameterized/
DParameterizedRunnerDelegate.java95 } catch (Throwable throwable) { in computeParams()
96 throw new Exception(throwable); in computeParams()
/platform_testing/libraries/flag-helpers/junit/test/src/android/platform/test/flag/junit/
DAnnotationTestRuleHelper.java172 } catch (Throwable throwable) { in runAndReturnFailure()
173 return throwable; in runAndReturnFailure()
/platform_testing/libraries/screenshot/deviceless/layoutlib/tests/src/com/android/layoutlib/bridge/intensive/
DRenderTestBase.java516 Throwable throwable, Object cookie, Object data) { in getLayoutLog()
519 if (throwable != null) { in getLayoutLog()
520 throwable.printStackTrace(); in getLayoutLog()
533 … public void error(@Nullable String tag, @NonNull String message, @Nullable Throwable throwable, in getLayoutLog()
536 if (throwable != null) { in getLayoutLog()
537 throwable.printStackTrace(); in getLayoutLog()
/platform_testing/libraries/audio-test-harness/client-lib/src/main/java/com/android/media/audiotestharness/client/grpc/
DGrpcAudioCaptureStream.java124 (throwable) -> captureStream.mGrpcError = throwable)); in create()
/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/
DChecksumReporter.java389 public ChecksumValidationException(String detailMessage, Throwable throwable) { in ChecksumValidationException() argument
390 super(detailMessage, throwable); in ChecksumValidationException()