Home
last modified time | relevance | path

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

12

/test/vti/dashboard/src/test/java/com/android/vts/job/
DVtsPerformanceJobServletTest.java123 ProfilingPointSummary summary = new ProfilingPointSummary("", "", mode); in setUp() local
126 summary.updateLabel(pt, LABEL); in setUp()
127 summary.updateLabel(pt, LABEL); in setUp()
129 summary.update(pt); in setUp()
130 summary.update(pt); in setUp()
132 today.insertProfilingPointSummary("p1", summary); in setUp()
135 summary = new ProfilingPointSummary("", "", mode); in setUp()
138 summary.updateLabel(pt, LABEL); in setUp()
139 summary.updateLabel(pt, LABEL); in setUp()
141 summary.update(pt); in setUp()
[all …]
/test/vti/dashboard/src/test/java/com/android/vts/util/
DProfilingPointSummaryTest.java43 private static ProfilingPointSummary summary; field in ProfilingPointSummaryTest
79 summary = new ProfilingPointSummary("x", "y", mode); in setUp()
81 summary.update(pt); in setUp()
93 assertTrue(summary.hasLabel(label)); in testHasLabel()
100 assertFalse(summary.hasLabel("bad label")); in testInvalidHasLabel()
107 StatSummary stats = summary.getStatSummary(label); in testGetStatSummary()
116 StatSummary stats = summary.getStatSummary("bad label"); in testInvalidGetStatSummary()
125 summary.update(pt); in testIterator()
128 for (StatSummary stats : summary) { in testIterator()
137 summary = new ProfilingPointSummary("x", "y", mode); in testUpdateLabelGrouped()
[all …]
/test/suite_harness/common/util/src/com/android/compatibility/common/util/
DMetricsXmlSerializer.java39 ReportLog.Metric summary = reportLog.getSummary(); in serialize() local
41 if (summary != null) { in serialize()
43 mXmlSerializer.attribute(null, "message", summary.getMessage()); in serialize()
44 mXmlSerializer.attribute(null, "scoreType", summary.getType().toReportString()); in serialize()
45 mXmlSerializer.attribute(null, "unit", summary.getUnit().toReportString()); in serialize()
46 mXmlSerializer.text(Double.toString(summary.getValues()[0])); in serialize()
DReportLog.java325 Metric summary = reportLog.getSummary(); in serialize() local
327 if (summary != null) { in serialize()
329 summary.serialize(serializer); in serialize()
/test/vts-testcase/performance/binder_throughput_test/
DBinderThroughputBenchmark.py169 summary = {}
172 summary[_ITERATIONS_PER_SECOND] = int(float(
180 summary[_TIME_AVERAGE] = int(float(
183 summary[_TIME_WORST] = int(float(
185 summary[_TIME_BEST] = int(float(
191 summary[_TIME_PERCENTILE] = {}
192 summary[_TIME_PERCENTILE][50] = int(float(percentiles_string[1])
194 summary[_TIME_PERCENTILE][90] = int(float(percentiles_string[3])
196 summary[_TIME_PERCENTILE][95] = int(float(percentiles_string[5])
198 summary[_TIME_PERCENTILE][99] = int(float(percentiles_string[7])
[all …]
/test/vts-testcase/performance/hwbinder_throughput_test/
DHwBinderThroughputBenchmark.py173 summary = {}
176 summary[_ITERATIONS_PER_SECOND] = int(float(
184 summary[_TIME_AVERAGE] = int(float(
187 summary[_TIME_WORST] = int(float(
189 summary[_TIME_BEST] = int(float(
195 summary[_TIME_PERCENTILE] = {}
196 summary[_TIME_PERCENTILE][50] = int(float(percentiles_string[1])
198 summary[_TIME_PERCENTILE][90] = int(float(percentiles_string[3])
200 summary[_TIME_PERCENTILE][95] = int(float(percentiles_string[5])
202 summary[_TIME_PERCENTILE][99] = int(float(percentiles_string[7])
[all …]
/test/vts/utils/python/coverage/
Dgcno_parser_test.py61 summary = parser.ReadFunction()
62 self.assertEqual(name, summary.name)
63 self.assertEqual(ident, summary.ident)
64 self.assertEqual(src_file_name, summary.src_file_name)
65 self.assertEqual(first_line_number, summary.first_line_number)
193 summary = gcno_parser.ParseGcnoFile(file_path)
194 self.assertEqual(len(summary.functions), 2)
197 func = summary.functions[4]
207 func = summary.functions[3]
Dgcda_parser_test.py128 summary = gcno_parser.ParseGcnoFile(gcno_path)
129 gcda_parser.ParseGcdaFile(gcda_path, summary)
133 self.assertEqual(summary.functions[3].blocks[index].count,
139 self.assertEqual(summary.functions[4].blocks[index].count,
/test/vti/dashboard/src/main/java/com/android/vts/job/
DVtsAlertJobServlet.java354 String summary = new String(); in getTestStatus() local
356 summary += "The following test cases failed in the latest test run:<br>"; in getTestStatus()
362 summary += "- " + "<b>" + testcaseName + "</b><br>"; in getTestStatus()
370 summary += "- " + testcaseName + "<br>"; in getTestStatus()
375 summary += "<br><br>The following test cases were fixed in the latest test run:<br>"; in getTestStatus()
379 summary += "- <i>" + testcaseName + "</i><br>"; in getTestStatus()
384 summary += "<br><br>The following transient test case failures occured:<br>"; in getTestStatus()
389 summary += "- " + testcaseName + "<br>"; in getTestStatus()
394 summary += "<br><br>The following test cases have not been run since failing:<br>"; in getTestStatus()
398 summary += "- " + testcaseName + "<br>"; in getTestStatus()
[all …]
DVtsProfilingStatsJobServlet.java180 ProfilingPointSummaryEntity summary; in updateSummaries() local
182 summary = deviceMap.get(device); in updateSummaries()
184 summary = in updateSummaries()
187 deviceMap.put(device, summary); in updateSummaries()
189 summary.update(profilingPointRun); in updateSummaries()
190 modifiedEntities.add(summary); in updateSummaries()
DVtsPerformanceJobServlet.java109 ProfilingPointSummary summary = now.getProfilingPointSummary(profilingPoint); in getPerformanceSummary() local
113 String[] headerRows = new String[] {profilingPoint, summary.yLabel}; in getPerformanceSummary()
155 tableHTML += summary.xLabel + "</th>"; in getPerformanceSummary()
165 for (StatSummary stats : summary) { in getPerformanceSummary()
/test/vti/dashboard/src/main/webapp/css/
Dshow_test_runs_common.css38 #summary-container {
44 #summary-container .summary-header {
52 #summary-container .summary-header i {
55 #summary-container div {
Dshow_performance_digest.css33 div.col.card.summary {
49 .summary table {
57 .summary table td, th {
/test/vti/dashboard/src/main/java/com/android/vts/util/
DProfilingPointSummary.java90 StatSummary summary = getStatSummary(label); in update() local
91 summary.merge(ppSummary.getLabelStats().get(label)); in update()
121 StatSummary summary = getStatSummary(label); in updateLabel() local
122 summary.merge(ppSummary.getGlobalStats()); in updateLabel()
DPerformanceSummary.java108 public boolean insertProfilingPointSummary(String key, ProfilingPointSummary summary) { in insertProfilingPointSummary() argument
110 summaryMap.put(key, summary); in insertProfilingPointSummary()
/test/suite_harness/common/util/tests/src/com/android/compatibility/common/util/
DResultHandlerTest.java236 ReportLog.Metric summary = new ReportLog.Metric(SUMMARY_SOURCE, SUMMARY_MESSAGE, in testSerialization() local
238 report.setSummary(summary); in testSerialization()
325 ReportLog.Metric summary = in testSerialization_whenTestResultWithTestResultHistoryWithoutParsing() local
332 report.setSummary(summary); in testSerialization_whenTestResultWithTestResultHistoryWithoutParsing()
431 String summary = String.format(XML_SUMMARY, 2, 1); in writeResultDir() local
472 buildInfo, summary, modules); in writeResultDir()
616 ReportLog.Metric summary = report.getSummary(); in checkResult() local
617 assertNotNull("Expected report summary", summary); in checkResult()
618 assertEquals("Incorrect source", SUMMARY_SOURCE, summary.getSource()); in checkResult()
619 assertEquals("Incorrect message", SUMMARY_MESSAGE, summary.getMessage()); in checkResult()
[all …]
/test/framework/harnesses/host_controller/tfc/
Dcommand_attempt.py113 summary, argument
134 obj["data"].update({"summary": summary,
Dtfc_client_test.py109 summary="complete", total_test_count=2, failed_test_count=1,
/test/suite_harness/common/host-side/tradefed/res/report/
Dcompatibility_result.css33 table.summary {
41 table.summary th {
47 table.summary td {
/test/vts/utils/native/trace_processor/
DVtsTraceProcessor.cpp553 for (const auto& summary : trace_summaries) { in GetTestListForHal() local
554 for (auto const& api_stat_it : summary.api_stats) { in GetTestListForHal()
558 test_list[it->first].insert(summary.test_name); in GetTestListForHal()
575 for (const TraceSummary& summary : it->second) { in GetTestListForHal() local
577 obj["Test_name"] = summary.test_name; in GetTestListForHal()
578 obj["Unique_Api_Count"] = std::to_string(summary.unique_api_count); in GetTestListForHal()
579 obj["Total_Api_Count"] = std::to_string(summary.total_api_count); in GetTestListForHal()
/test/vti/dashboard/src/main/java/com/android/vts/entity/
DProfilingPointSummaryEntity.java225 StatSummary summary = new StatSummary(label, vtsProfilingRegressionMode); in update() local
226 this.labelStats.put(label, summary); in update()
228 StatSummary summary = this.labelStats.get(label); in update() local
229 summary.updateStats(profilingRun.getValues().get(i)); in update()
/test/vts/runners/adapters/acts/
Dacts_adapter.py181 summary = json.load(f)
183 results = summary['Results']
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/suite/
DCertificationSuiteResultReporter.java275 for (TestSummary summary : summaries) { in putSummary()
276 if (mReferenceUrl == null && summary.getSummary().getString() != null) { in putSummary()
277 mReferenceUrl = summary.getSummary().getString(); in putSummary()
358 TestSummary summary = getSummary(); in preFormattingSetup() local
361 FileUtil.writeToFile(summary.getSummary().toString(), summaryFile); in preFormattingSetup()
/test/vti/dashboard/src/main/webapp/WEB-INF/jsp/
Dshow_plan_run.jsp137 // Draw a test plan run summary box.
160 div.appendTo($('#summary-container'));
180 <div id='summary-container' class='col s12 card'>
181 <span class='summary-header valign-wrapper'>
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/
DResultReporter.java500 for (TestSummary summary : summaries) { in putSummary()
502 if (SuiteResultReporter.SUITE_REPORTER_SOURCE.equals(summary.getSource())) { in putSummary()
506 FileUtil.writeToFile(summary.getSummary().getString(), summaryFile); in putSummary()
515 } else if (mReferenceUrl == null && summary.getSummary().getString() != null) { in putSummary()
516 mReferenceUrl = summary.getSummary().getString(); in putSummary()

12