Home
last modified time | relevance | path

Searched refs:reportLog (Results 1 – 12 of 12) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DTestResult.java54 ReportLog reportLog) { in setPassedResult() argument
56 testDetails, reportLog)); in setPassedResult()
66 ReportLog reportLog) { in setFailedResult() argument
68 testDetails, reportLog)); in setFailedResult()
72 String testDetails, ReportLog reportLog) { in createResult() argument
74 addResultData(data, testResult, testName, testDetails, reportLog); in createResult()
79 String testDetails, ReportLog reportLog) { in addResultData() argument
83 intent.putExtra(TEST_METRICS, reportLog); in addResultData()
94 ReportLog reportLog = (ReportLog) data.getSerializableExtra(TEST_METRICS); in fromActivityResult() local
95 return new TestResult(name, result, details, reportLog); in fromActivityResult()
[all …]
DPassFailButtons.java106 private final ReportLog reportLog; field in PassFailButtons.Activity
109 this.reportLog = new CtsVerifierReportLog(); in Activity()
167 public ReportLog getReportLog() { return reportLog; } in getReportLog()
172 private final ReportLog reportLog; field in PassFailButtons.ListActivity
175 this.reportLog = new CtsVerifierReportLog(); in ListActivity()
215 public ReportLog getReportLog() { return reportLog; } in getReportLog()
221 private final ReportLog reportLog; field in PassFailButtons.TestListActivity
224 this.reportLog = new CtsVerifierReportLog(); in TestListActivity()
264 public ReportLog getReportLog() { return reportLog; } in getReportLog()
402 String testDetails, ReportLog reportLog, View target) { in setTestResultAndFinish() argument
[all …]
DTestResultsReport.java134 ReportLog reportLog = mAdapter.getReportLog(i); in getContents() local
135 if (reportLog != null) { in getContents()
137 metricsXmlSerializer.serialize(reportLog); in getContents()
DTestListAdapter.java246 ReportLog reportLog = (ReportLog) deserialize(cursor.getBlob(4)); in getRefreshResults() local
249 reportLogs.put(testName, reportLog); in getRefreshResults()
284 ReportLog reportLog) { in SetTestResultTask() argument
288 mReportLog = reportLog; in SetTestResultTask()
DTestResultsProvider.java229 String testDetails, ReportLog reportLog) { in setTestResult() argument
234 values.put(TestResultsProvider.COLUMN_TEST_METRICS, serialize(reportLog)); in setTestResult()
/cts/tests/sample/src/android/sample/cts/
DSampleDeviceReportLogTest.java70 DeviceReportLog reportLog = new DeviceReportLog(REPORT_LOG_NAME, streamName); in testMultiplication() local
71 reportLog.addValue(EXPECTED_PRODUCT_TAG, 1.0 * MULTIPLICATION_RESULT, ResultType.NEUTRAL, in testMultiplication()
73 reportLog.addValue(ACTUAL_PRODUCT_TAG, 1.0 * product, ResultType.NEUTRAL, ResultUnit.NONE); in testMultiplication()
74reportLog.setSummary(ACTUAL_PRODUCT_TAG, 1.0 * product, ResultType.NEUTRAL, ResultUnit.NONE); in testMultiplication()
75 reportLog.submit(getInstrumentation()); in testMultiplication()
119 DeviceReportLog reportLog = new DeviceReportLog(REPORT_LOG_NAME, streamName); in countHelper() local
120 reportLog.addValue(START_TAG, 1.0 * start, ResultType.NEUTRAL, ResultUnit.NONE); in countHelper()
121 reportLog.addValue(END_TAG, 1.0 * end, ResultType.NEUTRAL, ResultUnit.NONE); in countHelper()
122 reportLog.setSummary(END_TAG, 1.0 * end, ResultType.NEUTRAL, ResultUnit.NONE); in countHelper()
123 reportLog.submit(getInstrumentation()); in countHelper()
DSampleDeviceResultTest.java85 DeviceReportLog reportLog = new DeviceReportLog(REPORT_LOG_NAME, streamName); in testSort() local
87 reportLog.addValues("times", result, ResultType.LOWER_BETTER, ResultUnit.MS); in testSort()
88 reportLog.addValue("min", stat.mMin, ResultType.LOWER_BETTER, ResultUnit.MS); in testSort()
89 reportLog.addValue("max", stat.mMax, ResultType.LOWER_BETTER, ResultUnit.MS); in testSort()
91 reportLog.setSummary("average", stat.mAverage, ResultType.LOWER_BETTER, ResultUnit.MS); in testSort()
93 reportLog.submit(getInstrumentation()); in testSort()
/cts/common/util/src/com/android/compatibility/common/util/
DMetricsXmlSerializer.java36 public void serialize(ReportLog reportLog) throws IOException { in serialize() argument
37 if (reportLog == null) { in serialize()
40 ReportLog.Metric summary = reportLog.getSummary(); in serialize()
DReportLog.java320 public static void serialize(XmlSerializer serializer, ReportLog reportLog) in serialize() argument
322 if (reportLog == null) { in serialize()
325 Metric summary = reportLog.getSummary(); in serialize()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sample/
DSampleTestActivity.java86 ReportLog reportLog = new PassFailButtons.CtsVerifierReportLog(); in recordMetricsExample() local
87 reportLog.setSummary("Sample Summary", 1.0, ResultType.HIGHER_BETTER, ResultUnit.BYTE); in recordMetricsExample()
88 reportLog.addValues("Sample Values", metricValues, ResultType.NEUTRAL, ResultUnit.FPS); in recordMetricsExample()
89 TestResult.setPassedResult(this, "manualSample", "manualDetails", reportLog); in recordMetricsExample()
/cts/common/host-side/util/src/com/android/compatibility/common/util/
DMetricsStore.java47 ReportLog reportLog) { in storeResult() argument
49 mMap.put(generateTestKey(startTime, abi, classMethodName), reportLog); in storeResult() local
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/
DReportLogCollector.java140 for (File reportLog : reportLogs) { in reformatRepeatedStreams()
141 try (BufferedReader metricsReader = new BufferedReader(new FileReader(reportLog))) { in reformatRepeatedStreams()
186 reportLog.createNewFile(); in reformatRepeatedStreams()
188 FileWriter(reportLog))) { in reformatRepeatedStreams()