Home
last modified time | relevance | path

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

12

/tools/test/graphicsbenchmark/performance_tests/hostside/test/com/android/game/qualification/metric/
DLoopSummaryTest.java29 LoopSummary summary = builder.build(); in testBasicLoop() local
30 assertEquals(1, summary.getDuration()); in testBasicLoop()
31 assertEquals(0.0, summary.getJankRate(), EPSILON); in testBasicLoop()
32 assertEquals(1, summary.getAvgFrameTime(), EPSILON); in testBasicLoop()
33 assertEquals(1, summary.getMinFrameTime()); in testBasicLoop()
34 assertEquals(1, summary.getMaxFrameTime()); in testBasicLoop()
35 assertEquals(1e9, summary.getAvgFPS(), EPSILON); in testBasicLoop()
36 assertEquals(1e9, summary.getMinFPS(), EPSILON); in testBasicLoop()
37 assertEquals(1e9, summary.getMaxFPS(), EPSILON); in testBasicLoop()
38 assertEquals(1, summary.get90thPercentile()); in testBasicLoop()
[all …]
DMetricSummaryTest.java67 MetricSummary summary = builder.build(); in testConversion() local
69 assertEquals(42, summary.getLoadTimeMs()); in testConversion()
73 summary.addToMetricData(runData); in testConversion()
79 assertEquals(summary, result); in testConversion()
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/
Dlatency.py168 summary = summaries[event_pair.name]
169 latencies = summary['latencies']
170 num_latencies = summary['num_latencies']
183 print('Min = {}'.format(summary['min_lat']), file=out_file)
184 print('Max = {}'.format(summary['max_lat']), file=out_file)
185 print('Average = {}'.format(summary['average_lat']), file=out_file)
186 print('Median = {}'.format(summary['median_lat']), file=out_file)
187 print('90 %ile = {}'.format(summary['90pctile']), file=out_file)
188 print('95 %ile = {}'.format(summary['95pctile']), file=out_file)
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/result/
DInvocationSummaryHelper.java44 TestSummary summary = listener.getSummary(); in reportInvocationStarted() local
45 if (summary != null) { in reportInvocationStarted()
46 summary.setSource(listener.getClass().getName()); in reportInvocationStarted()
47 summaries.add(summary); in reportInvocationStarted()
70 TestSummary summary = listener.getSummary(); in reportInvocationEnded() local
71 if (summary != null) { in reportInvocationEnded()
72 summary.setSource(listener.getClass().getName()); in reportInvocationEnded()
73 summaries.add(summary); in reportInvocationEnded()
DTestSummary.java80 public TestSummary(TypedString summary) { in TestSummary() argument
81 setSummary(summary); in TestSummary()
94 public void setSummary(TypedString summary) { in setSummary() argument
95 mSummary = summary; in setSummary()
102 public void setSummary(String summary) { in setSummary() argument
103 setSummary(new TypedString(summary)); in setSummary()
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/reporter/
DGameQualificationResultReporter.java79 … MetricSummary summary = MetricSummary.parseRunMetrics(getInvocationContext(), metrics); in testEnded() local
80 if (summary != null) { in testEnded()
81 summaries.put(testId, summary); in testEnded()
109 String summary = getInvocationSummary(); in invocationEnded() local
111 Log.logAndDisplay(LogLevel.INFO, TAG, summary); in invocationEnded()
116 new ByteArrayInputStream(summary.getBytes())); in invocationEnded()
320 LoopSummary summary = loopSummaries.get(i); in createPerformanceReport() local
321 if (summary.getJankRate() > requirements.getJankRate()) { in createPerformanceReport()
329 summary.getJankRate(), in createPerformanceReport()
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/metric/
DMetricSummary.java106 LoopSummary summary = summaries.get(type).get(i); in addToMetricData() local
107 summary.addToMetricData(runData, i, type); in addToMetricData()
116 MetricSummary summary = (MetricSummary) o; in equals()
117 return loopCount == summary.loopCount && in equals()
118 loadTimeMs == summary.loadTimeMs && in equals()
119 Objects.equals(summaries, summary.summaries); in equals()
194 LoopSummary.Builder summary = getLatestSummary(type); in addFrameTime() local
195 summary.addFrameTime(frameTimeNs); in addFrameTime()
DGameQualificationFpsCollector.java200 MetricSummary.Builder summary, in processTimestampsSlice() argument
212 summary.beginLoop(); in processTimestampsSlice()
233 summary.addFrameTime(PRESENT, presentTimeDiff); in processTimestampsSlice()
237 summary.addFrameTime(READY, readyTimeDiff); in processTimestampsSlice()
248 summary.endLoop(); in processTimestampsSlice()
306 MetricSummary summary = summaryBuilder.build(); in doEnd() local
307 summary.addToMetricData(runData); in doEnd()
/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DTestSummaryTest.java36 TestSummary summary = new TestSummary(sumText); in testSimpleCreate() local
37 summary.addKvEntry("httpText", httpText); in testSimpleCreate()
38 summary.setSource(className); in testSimpleCreate()
40 assertEquals(summary.getSummary(), sumText); in testSimpleCreate()
41 assertEquals(summary.getSource(), className); in testSimpleCreate()
42 Map<String, TypedString> kv = summary.getKvEntries(); in testSimpleCreate()
/tools/loganalysis/tests/src/com/android/loganalysis/parser/
DBatteryStatsSummaryInfoParserTest.java83 BatteryStatsSummaryInfoItem summary = new BatteryStatsSummaryInfoParser().parse(inputBlock); in testBatteryStatsSummaryInfoParser() local
86 summary.getBatteryDischargeRate()); in testBatteryStatsSummaryInfoParser()
96 summary.getPeakDischargeTime()); in testBatteryStatsSummaryInfoParser()
103 BatteryStatsSummaryInfoItem summary = new BatteryStatsSummaryInfoParser().parse(inputBlock); in testNoBatteryDischarge() local
105 assertEquals("The battery did not discharge", summary.getBatteryDischargeRate()); in testNoBatteryDischarge()
106 assertEquals("The battery did not discharge", summary.getPeakDischargeTime()); in testNoBatteryDischarge()
/tools/test/connectivity/acts_tests/tests/google/net/
DDnsOverTlsTest.py101 summary = "%s" % pkt.summary()
105 host in summary:
106 asserts.fail("Found query to port 53: %s" % summary)
109 asserts.fail("Found query to port 853: %s" % summary)
120 asserts.fail("Found RST packets: %s" % pkt.summary())
DProxyTest.py101 summary = "%s" % pkt.summary()
102 if UDP in pkt and pkt[UDP].dport == 53 and hostname in summary:
/tools/tradefederation/core/src/com/android/tradefed/result/
DEmailResultReporter.java264 for (TestSummary summary : mSummaries) { in generateEmailBody()
266 bodyBuilder.append(summary.getSummary().getString()); in generateEmailBody()
267 if (!summary.getKvEntries().isEmpty()) { in generateEmailBody()
269 bodyBuilder.append(summary.getKvEntries().toString()); in generateEmailBody()
/tools/tradefederation/core/atest/
Dresult_reporter.py358 summary = self.process_summary(name, stats)
364 print(summary)
415 summary = '%s: %s: %s, %s: %s, %s: %s, %s: %s %s' % (name,
425 return summary
/tools/asuite/atest/
Dresult_reporter.py367 summary = self.process_summary(name, stats)
373 print(summary)
486 summary = ('%s: %s: %s, %s: %s, %s: %s, %s: %s, %s %s %s %s'
500 return summary
/tools/test/connectivity/acts/tests/google/wifi/
DWifiMacRandomizationTest.py243 self.log.debug("Packet Summary = %s" % pkt.summary())
244 if mac in pkt.summary():
250 self.log.debug("Packet Summary = %s" % pkt.summary())
251 if mac in pkt.summary():
/tools/tradefederation/core/src/com/android/tradefed/result/suite/
DSuiteResultReporter.java404 TestSummary summary = new TestSummary(new TypedString(mSummary.toString(), Type.TEXT)); in getSummary() local
405 summary.setSource(SUITE_REPORTER_SOURCE); in getSummary()
406 return summary; in getSummary()
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/
Dwifi_test_utils.py2166 logging.debug("Packet Summary = %s", pkt.summary())
2167 if mac in pkt.summary():
2179 if mac in pkt.summary():
/tools/tradefederation/contrib/src/com/android/media/tests/
DCameraPerformanceTest.java295 protected void setSummary(CtsMetric summary) { in setSummary() argument
296 mSummary = summary; in setSummary()
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DClusterCommandScheduler.java359 for (final TestSummary summary : summaries) { in putSummary()
360 String summaryString = summary.getSummary().toString(); in putSummary()
/tools/repohooks/tools/
Dcheckpatch.pl35 my $summary = 1;
214 'summary!' => \$summary,
6501 if ($summary && !($clean == 1 && $quiet == 1)) {
/tools/dexter/testdata/expected/
Dmin.map2 Sections summary: name, offset, size [count]
Dentry_hooks.map2 Sections summary: name, offset, size [count]
Dmi.map2 Sections summary: name, offset, size [count]
Dexit_hooks.map2 Sections summary: name, offset, size [count]

12