Home
last modified time | relevance | path

Searched refs:exception (Results 1 – 18 of 18) sorted by relevance

/platform_testing/libraries/screenshot/src/main/java/platform/test/screenshot/
DWindowCapture.kt76 var exception: Exception? = null in generateBitmapFromPixelCopy() variable
80 exception = RuntimeException(String.format("PixelCopy failed: %d", result)) in generateBitmapFromPixelCopy()
94 exception?.let { throw it } in generateBitmapFromPixelCopy()
/platform_testing/libraries/flicker/test/src/android/tools/flicker/
DFlickerServiceRuleTest.kt86 this.description == mockDescription && this.exception == mockError in reportsFailuresToMetricsCollector()
141 val exception = in throwsExceptionForFlickerTestFailureIfRequested() constant
148 Truth.assertThat(exception).isEqualTo(assertionError) in throwsExceptionForFlickerTestFailureIfRequested()
186 val exception = in throwsExceptionForExecutionErrorsIfRequested() constant
193 Truth.assertThat(exception).hasMessageThat().isEqualTo(Consts.FAILURE) in throwsExceptionForExecutionErrorsIfRequested()
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/
DProcessStatusTracker.java201 } catch (IOException exception) { in getRunningAppProcesses()
202 Log.e(TAG, "Error with buffered reader", exception); in getRunningAppProcesses()
209 } catch (IOException exception) { in getRunningAppProcesses()
210 Log.e(TAG, "Error with closing the stream", exception); in getRunningAppProcesses()
/platform_testing/libraries/audio-test-harness/server/src/test/java/com/android/media/audiotestharness/server/service/
DAudioTestHarnessImplTests.java238 StatusRuntimeException exception = (StatusRuntimeException) item; in generateCustomMatcherForExpected()
239 return exception.getStatus().getCode().equals(expectedStatus.getCode()) in generateCustomMatcherForExpected()
240 && exception.getStatus().getDescription() != null in generateCustomMatcherForExpected()
241 && exception.getStatus().getDescription().equals(expectedDescription); in generateCustomMatcherForExpected()
/platform_testing/tests/bettertogether/betocq/
Dsetup_utils.py68 ad.log.exception(
120 ad.log.exception(
146 ad.log.exception(
241 ad.log.exception(
265 ad.log.exception(
316 ad.log.exception('Failed to check PH flag')
/platform_testing/libraries/flicker/utils/test/src/android/tools/io/
DBaseResultReaderTestParseTrace.kt111 val exception = in <lambda>() constant
115 assertExceptionMessage(exception, invalidSizeMessage) in <lambda>()
DResultWriterTest.kt48 val exception = in cannotWriteFileWithoutScenario() constant
55 assertExceptionMessage(exception, "Scenario shouldn't be empty") in cannotWriteFileWithoutScenario()
/platform_testing/libraries/motion/tests/src/platform/test/motion/
DMotionTestRuleTest.kt60 val exception = in readGoldenTimeSeries_withUnavailableGolden_throwsGoldenNotFoundException() constant
64 assertThat(exception.missingGoldenFile).endsWith("no_golden.json") in readGoldenTimeSeries_withUnavailableGolden_throwsGoldenNotFoundException()
/platform_testing/libraries/collectors-helper/app/src/com/android/helpers/
DAppVersionHelper.java75 } catch (PackageManager.NameNotFoundException exception) { in getMetrics()
/platform_testing/libraries/flicker/test/src/android/tools/integration/
DFullLegacyTestRun.kt146 val exception = failure.exceptionOrNull() ?: error("Should have thrown failure") in exceptionMessageCheck() constant
148 .that(exception) in exceptionMessageCheck()
/platform_testing/libraries/health/runners/longevity/platform/tests/src/android/platform/test/longevity/
DScheduledScenarioRunnerTest.java117 TestTimedOutException exception = in testOverTimeTest_throwsTestTimedOutException()
120 exception in testOverTimeTest_throwsTestTimedOutException()
122 .toMillis(exception.getTimeout()); in testOverTimeTest_throwsTestTimedOutException()
DProfileSuiteTest.java300 TestTimedOutException exception = in testTimestampScheduling_respectsSuiteTimeout()
303 exception in testTimestampScheduling_respectsSuiteTimeout()
305 .toMillis(exception.getTimeout()); in testTimestampScheduling_respectsSuiteTimeout()
/platform_testing/libraries/runner/src/main/java/platform/test/runner/parameterized/
DParameterizedRunnerDelegate.java93 } catch (Exception exception) { in computeParams()
94 throw exception; in computeParams()
/platform_testing/libraries/flicker/test/src/android/tools/flicker/junit/
DFlickerServiceDecoratorTest.kt155 val exception = assertThrows<Throwable> { methodInvoker.evaluate() } in failsTestAndNotModuleOnFlickerServiceMethodComputeError() constant
156 Truth.assertThat(exception.stackTraceToString()).contains(flickerMethodComputeError.message) in failsTestAndNotModuleOnFlickerServiceMethodComputeError()
/platform_testing/libraries/flicker/utils/test/src/android/tools/traces/surfaceflinger/
DLayersTraceEntryTest.kt132 } catch (exception: RuntimeException) { in canDetectOrphanLayers()
133 Truth.assertThat(exception.message) in canDetectOrphanLayers()
/platform_testing/host_runners/boot/src/com/android/boot/
DBootTimeTest.java1308 String additionalMessage, Exception exception, FailureStatus defaultStatus) { in createFailureFromException() argument
1309 String message = exception.getMessage(); in createFailureFromException()
1313 FailureDescription failure = FailureDescription.create(message).setCause(exception); in createFailureFromException()
1315 if (exception instanceof IHarnessException) { in createFailureFromException()
1316 ErrorIdentifier id = ((IHarnessException) exception).getErrorId(); in createFailureFromException()
1318 failure.setOrigin(((IHarnessException) exception).getOrigin()); in createFailureFromException()
/platform_testing/libraries/compatibility-common-util/tests/assets/
Dlogcat.txt163 09-23 01:55:43.132 516 516 E InstallerConnection: read exception
/platform_testing/libraries/sts-common-util/host-side/tests/res/
Dlogcat.txt165 09-23 01:55:43.132 516 516 E InstallerConnection: read exception