Home
last modified time | relevance | path

Searched refs:errorBuilder (Results 1 – 16 of 16) sorted by relevance

/cts/hostsidetests/media/src/android/media/cts/
DBaseMediaHostSideTest.java150 StringBuilder errorBuilder = new StringBuilder("On-device tests failed:\n"); in assertTestsPassed() local
157 errorBuilder.append(resultEntry.getKey().toString()); in assertTestsPassed()
158 errorBuilder.append(":\n"); in assertTestsPassed()
159 errorBuilder.append(resultEntry.getValue().getStackTrace()); in assertTestsPassed()
162 throw new AssertionError(errorBuilder.toString()); in assertTestsPassed()
/cts/hostsidetests/content/src/android/content/cts/
DBaseContextCrossProfileTest.java175 StringBuilder errorBuilder = new StringBuilder("on-device tests failed:\n"); in runDeviceTests() local
180 errorBuilder.append(resultEntry.getKey().toString()); in runDeviceTests()
181 errorBuilder.append(":\n"); in runDeviceTests()
182 errorBuilder.append(resultEntry.getValue().getStackTrace()); in runDeviceTests()
185 throw new AssertionError(errorBuilder.toString()); in runDeviceTests()
/cts/hostsidetests/classloaders/useslibrary/src/android/classloaders/cts/
DUtils.java96 StringBuilder errorBuilder = new StringBuilder("on-device tests failed:\n"); in runDeviceTests() local
100 errorBuilder.append(resultEntry.getKey().toString()); in runDeviceTests()
101 errorBuilder.append(":\n"); in runDeviceTests()
102 errorBuilder.append(resultEntry.getValue().getStackTrace()); in runDeviceTests()
105 throw new AssertionError(errorBuilder.toString()); in runDeviceTests()
/cts/hostsidetests/packagemanager/stats/src/com/android/cts/packagemanager/stats/host/
DUtils.java87 StringBuilder errorBuilder = new StringBuilder("On-device tests failed:\n"); in runDeviceTests() local
92 errorBuilder.append(resultEntry.getKey().toString()); in runDeviceTests()
93 errorBuilder.append(":\n"); in runDeviceTests()
94 errorBuilder.append(resultEntry.getValue().getStackTrace()); in runDeviceTests()
97 throw new AssertionError(errorBuilder.toString()); in runDeviceTests()
/cts/hostsidetests/videoencodingminimum/src/android/videoqualityfloor/cts/
DCtsVideoQualityFloorHostTest.java363 StringBuilder errorBuilder = new StringBuilder("On-device tests failed:\n"); in assertTestsPassed() local
364 errorBuilder.append(resultEntry.getKey().toString()); in assertTestsPassed()
365 errorBuilder.append(":\n"); in assertTestsPassed()
366 errorBuilder.append(resultEntry.getValue().getStackTrace()); in assertTestsPassed()
367 throw new AssertionError(errorBuilder.toString()); in assertTestsPassed()
370 StringBuilder errorBuilder = in assertTestsPassed() local
372 errorBuilder.append(resultEntry.getKey().toString()); in assertTestsPassed()
373 errorBuilder.append(":\n"); in assertTestsPassed()
374 errorBuilder.append(resultEntry.getValue().getStackTrace()); in assertTestsPassed()
375 Assume.assumeTrue(errorBuilder.toString(), false); in assertTestsPassed()
/cts/hostsidetests/atrace/src/android/atrace/cts/
DAtraceHostTestBase.java166 StringBuilder errorBuilder = new StringBuilder("On-device tests failed:\n"); in runDeviceTests() local
171 errorBuilder.append(resultEntry.getKey().toString()); in runDeviceTests()
172 errorBuilder.append(":\n"); in runDeviceTests()
173 errorBuilder.append(resultEntry.getValue().getStackTrace()); in runDeviceTests()
176 throw new AssertionError(errorBuilder.toString()); in runDeviceTests()
/cts/hostsidetests/dumpsys/src/android/dumpsys/cts/
DBaseDumpsysTest.java190 StringBuilder errorBuilder = new StringBuilder("On-device tests failed:\n"); in runDeviceTests() local
194 errorBuilder.append(resultEntry.getKey().toString()); in runDeviceTests()
195 errorBuilder.append(":\n"); in runDeviceTests()
196 errorBuilder.append(resultEntry.getValue().getStackTrace()); in runDeviceTests()
199 throw new AssertionError(errorBuilder.toString()); in runDeviceTests()
/cts/hostsidetests/accounts/src/android/host/accounts/
DAccountManagerXUserTest.java244 StringBuilder errorBuilder = new StringBuilder("on-device tests failed:\n"); in runDeviceTests() local
248 errorBuilder.append(resultEntry.getKey().toString()); in runDeviceTests()
249 errorBuilder.append(":\n"); in runDeviceTests()
250 errorBuilder.append(resultEntry.getValue().getStackTrace()); in runDeviceTests()
253 throw new AssertionError(errorBuilder.toString()); in runDeviceTests()
/cts/hostsidetests/settings/src/com/google/android/cts/settings/
DPrivacyDeviceOwnerTest.java216 StringBuilder errorBuilder = new StringBuilder("On-device tests failed:\n"); in runDeviceTests() local
220 errorBuilder.append(resultEntry.getKey().toString()); in runDeviceTests()
221 errorBuilder.append(":\n"); in runDeviceTests()
222 errorBuilder.append(resultEntry.getValue().getStackTrace()); in runDeviceTests()
225 throw new AssertionError(errorBuilder.toString()); in runDeviceTests()
/cts/hostsidetests/mediapc/videoencodingquality/src/
DCtsVideoEncodingQualityHostTest.java567 StringBuilder errorBuilder = new StringBuilder("On-device tests failed:\n"); in assertTestsPassed() local
568 errorBuilder.append(resultEntry.getKey().toString()); in assertTestsPassed()
569 errorBuilder.append(":\n"); in assertTestsPassed()
570 errorBuilder.append(resultEntry.getValue().getStackTrace()); in assertTestsPassed()
571 throw new AssertionError(errorBuilder.toString()); in assertTestsPassed()
574 StringBuilder errorBuilder = in assertTestsPassed() local
576 errorBuilder.append(resultEntry.getKey().toString()); in assertTestsPassed()
577 errorBuilder.append(":\n"); in assertTestsPassed()
578 errorBuilder.append(resultEntry.getValue().getStackTrace()); in assertTestsPassed()
579 Assume.assumeTrue(errorBuilder.toString(), false); in assertTestsPassed()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DUtils.java151 StringBuilder errorBuilder = new StringBuilder("on-device tests failed:\n"); in runDeviceTests() local
155 errorBuilder.append(resultEntry.getKey().toString()); in runDeviceTests()
156 errorBuilder.append(":\n"); in runDeviceTests()
157 errorBuilder.append(resultEntry.getValue().getStackTrace()); in runDeviceTests()
160 throw new AssertionError(errorBuilder.toString()); in runDeviceTests()
DKeySetHostTest.java121 StringBuilder errorBuilder = new StringBuilder("on-device tests failed:\n"); in assertDeviceTestsPass() local
125 errorBuilder.append(resultEntry.getKey().toString()); in assertDeviceTestsPass()
126 errorBuilder.append(":\n"); in assertDeviceTestsPass()
127 errorBuilder.append(resultEntry.getValue().getStackTrace()); in assertDeviceTestsPass()
130 fail(errorBuilder.toString()); in assertDeviceTestsPass()
DStorageHostTest.java292 StringBuilder errorBuilder = new StringBuilder("on-device tests failed:\n"); in runDeviceTests() local
296 errorBuilder.append(resultEntry.getKey().toString()); in runDeviceTests()
297 errorBuilder.append(":\n"); in runDeviceTests()
298 errorBuilder.append(resultEntry.getValue().getStackTrace()); in runDeviceTests()
301 throw new AssertionError(errorBuilder.toString()); in runDeviceTests()
/cts/hostsidetests/appcompat/host/lib/src/android/compat/cts/
DCompatChangeGatingTestCase.java176 StringBuilder errorBuilder = new StringBuilder("On-device test failed:\n"); in runDeviceCompatTestReported() local
180 errorBuilder.append(resultEntry.getKey().toString()); in runDeviceCompatTestReported()
181 errorBuilder.append(":\n"); in runDeviceCompatTestReported()
182 errorBuilder.append(resultEntry.getValue().getStackTrace()); in runDeviceCompatTestReported()
185 throw new AssertionError(errorBuilder.toString()); in runDeviceCompatTestReported()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/lib/
DDeviceUtils.java143 StringBuilder errorBuilder = new StringBuilder("On-device tests failed:\n"); in internalRunDeviceTests() local
147 errorBuilder.append(resultEntry.getKey().toString()); in internalRunDeviceTests()
148 errorBuilder.append(":\n"); in internalRunDeviceTests()
149 errorBuilder.append(resultEntry.getValue().getStackTrace()); in internalRunDeviceTests()
152 throw new AssertionError(errorBuilder.toString()); in internalRunDeviceTests()
/cts/hostsidetests/os/src/android/os/cts/
DStaticSharedLibsHostTests.java705 StringBuilder errorBuilder = new StringBuilder("on-device tests failed:\n"); in runDeviceTests() local
709 errorBuilder.append(resultEntry.getKey().toString()); in runDeviceTests()
710 errorBuilder.append(":\n"); in runDeviceTests()
711 errorBuilder.append(resultEntry.getValue().getStackTrace()); in runDeviceTests()
714 throw new AssertionError(errorBuilder.toString()); in runDeviceTests()