Home
last modified time | relevance | path

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

/cts/tests/tests/uiautomation/src/android/app/uiautomation/cts/
DUiAutomationLogRule.java54 Throwable throwable = null; in apply()
59 throwable = t; in apply()
63 if (throwable != null && throwable instanceof AssumptionViolatedException) { in apply()
64 throwable = null; in apply()
67 if (throwable != null) { in apply()
77 if (throwable == null) return; in apply()
78 throw throwable; in apply()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
DRunOnMainUtils.java34 AtomicReference<Throwable> throwable = new AtomicReference<>(null); in getOnMain() local
39 throwable.set(e); in getOnMain()
42 if (throwable.get() != null) { in getOnMain()
43 throw new RuntimeException(throwable.get()); in getOnMain()
/cts/tests/app/app/src/android/app/stubs/
DIntentServiceStub.java41 private static Throwable throwable; field in IntentServiceStub
50 throwable = null; in reset()
62 if (throwable != null) { in waitToFinish()
63 throw throwable; in waitToFinish()
77 throwable = t; in onHandleIntent()
/cts/tests/tests/content/lib/accountaccess/src/com.android.cts.content/
DFlakyTestRule.java43 Throwable throwable = null; in apply()
51 throwable = t; in apply()
54 throw throwable; in apply()
/cts/libs/vogar-expect/src/vogar/util/
DThreads.java51 …rotected void afterExecute(Runnable runnable, Throwable throwable) { if (throwable in fixedThreadsExecutor()
52 Log.info("Unexpected failure from " + runnable, throwable); in fixedThreadsExecutor()
DLog.java56 public static void info(String message, Throwable throwable) { in info() argument
58 sLogoutput.info(message, throwable); in info()
DLogOutput.java34 void info(String message, Throwable throwable); in info() argument
/cts/tests/tests/view/src/android/view/cts/
DInflateExceptionTest.java50 Throwable throwable = new Exception(); in testInflateException() local
55 ne = new InflateException(detailMessage, throwable); in testInflateException()
83 ne = new InflateException(throwable); in testInflateException()
/cts/tests/core/runner/src/com/android/cts/core/runner/support/
DSingleTestNGTestRunListener.java81 Throwable throwable = result.getThrowable(); in onTestFailure() local
83 id, stringify(throwable))); in onTestFailure()
84 failures.put(id, throwable); in onTestFailure()
DTestNgRunner.java139 Throwable throwable = failureEntry.getValue(); in extractException() local
141 .append(throwable.getClass()).append(": ") in extractException()
142 .append(throwable.getMessage()); in extractException()
143 for (StackTraceElement e : throwable.getStackTrace()) { in extractException()
/cts/tests/core/runner-axt/src/com/android/cts/core/runner/support/
DSingleTestNGTestRunListener.java81 Throwable throwable = result.getThrowable(); in onTestFailure() local
83 id, stringify(throwable))); in onTestFailure()
84 failures.put(id, throwable); in onTestFailure()
DTestNgRunner.java139 Throwable throwable = failureEntry.getValue(); in extractException() local
141 .append(throwable.getClass()).append(": ") in extractException()
142 .append(throwable.getMessage()); in extractException()
143 for (StackTraceElement e : throwable.getStackTrace()) { in extractException()
/cts/tests/accessibility/common/src/android/accessibility/cts/common/
DInstrumentedAccessibilityService.java121 AtomicReference<Throwable> throwable = new AtomicReference<>(null); in getOnService() local
126 throwable.set(e); in getOnService()
129 if (throwable.get() != null) { in getOnService()
130 throw new RuntimeException(throwable.get()); in getOnService()
/cts/tests/tests/systemui/src/android/systemui/cts/
DScreenshotTestRule.java92 protected void failed(Throwable throwable, Description description) { in failed() argument
93 super.failed(throwable, description); in failed()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/base/
DGnssCtsTestResult.java50 public void addError(Test test, Throwable throwable) { in addError() argument
51 mWrappedTestResult.addError(test, throwable); in addError()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/
DSensorCtsTestResult.java52 public void addError(Test test, Throwable throwable) { in addError() argument
53 mWrappedTestResult.addError(test, throwable); in addError()
/cts/libs/vogar-expect/src/vogar/
DOutcome.java59 public Outcome(String outcomeName, Result result, Throwable throwable) { in Outcome() argument
62 this.output = sanitizeOutputLines(throwableToLines(throwable)); in Outcome()
/cts/hostsidetests/net/src/com/android/cts/net/
DNetPolicyTestsPreparer.java45 public void tearDown(ITestDevice device, IBuildInfo buildInfo, Throwable throwable) in tearDown() argument
/cts/tests/tests/provider/preconditions/src/android/provider/cts/preconditions/
DExternalStoragePreparer.java48 public void tearDown(ITestDevice device, IBuildInfo buildInfo, Throwable throwable) in tearDown() argument
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DAppSecurityPreparer.java66 public void tearDown(ITestDevice device, IBuildInfo buildInfo, Throwable throwable) in tearDown() argument
/cts/tests/tests/assist/src/android/assist/cts/
DAssistTestBase.java610 } catch (Throwable throwable) { in eventuallyWithSessionClose()
614 innerThrowable.set(throwable); in eventuallyWithSessionClose()
618 } catch (Throwable throwable) { in eventuallyWithSessionClose()
623 throw throwable; in eventuallyWithSessionClose()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/mtp/
DMtpHostTestActivity.java226 final Throwable throwable = (Throwable) msg.obj; in handleMessage()
227 throwable.printStackTrace(new PrintWriter(writer)); in handleMessage()
/cts/tests/tests/graphics/src/android/graphics/cts/
DImageDecoderTest.java942 Throwable throwable = decodeException.getCause(); in testExceptionInStream()
943 assertNotNull(throwable); in testExceptionInStream()
944 assertTrue(throwable instanceof IOException); in testExceptionInStream()