Home
last modified time | relevance | path

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

/cts/common/util/tests/src/com/android/compatibility/common/util/
DReportLogTest.java51 ReportLog.Result summary = reportLog.getSummary(); in testEncodeDecode() local
52 assertEquals("Sample Summary", summary.getMessage()); in testEncodeDecode()
53 assertFalse(summary.getLocation().isEmpty()); in testEncodeDecode()
54 assertEquals(ResultType.HIGHER_BETTER, summary.getType()); in testEncodeDecode()
55 assertEquals(ResultUnit.BYTE, summary.getUnit()); in testEncodeDecode()
56 assertTrue(Arrays.equals(new double[] {1.0}, summary.getValues())); in testEncodeDecode()
/cts/common/util/src/com/android/compatibility/common/util/
DMetricsXmlSerializer.java39 ReportLog.Result summary = reportLog.getSummary(); in serialize() local
42 if (summary != null) { in serialize()
44 mXmlSerializer.attribute(null, "message", summary.getMessage()); in serialize()
45 mXmlSerializer.attribute(null, "scoreType", summary.getType().getXmlString()); in serialize()
46 mXmlSerializer.attribute(null, "unit", summary.getUnit().getXmlString()); in serialize()
47 mXmlSerializer.text(Double.toString(summary.getValues()[0])); in serialize()
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
DTest.java142 public void setSummary(String summary) { in setSummary() argument
143 mSummary = summary; in setSummary()
191 PerfResultSummary summary = parseSummary(mSummary); in serialize() local
192 if (summary != null) { in serialize()
194 serializer.attribute(CtsXmlResultReporter.ns, MESSAGE_ATTR, summary.mMessage); in serialize()
195 if (summary.mTarget.length() != 0 && !summary.mTarget.equals(" ")) { in serialize()
196 serializer.attribute(CtsXmlResultReporter.ns, TARGET_ATTR, summary.mTarget); in serialize()
198 serializer.attribute(CtsXmlResultReporter.ns, SCORETYPE_ATTR, summary.mType); in serialize()
199 serializer.attribute(CtsXmlResultReporter.ns, UNIT_ATTR, summary.mUnit); in serialize()
200 serializer.text(summary.mValue); in serialize()
[all …]
/cts/apps/CameraITS/tools/
Drun_all_tests.py104 summary = "ITS test result summary for camera " + camera_id + "\n"
148 summary += msg + "\n"
153 summary += errors + "\n"
166 summary += test_result + "\n"
171 summary += msg + "\n"
177 f.write(summary)
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsTestActivity.java77 StringBuilder summary = new StringBuilder(); in onReceive() local
80 appendFileContentToSummary(summary, path); in onReceive()
83 summary.toString(), 1.0, ResultType.NEUTRAL, ResultUnit.NONE); in onReceive()
101 private void appendFileContentToSummary(StringBuilder summary, String path) { in appendFileContentToSummary() argument
109 summary.append(line); in appendFileContentToSummary()
114 summary.append("Cannot find ITS summary file at " + path); in appendFileContentToSummary()
117 summary.append("IO exception when trying to read " + path); in appendFileContentToSummary()
/cts/tests/tests/preference2/src/android/preference2/cts/
DCheckBoxPreferenceTest.java48 String summary = (String) checkBoxPref.getSummary(); in testGetSummary() local
51 assertEquals(summaryExp, summary); in testGetSummary()
DPreferenceTest.java50 String summary = (String) mPreference.getSummary(); in testGetSummary() local
53 assertEquals(summaryExp, summary); in testGetSummary()
57 final String summary = "New Summary"; in testSetSummary() local
60 mPreference.setSummary(summary); in testSetSummary()
63 assertEquals(summary, mPreference.getSummary()); in testSetSummary()
DSwitchPreferenceTest.java52 String summary = (String) mSwitchPref.getSummary(); in testGetSummary() local
54 assertEquals(summaryExp, summary); in testGetSummary()
/cts/suite/cts/utils/
Dget_csv_report.py37 def __init__(self, name, summary, details, result): argument
39 self.summary = summary
47 return self.summary
72 summary = {}
78 summary[sts[0].getAttribute("message")] = getText(sts[0])
86 testCase = TestCase(caseName, summary, details, result)
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/
DBaseSensorTestActivity.java429 String summary = mTestLogger.getOverallSummary(); in setTestResult() local
433 TestResult.setPassedResult(this, name, summary); in setTestResult()
436 TestResult.setPassedResult(this, name, summary); in setTestResult()
439 TestResult.setFailedResult(this, name, summary); in setTestResult()
566 String summary = testDetails.getSummary(); in logTestDetails() local
570 logTestSkip(name, summary); in logTestDetails()
573 logTestPass(name, summary); in logTestDetails()
576 logTestFail(name, summary); in logTestDetails()
638 String summary) { in saveResult() argument
643 mOverallSummaryBuilder.append(summary); in saveResult()
/cts/tools/signature-tools/templates/
DTable.st1 <table summary="$name$" border="1" width="100%">
DPackageAddedLink.st1 …oogle.com/android/reference/$it.packageFragments; separator="/"$/package-summary.html}, name={<tt>…
DPackageOverviewPage.st17 …oid/reference/$package_delta.to.packageFragments; separator="/"$/package-summary.html}, name=packa…
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/reporting/
DSensorTestDetails.java46 public SensorTestDetails(String name, ResultCode resultCode, String summary) { in SensorTestDetails() argument
49 mSummary = summary; in SensorTestDetails()
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensoroperations/
DParallelSensorOperation.java140 String summary = getSummaryMessage(exceptions, timeoutIndices); in execute() local
142 getStats().addValue(SensorStats.ERROR, summary); in execute()
145 Assert.fail(summary); in execute()
/cts/tools/tradefed-host/res/report/
Dcts_result.css34 table.summary {
42 table.summary th {
48 table.summary td {