Home
last modified time | relevance | path

Searched refs:getMessage (Results 1 – 25 of 40) sorted by relevance

12

/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/
DLogGenerator.java63 Log.w(TAG, "Error while saving dumpsys meminfo -c: " + ioe.getMessage()); in save()
75 Log.w(TAG, "Error while saving dumpsys cpuinfo : " + ioe.getMessage()); in save()
87 Log.w(TAG, String.format("Failed to take bugreport: %s", e.getMessage())); in save()
99 Log.w(TAG, String.format("Failed to take bugreport: %s", e.getMessage())); in save()
111 Log.w(TAG, String.format("Failed to save frangmentation: %s", e.getMessage())); in save()
123 Log.w(TAG, String.format("Failed to save graphicsstats: %s", e.getMessage())); in save()
136 Log.w(TAG, String.format("Failed to save ION heap: %s", e.getMessage())); in save()
148 Log.w(TAG, String.format("Failed to save pagetypeinfo: %s", e.getMessage())); in save()
160 Log.w(TAG, String.format("Failed to save trace: %s", e.getMessage())); in save()
/platform_testing/libraries/flicker/src/com/android/server/wm/traces/common/
DConditionList.kt41 override fun getMessage(value: T): String = conditions in getMessage() method in com.android.server.wm.traces.common.ConditionList
42 .joinToString(" and ") { it.getMessage(value) } in getMessage()
DCondition.kt65 open fun getMessage(value: T): String = "$message(passed=${isSatisfied(value)})" method in com.android.server.wm.traces.common.Condition
DWaitCondition.kt65 val detailedMessage = condition.getMessage(currState) in waitFor()
75 condition.getMessage(currState) in waitFor()
/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/
DIncidentReportListenerTest.java119 assertTrue(e.getMessage().contains("Couldn't create")); in testFailCollectIfNoDestinationDirectory()
120 assertTrue(e.getMessage().contains("destination folder")); in testFailCollectIfNoDestinationDirectory()
128 assertTrue(e.getMessage().contains("destination folder")); in testFailCollectIfNoDestinationDirectory()
129 assertTrue(e.getMessage().contains("does not exist")); in testFailCollectIfNoDestinationDirectory()
146 assertTrue(e.getMessage().contains("no data")); in testCollectEmptyReportFails()
/platform_testing/libraries/metrics-helper/tests/src/android/support/test/metricshelper/
DMetricsAssertsTest.java94 assertEquals(message, e.getMessage()); in testHasActionLogFalse()
110 assertEquals(message, e.getMessage()); in testHasVisibleLogFalse()
126 assertEquals(message, e.getMessage()); in testHasHiddenLogFalse()
161 assertEquals(message, e.getMessage()); in testDoesNotHaveTemplateLog()
/platform_testing/libraries/collectors-helper/perfetto/src/com/android/helpers/
DPerfettoHelper.java113 Log.e(LOG_TAG, "Unable to start the perfetto tracing due to :" + ioe.getMessage()); in startCollecting()
146 Log.e(LOG_TAG, "Unable to stop the perfetto tracing due to " + ioe.getMessage()); in stopCollecting()
193 Log.e(LOG_TAG, "Not able to check the perfetto status due to:" + ioe.getMessage()); in isTestPerfettoRunning()
234 + ioe.getMessage()); in copyFileOutput()
/platform_testing/libraries/compatibility-common-util/tests/src/com/android/compatibility/common/util/
DReportLogTest.java100 assertEquals("Sample", report.getSummary().getMessage()); in testParse_summaryOnly()
106 assertEquals("Sample", report.getSummary().getMessage()); in testParse_full()
127 assertEquals("Expected message to be ok", MESSAGE, metric.getMessage()); in testLimits_message()
136 metric.getMessage()); in testLimits_message()
DCaseResultTest.java64 assertEquals("Expected message to be set", MESSAGE, testResult.getMessage()); in testResultReporting()
/platform_testing/libraries/collectors-helper/simpleperf/src/com/android/helpers/
DSimpleperfHelper.java112 Log.e(LOG_TAG, "Unable to start simpleperf sampling due to :" + e.getMessage()); in startCollecting()
138 Log.e(LOG_TAG, "Unable to stop the simpleperf samping due to " + e.getMessage()); in stopCollecting()
195 Log.e(LOG_TAG, "Could not generate report: " + e.getMessage()); in getSimpleperfReport()
254 Log.e(LOG_TAG, "Could not open report file: " + e.getMessage()); in getMetrics()
296 Log.e(LOG_TAG, "Unable to check simpleperf status: " + e.getMessage()); in isSimpleperfRunning()
342 + e.getMessage()); in copyFileOutput()
/platform_testing/libraries/collectors-helper/memory/src/com/android/helpers/
DMemhogHelper.java66 Log.e(TAG, "Failed to start memhog: " + e.getMessage()); in startMemhog()
123 Log.e(TAG, "Unable to check memhog status: " + e.getMessage()); in isMemhogRunning()
/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/
DLogcatInspector.java71 fail("Thread interrupted unexpectedly: " + e.getMessage()); in assertLogcatContainsInOrder()
90 fail("Thread interrupted unexpectedly: " + e.getMessage()); in assertLogcatDoesNotContainInOrder()
DMetricsXmlSerializer.java43 mXmlSerializer.attribute(null, "message", summary.getMessage()); in serialize()
DITestResult.java51 String getMessage(); in getMessage() method
DBusinessLogic.java112 re.getMessage()); in applyLogicsFor()
143 msg.append(String.format("\nMessage [%s]: %s", description, re.getMessage())); in throwAggregatedException()
DReportLog.java109 public String getMessage() { in getMessage() method in ReportLog.Metric
129 serializer.attribute(null, MESSAGE_ATTR, getMessage()); in serialize()
/platform_testing/libraries/app-helpers/core/src/android/platform/helpers/exceptions/
DMappedMultiException.java54 public String getMessage() { in getMessage() method in MappedMultiException
/platform_testing/libraries/system-helpers/commands-helper/src/android/system/helpers/
DCommandsHelper.java84 command, e.getMessage())); in executeShellCommand()
/platform_testing/libraries/collectors-helper/statsd/test/src/com/android/helpers/
DThermalHelperTest.java274 assertTrue(exception1.getMessage().contains(expectedMessage));
285 assertTrue(exception2.getMessage().contains(expectedMessage));
296 assertTrue(exception3.getMessage().contains(expectedMessage));
/platform_testing/utils/esimutility/src/com/android/test/util/esimutility/
DESimUtilityInstrumentation.java60 result.putString("sim_utility_exception", e.getMessage()); in updateWithException()
/platform_testing/libraries/audio-test-harness/tradefed/src/main/java/com/android/media/audiotestharness/tradefed/
DAudioTestHarnessServerLogForwardingHandler.java90 sb.append(logRecord.getMessage()); in buildLogOutputLine()
/platform_testing/libraries/audio-test-harness/server/src/main/java/com/android/media/audiotestharness/server/service/
DAudioTestHarnessImpl.java121 Status.INTERNAL.withCause(ioe).withDescription(ioe.getMessage()).asException()); in capture()
/platform_testing/libraries/health/runners/longevity/platform/tests/src/android/platform/test/longevity/
DLongevitySuiteTest.java256 Assert.assertEquals(e.getCauses().get(0).getMessage(), "Cause 1"); in testThrowingErrorReportingRunnerCauses()
257 Assert.assertEquals(e.getCauses().get(1).getMessage(), "Cause 2"); in testThrowingErrorReportingRunnerCauses()
DLongevityClassRunnerTest.java302 Assert.assertTrue(e.getMessage().contains("should not be checked")); in testAfterClassMethodsHandling_marksFailure()
335 Assert.assertTrue(e.getMessage().contains("should not be checked")); in testRunAfterClassMethodsHandling_marksPassed()
573 if (failure.getException().getMessage().contains(ASSERTION_FAILURE_MESSAGE)) { in verifyForAssertionFailures()
/platform_testing/libraries/junitxml/src/com/android/junitxml/
DXmlRunListener.java197 final String message = failure.getMessage(); in formatError()
255 formatSkip(failure.getDescription(), failure.getMessage()); in testAssumptionFailure()

12