/cts/tests/tests/car_builtin/src/android/car/cts/builtin/util/ |
D | SlogfTest.java | 74 Throwable throwable = new Throwable(EXCEPTION_MSG); in testV_msg2() local 76 Slogf.v(TAG, LOGGED_MSG, throwable); in testV_msg2() 80 assertLogcatStackTrace(VERBOSE, throwable); in testV_msg2() 118 Throwable throwable = new Throwable(EXCEPTION_MSG); in testD_msg2() local 119 Slogf.d(TAG, LOGGED_MSG, throwable); in testD_msg2() 123 assertLogcatStackTrace(DEBUG, throwable); in testD_msg2() 160 Throwable throwable = new Throwable(EXCEPTION_MSG); in testI_msg2() local 162 Slogf.i(TAG, LOGGED_MSG, throwable); in testI_msg2() 166 assertLogcatStackTrace(INFO, throwable); in testI_msg2() 204 Throwable throwable = new Throwable(EXCEPTION_MSG); in testW_msg2() local [all …]
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/ |
D | RunOnMainUtils.java | 34 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/ |
D | IntentServiceStub.java | 41 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/ |
D | FlakyTestRule.java | 43 Throwable throwable = null; in apply() 51 throwable = t; in apply() 54 throw throwable; in apply()
|
/cts/tests/signature/tests/src/android/signature/cts/tests/ |
D | ApiPresenceCheckerTest.java | 134 private final Throwable throwable; field in ApiPresenceCheckerTest.Failure 136 public Failure(FailureType type, String name, String errorMessage, Throwable throwable) { in Failure() argument 140 this.throwable = throwable; in Failure() 146 if (throwable != null) { in toString() 148 throwable.printStackTrace(new PrintWriter(out)); in toString() 178 Throwable throwable) { in notifyFailure() argument 179 failures.add(new Failure(type, name, errorMessage, throwable)); in notifyFailure()
|
/cts/tests/signature/lib/common/src/android/signature/cts/ |
D | LogHelper.java | 22 static void loge(String message, Throwable throwable) { in loge() argument 23 System.out.println(String.format("%s: %s", message, throwable)); in loge()
|
D | ExpectedFailuresFilter.java | 51 …ublic void notifyFailure(FailureType type, String name, String errorMessage, Throwable throwable) { in notifyFailure() argument 57 delegate.notifyFailure(type, name, errorMessage, throwable); in notifyFailure()
|
D | ResultObserver.java | 39 void notifyFailure(FailureType type, String name, String errorMessage, Throwable throwable); in notifyFailure() argument
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/exceptions/ |
D | PollValueFailedException.java | 27 public PollValueFailedException(String message, Throwable throwable) { in PollValueFailedException() argument 28 super(message, throwable); in PollValueFailedException()
|
D | NeneException.java | 34 public NeneException(String message, Throwable throwable) { in NeneException() argument 35 super(message, throwable); in NeneException()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/ |
D | IgnoreExceptions.java | 32 } catch (Throwable throwable) { in run() 33 Log.d("IgnoreExceptions", "Ignoring Exception", throwable); in run()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | InflateExceptionTest.java | 52 Throwable throwable = new Exception(); in testInflateException() local 57 ne = new InflateException(detailMessage, throwable); in testInflateException() 85 ne = new InflateException(throwable); in testInflateException()
|
/cts/tests/signature/api-check/src/java/android/signature/cts/api/ |
D | TestResultObserver.java | 39 Throwable throwable) { in notifyFailure() argument 49 if (throwable != null) { in notifyFailure() 51 throwable.printStackTrace(new PrintWriter(mErrorString)); in notifyFailure()
|
/cts/tests/appsearch/src/com/android/cts/appsearch/external/exceptions/ |
D | AppSearchExceptionCtsTest.java | 51 IllegalArgumentException throwable = new IllegalArgumentException("You can't do that!"); in testExceptionWithThrowable() local 54 AppSearchResult.RESULT_INVALID_ARGUMENT, "ERROR!", throwable); in testExceptionWithThrowable() 56 assertThat(e.getCause()).isEqualTo(throwable); in testExceptionWithThrowable()
|
/cts/hostsidetests/compilation/src/android/compilation/cts/ |
D | CompilationTest.java | 232 Throwable throwable = assertThrows(Throwable.class, () -> { in testExternalProfileValidationFailed() local 235 assertThat(throwable).hasMessageThat().contains( in testExternalProfileValidationFailed() 252 Throwable throwable = assertThrows(Throwable.class, () -> { in testExternalProfileValidationMultiPackageFailed() local 258 assertThat(Utils.countSubstringOccurrence(throwable.getMessage(), in testExternalProfileValidationMultiPackageFailed() 272 Throwable throwable = assertThrows(Throwable.class, in testEmbeddedProfileFailed() local 274 assertThat(throwable).hasMessageThat().contains( in testEmbeddedProfileFailed() 302 Throwable throwable = assertThrows(Throwable.class, () -> { in testExternalProfileValidationMultiPackageFailedMultipleErrors() local 308 assertThat(Utils.countSubstringOccurrence(throwable.getMessage(), in testExternalProfileValidationMultiPackageFailedMultipleErrors() 388 Throwable throwable = assertThrows(Throwable.class, () -> { in testInstallCompilerFilterOverrideInvalid() local 394 assertThat(throwable.getMessage()).contains("Invalid compiler filter"); in testInstallCompilerFilterOverrideInvalid()
|
/cts/libs/vogar-expect/src/vogar/expect/util/ |
D | Log.java | 56 public static void info(String message, Throwable throwable) { in info() argument 58 sLogoutput.info(message, throwable); in info()
|
/cts/tests/app/BroadcastsTest/src/android/app/cts/broadcasts/ |
D | DumpOnFailureRule.java | 47 public void onTestFailure(Statement base, Description description, Throwable throwable) { in onTestFailure() argument 50 if (throwable instanceof AssumptionViolatedException) { in onTestFailure() 51 Log.d(TAG, "Skipping test " + testName + ": " + throwable); in onTestFailure()
|
/cts/tests/BlobStore/src/com/android/cts/blob/ |
D | DumpOnFailureRule.java | 45 public void onTestFailure(Statement base, Description description, Throwable throwable) { in onTestFailure() argument 48 if (throwable instanceof AssumptionViolatedException) { in onTestFailure() 49 Log.d(TAG, "Skipping test " + testName + ": " + throwable); in onTestFailure()
|
/cts/tests/core/runner-axt/src/com/android/cts/core/runner/support/ |
D | SingleTestNGTestRunListener.java | 81 Throwable throwable = result.getThrowable(); in onTestFailure() local 83 id, stringify(throwable))); in onTestFailure() 84 failures.put(id, throwable); in onTestFailure()
|
D | TestNgRunner.java | 139 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/tests/media/common/src/android/media/cts/ |
D | MediaCodecAsyncHelper.java | 43 final AtomicReference<Throwable> throwable = new AtomicReference<>(); in runThread() local 45 throwable.set(e); in runThread() 49 Throwable t = throwable.get(); in runThread()
|
/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
D | DumpOnFailureRule.java | 46 public void onTestFailure(Statement base, Description description, Throwable throwable) { in onTestFailure() argument 47 if (throwable instanceof AssumptionViolatedException) { in onTestFailure() 49 Log.d(TAG, "Skipping test " + testName + ": " + throwable); in onTestFailure()
|
/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/cts/ |
D | RemoteService.java | 83 AtomicReference<Throwable> throwable = new AtomicReference<>(); in runOnHandlerSync() local 88 throwable.set(th); in runOnHandlerSync() 95 return done && throwable.get() == null; in runOnHandlerSync()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/src/types/main/java/com/android/bedstead/remoteframeworkclasses/ |
D | SimpleAccountManagerFuture.java | 107 public void setException(Throwable throwable) { in setException() argument 108 mException.set(throwable); in setException()
|
/cts/tests/tests/systemui/src/android/systemui/cts/ |
D | ScreenshotTestRule.java | 92 protected void failed(Throwable throwable, Description description) { in failed() argument 93 super.failed(throwable, description); in failed()
|