Home
last modified time | relevance | path

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

/tools/tradefederation/core/tests/src/com/android/tradefed/command/
DCommandInterrupterTest.java175 thread.setUncaughtExceptionHandler((t, throwable) -> throwableRef.set(throwable)); in execute()
179 Throwable throwable = throwableRef.get(); in execute() local
180 if (throwable != null) { in execute()
181 throw Throwables.propagate(throwable); in execute()
/tools/tradefederation/core/src/com/android/tradefed/result/
DJUnitToInvocationResultForwarder.java154 private String getStackTrace(Throwable throwable) { in getStackTrace() argument
158 throwable.printStackTrace(bytePrintStream); in getStackTrace()
DInvocationToJUnitResultForwarder.java70 AssumptionViolatedException throwable = new AssumptionViolatedException(trace); in testAssumptionFailure() local
71 mJUnitListener.addError(test, throwable); in testAssumptionFailure()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DTestInvocationTest.java1103 Throwable throwable, in setupMockListeners() argument
1116 if (throwable == null) { in setupMockListeners()
1120 mMockDevice.postInvocationTearDown(throwable); in setupMockListeners()
1124 if (!(throwable instanceof BuildRetrievalError)) { in setupMockListeners()
1149 throwable.getMessage(), FailureStatus.INFRA_FAILURE) in setupMockListeners()
1150 .setCause(throwable); in setupMockListeners()
1151 if (throwable instanceof BuildRetrievalError) { in setupMockListeners()
1153 } else if (throwable instanceof BuildError in setupMockListeners()
1154 || throwable instanceof TargetSetupError) { in setupMockListeners()
1167 if (throwable instanceof BuildRetrievalError) { in setupMockListeners()
[all …]
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DGTest.java437 Throwable throwable = null; in run() local
452 throwable = t; in run()
455 if (!(throwable instanceof DeviceNotAvailableException)) { in run()
/tools/tradefederation/core/common_util/com/android/tradefed/util/
DStreamUtil.java282 public static String getStackTrace(Throwable throwable) { in getStackTrace() argument
286 throwable.printStackTrace(bytePrintStream); in getStackTrace()
/tools/tradefederation/contrib/src/com/android/aetest/tradefed/targetprep/
DAeTestManagedProfileCreator.java125 public void tearDown(ITestDevice testDevice, IBuildInfo buildInfo, Throwable throwable) in tearDown() argument
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DInvocationExecution.java405 Throwable throwable, in runMultiTargetPreparersTearDown() argument
427 multipreparer.tearDown(testInfo, throwable); in runMultiTargetPreparersTearDown()
/tools/tradefederation/core/src/com/android/tradefed/command/
DCommandScheduler.java2291 public void setLastInvocationExitCode(ExitCode code, Throwable throwable) { in setLastInvocationExitCode() argument
2293 mLastInvocationThrowable = throwable; in setLastInvocationExitCode()
/tools/tradefederation/core/tests/res/testdata/
Dtradefed-prebuilt-cts-8.0_r21.jar ... () private void consumeException (java.lang.Throwable) Throwable e public void setDirectConsole (java.lang ...