Home
last modified time | relevance | path

Searched refs:reportLog (Results 1 – 10 of 10) 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 generateResult() local
135 if (reportLog != null) { in generateResult()
136 currentTestResult.setReportLog(reportLog); in generateResult()
DTestListAdapter.java263 ReportLog reportLog = (ReportLog) deserialize(cursor.getBlob(4)); in getRefreshResults() local
266 reportLogs.put(testName, reportLog); in getRefreshResults()
301 ReportLog reportLog) { in SetTestResultTask() argument
305 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/tests/camera/src/android/hardware/cts/
DLegacyCameraPerformanceTest.java67 DeviceReportLog reportLog = new DeviceReportLog(REPORT_LOG_NAME, in testLegacyApiPerformance() local
69 reportLog.addValue("camera_id", id, ResultType.NEUTRAL, ResultUnit.NONE); in testLegacyApiPerformance()
168 reportLog.addValues("camera_open_time", cameraOpenTimes, ResultType.LOWER_BETTER, in testLegacyApiPerformance()
170 reportLog.addValues("camera_start_preview_time", startPreviewTimes, in testLegacyApiPerformance()
173 reportLog.addValues("camera_autofocus_time", cameraAutoFocusTimes, in testLegacyApiPerformance()
176 reportLog.addValues("camera_stop_preview", stopPreviewTimes, in testLegacyApiPerformance()
178 reportLog.addValues("camera_close_time", cameraCloseTimes, in testLegacyApiPerformance()
180 reportLog.addValues("camera_takepicture_time", cameraTakePictureTimes, in testLegacyApiPerformance()
183 reportLog.submit(mInstrumentation); in testLegacyApiPerformance()
187 DeviceReportLog reportLog = new DeviceReportLog(REPORT_LOG_NAME, in testLegacyApiPerformance() local
[all …]
/cts/tests/tests/net/src/android/net/wifi/rtt/cts/
DWifiRttTest.java146 DeviceReportLog reportLog = new DeviceReportLog(TAG, "testRangingToTestAp"); in testRangingToTestAp() local
147 reportLog.addValues("status_codes", statuses, ResultType.NEUTRAL, ResultUnit.NONE); in testRangingToTestAp()
148 reportLog.addValues("distance_mm", Arrays.copyOf(distanceMms, numGoodResults), in testRangingToTestAp()
150 reportLog.addValues("distance_stddev_mm", Arrays.copyOf(distanceStdDevMms, numGoodResults), in testRangingToTestAp()
152 reportLog.addValues("rssi_dbm", Arrays.copyOf(rssis, numGoodResults), ResultType.NEUTRAL, in testRangingToTestAp()
154 reportLog.addValues("num_attempted", Arrays.copyOf(numAttempted, numGoodResults), in testRangingToTestAp()
156 reportLog.addValues("num_successful", Arrays.copyOf(numSuccessful, numGoodResults), in testRangingToTestAp()
158 reportLog.addValues("timestamps", Arrays.copyOf(timestampsMs, numGoodResults), in testRangingToTestAp()
160 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()