Home
last modified time | relevance | path

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

/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/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 generateResult() local
135 if (reportLog != null) { in generateResult()
136 currentTestResult.setReportLog(reportLog); in generateResult()
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/tests/net/src/android/net/wifi/rtt/cts/
DWifiRttTest.java143 DeviceReportLog reportLog = new DeviceReportLog(TAG, "testRangingToTestAp"); in testRangingToTestAp() local
144 reportLog.addValues("status_codes", statuses, ResultType.NEUTRAL, ResultUnit.NONE); in testRangingToTestAp()
145 reportLog.addValues("distance_mm", Arrays.copyOf(distanceMms, numGoodResults), in testRangingToTestAp()
147 reportLog.addValues("distance_stddev_mm", Arrays.copyOf(distanceStdDevMms, numGoodResults), in testRangingToTestAp()
149 reportLog.addValues("rssi_dbm", Arrays.copyOf(rssis, numGoodResults), ResultType.NEUTRAL, in testRangingToTestAp()
151 reportLog.addValues("num_attempted", Arrays.copyOf(numAttempted, numGoodResults), in testRangingToTestAp()
153 reportLog.addValues("num_successful", Arrays.copyOf(numSuccessful, numGoodResults), in testRangingToTestAp()
155 reportLog.addValues("timestamps", Arrays.copyOf(timestampsMs, numGoodResults), in testRangingToTestAp()
157 reportLog.submit(); in testRangingToTestAp()
/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()