Home
last modified time | relevance | path

Searched refs:report (Results 1 – 25 of 48) sorted by relevance

12

/cts/tools/vm-tests-tf/etc/
Dstarthosttests62 report=$dalviktest/report.html
111 rm -f $report
112 echo $pre_report > $report
174 echo -n "<tr class=\"ok\"><td>Success</td><td>$jtitle</td>" >> $report
175 echo "<td>$jcomment</td><td>$details</td></tr>" >> $report
192 echo "<tr class=\"nok\"><td>Failure</td><td>$jtitle</td><td>" >> $report
193 echo "$jcomment</td><td>$vmres</td></tr>" >> $report
196 echo "<tr class=\"wok\"><td>Failure</td><td>$jtitle</td><td>" >> $report
197 echo "$jcomment</td><td>(No stacktrace, but errors on console)" >> $report
198 echo "<br>$vmres</td></tr>" >> $report
[all …]
Dstarttests64 report=$dalviktest/report.html
118 rm -f $report
119 echo $pre_report > $report
193 echo -n "<tr class=\"ok\"><td>Success</td><td>$jtitle</td>" >> $report
194 echo "<td>$jcomment</td><td>$details</td></tr>" >> $report
211 echo "<tr class=\"nok\"><td>Failure</td><td>$jtitle</td><td>" >> $report
212 echo "$jcomment</td><td>$vmres</td></tr>" >> $report
215 echo "<tr class=\"wok\"><td>Failure</td><td>$jtitle</td><td>" >> $report
216 echo "$jcomment</td><td>(No stacktrace, but errors on console)" >> $report
217 echo "<br>$vmres</td></tr>" >> $report
[all …]
/cts/hostsidetests/packagemanager/stats/src/com/android/cts/packagemanager/stats/host/
DPackageInstallerV2StatsTests.java54 final AtomsProto.PackageInstallerV2Reported report = installPackageUsingV2AndGetReport( in testPackageInstallerV2MetricsReported() local
56 assertTrue(report.getIsIncremental()); in testPackageInstallerV2MetricsReported()
58 assertEquals("", report.getPackageName()); in testPackageInstallerV2MetricsReported()
59 assertEquals(1, report.getReturnCode()); in testPackageInstallerV2MetricsReported()
60 assertTrue(report.getDurationMillis() > 0); in testPackageInstallerV2MetricsReported()
61 assertEquals(getTestFileSize(TEST_INSTALL_APK), report.getApksSizeBytes()); in testPackageInstallerV2MetricsReported()
62 assertTrue(report.getUid() != 0); in testPackageInstallerV2MetricsReported()
63 assertEquals(getAppUid(TEST_INSTALL_PACKAGE), report.getUid()); in testPackageInstallerV2MetricsReported()
70 final AtomsProto.PackageInstallerV2Reported report = installPackageUsingV2AndGetReport( in testPackageInstallerV2MetricsReportedForSplits() local
72 assertTrue(report.getIsIncremental()); in testPackageInstallerV2MetricsReportedForSplits()
[all …]
DPackageInstallationSessionReportedStatsTests.java114 private void checkDurationResult(AtomsProto.PackageInstallationSessionReported report) { in checkDurationResult() argument
115 final long totalDuration = report.getTotalDurationMillis(); in checkDurationResult()
121 assertThat(report.getInstallStepsCount()).isAtLeast(4); in checkDurationResult()
123 int stepCount = report.getInstallStepsCount(); in checkDurationResult()
125 int step = report.getInstallSteps(i); in checkDurationResult()
128 long duration = report.getStepDurationMillis(i); in checkDurationResult()
137 private void checkReportResult(AtomsProto.PackageInstallationSessionReported report, in checkReportResult() argument
147 assertThat(report.getSessionId()).isNotEqualTo(-1); in checkReportResult()
148 assertThat(report.getUid()).isEqualTo(expectedUid); in checkReportResult()
149 assertThat(report.getUserIdsList()).containsAtLeastElementsIn(expectedUserIds); in checkReportResult()
[all …]
/cts/tests/tests/telecom/src/android/telecom/cts/
DBluetoothCallQualityReportTest.java33 BluetoothCallQualityReport report = new BluetoothCallQualityReport.Builder() in testBluetoothCallQualityReport() local
43 assertEquals(timestamp, report.getSentTimestampMillis()); in testBluetoothCallQualityReport()
44 assertEquals(true, report.isChoppyVoice()); in testBluetoothCallQualityReport()
45 assertEquals(rssi, report.getRssiDbm()); in testBluetoothCallQualityReport()
46 assertEquals(snr, report.getSnrDb()); in testBluetoothCallQualityReport()
47 assertEquals(retransmissionCount, report.getRetransmittedPacketsCount()); in testBluetoothCallQualityReport()
48 assertEquals(packetsNotReceiveCount, report.getPacketsNotReceivedCount()); in testBluetoothCallQualityReport()
49 assertEquals(negativeAcknowledgementCount, report.getNegativeAcknowledgementCount()); in testBluetoothCallQualityReport()
/cts/tests/simplecpu/src/android/simplecpu/cts/
DSimpleCpuTest.java103 DeviceReportLog report = new DeviceReportLog(REPORT_LOG_NAME, streamName); in doTestSort() local
104 report.addValue("array_length", arrayLength, ResultType.NEUTRAL, ResultUnit.NONE); in doTestSort()
105 report.addValues("sorting_time", result, ResultType.LOWER_BETTER, ResultUnit.MS); in doTestSort()
110report.setSummary("sorting_time_average", stat.mAverage, ResultType.LOWER_BETTER, ResultUnit.MS); in doTestSort()
111 report.submit(getInstrumentation()); in doTestSort()
127 DeviceReportLog report = new DeviceReportLog(REPORT_LOG_NAME, streamName); in doMatrixMultiplication() local
128 report.addValue("matrix_dimension", n, ResultType.NEUTRAL, ResultUnit.NONE); in doMatrixMultiplication()
129 report.addValues("matrix_mutiplication_time", result, ResultType.LOWER_BETTER, in doMatrixMultiplication()
135 report.setSummary("matrix_mutiplication_time_average", stat.mAverage, in doMatrixMultiplication()
137 report.submit(getInstrumentation()); in doMatrixMultiplication()
/cts/apps/CtsVerifier/jni/audio_loopback/analyzer/
DGlitchAnalyzer.h84 std::stringstream report; in analyze() local
85 report << "GlitchAnalyzer ------------------\n"; in analyze()
86 report << LOOPBACK_RESULT_TAG "peak.amplitude = " << std::setw(8) in analyze()
88 report << LOOPBACK_RESULT_TAG "sine.magnitude = " << std::setw(8) in analyze()
90 report << LOOPBACK_RESULT_TAG "rms.noise = " << std::setw(8) in analyze()
92 report << LOOPBACK_RESULT_TAG "signal.to.noise.db = " << std::setw(8) in analyze()
94 report << LOOPBACK_RESULT_TAG "frames.accumulated = " << std::setw(8) in analyze()
96 report << LOOPBACK_RESULT_TAG "sine.period = " << std::setw(8) in analyze()
98 report << LOOPBACK_RESULT_TAG "test.state = " << std::setw(8) in analyze()
100 report << LOOPBACK_RESULT_TAG "frame.count = " << std::setw(8) in analyze()
[all …]
DLatencyAnalyzer.h225 LatencyReport *report) { in measureLatencyFromPulse() argument
227 report->reset(); in measureLatencyFromPulse()
270 report->latencyInFrames = peakIndex; in measureLatencyFromPulse()
271 report->correlation = peakCorrelation; in measureLatencyFromPulse()
482 std::stringstream report; in analyze() local
483 report << "PulseLatencyAnalyzer ---------------\n"; in analyze()
484 report << LOOPBACK_RESULT_TAG "test.state = " in analyze()
486 report << LOOPBACK_RESULT_TAG "test.state.name = " in analyze()
488 report << LOOPBACK_RESULT_TAG "background.rms = " in analyze()
493 report << "WARNING - Bad state. Check volume on device.\n"; in analyze()
[all …]
/cts/tests/openglperf2/src/android/opengl2/cts/reference/
DGLReferenceBenchmark.java68 DeviceReportLog report = new DeviceReportLog(REPORT_LOG_NAME, streamName); in testReferenceBenchmark() local
69 report.addValues("set_up_times", setUpTimes, ResultType.LOWER_BETTER, ResultUnit.MS); in testReferenceBenchmark()
70 report.addValue("update_time_average", updateAverage, ResultType.LOWER_BETTER, in testReferenceBenchmark()
72 report.addValue("render_time_average", renderAverage, ResultType.LOWER_BETTER, in testReferenceBenchmark()
76 report.setSummary("total_time_average", totalTime, ResultType.LOWER_BETTER, in testReferenceBenchmark()
78 report.submit(getInstrumentation()); in testReferenceBenchmark()
/cts/tests/filesystem/src/android/filesystem/cts/
DSequentialRWTest.java85 DeviceReportLog report = new DeviceReportLog(REPORT_LOG_NAME, streamName); in testSingleSequentialWrite() local
86 report.addValue("files", numberOfFiles, ResultType.NEUTRAL, ResultUnit.COUNT); in testSingleSequentialWrite()
100 report.addValues("write_throughput", mbps, ResultType.HIGHER_BETTER, ResultUnit.MBPS); in testSingleSequentialWrite()
101 report.addValues("write_amount", wrAmount, ResultType.NEUTRAL, ResultUnit.BYTE); in testSingleSequentialWrite()
103 report.setSummary("write_throughput_average", stat.mAverage, ResultType.HIGHER_BETTER, in testSingleSequentialWrite()
106 report.submit(getInstrumentation()); in testSingleSequentialWrite()
143 DeviceReportLog report = new DeviceReportLog(REPORT_LOG_NAME, streamName); in testSingleSequentialRead() local
144 report.addValue("file_size", fileSize, ResultType.NEUTRAL, ResultUnit.NONE); in testSingleSequentialRead()
145 report.addValue("write_throughput", in testSingleSequentialRead()
166 report.addValues("read_throughput", mbps, ResultType.HIGHER_BETTER, ResultUnit.MBPS); in testSingleSequentialRead()
[all …]
DRandomRWTest.java71 DeviceReportLog report = new DeviceReportLog(REPORT_LOG_NAME, streamName); in testRandomRead() local
72 double mbps = FileUtil.doRandomReadTest(getContext(), DIR_RANDOM_RD, report, fileSize, in testRandomRead()
74 report.submit(getInstrumentation()); in testRandomRead()
97 DeviceReportLog report = new DeviceReportLog(REPORT_LOG_NAME, streamName); in testRandomUpdate() local
101 mbps = FileUtil.doRandomWriteTest(getContext(), DIR_RANDOM_WR, report, fileSize, in testRandomUpdate()
104 report.submit(getInstrumentation()); in testRandomUpdate()
DFileUtil.java273 public static double doRandomReadTest(Context context, String dirName, ReportLog report, in doRandomReadTest() argument
309 report.addValues("read_throughput", mbps, ResultType.HIGHER_BETTER, ResultUnit.MBPS); in doRandomReadTest()
311 report.addValues("read_amount", rdAmount, ResultType.NEUTRAL, ResultUnit.BYTE); in doRandomReadTest()
314 report.setSummary("read_throughput_average", stat.mAverage, ResultType.HIGHER_BETTER, in doRandomReadTest()
330 public static double doRandomWriteTest(Context context, String dirName, ReportLog report, in doRandomWriteTest() argument
364 report.addValues("write_throughput", mbps, ResultType.HIGHER_BETTER, ResultUnit.MBPS); in doRandomWriteTest()
365 report.addValues("write_amount", wrAmount, ResultType.NEUTRAL, ResultUnit.BYTE); in doRandomWriteTest()
368 report.setSummary("write_throughput_average", stat.mAverage, ResultType.HIGHER_BETTER, in doRandomWriteTest()
394 DeviceReportLog report = new DeviceReportLog(reportName, streamName); in doSequentialUpdateTest() local
395 report.addValue("round", i, ResultType.NEUTRAL, ResultUnit.NONE); in doSequentialUpdateTest()
[all …]
DAlmostFullTest.java137 DeviceReportLog report = new DeviceReportLog(REPORT_LOG_NAME, streamName); in testRandomRead() local
138 FileUtil.doRandomReadTest(getContext(), DIR_RANDOM_RD, report, fileSize, BUFFER_SIZE); in testRandomRead() local
139 report.submit(getInstrumentation()); in testRandomRead()
152 DeviceReportLog report = new DeviceReportLog(REPORT_LOG_NAME, streamName); in testRandomUpdate() local
153 FileUtil.doRandomWriteTest(getContext(), DIR_RANDOM_WR, report, fileSize, BUFFER_SIZE); in testRandomUpdate() local
154 report.submit(getInstrumentation()); in testRandomUpdate()
/cts/tests/sensor/src/android/hardware/cts/accessories/
DHidCommand.kt84 var report = result.toString() in setGetReportResponse() variable
85 report = report.substring(0, report.length - 1) + "]" in setGetReportResponse()
90 json.put("report", JSONArray(report)) in setGetReportResponse()
92 throw RuntimeException("Could not process HID report: $report") in setGetReportResponse()
160 protected fun sendHidReport(report: String) { in sendHidReport()
165 json.put("report", JSONArray(report)) in sendHidReport()
167 throw RuntimeException("Could not process HID report: $report") in sendHidReport()
/cts/tests/tvprovider/src/android/tvprovider/cts/
DTvProviderPerfTest.java116 DeviceReportLog report = new DeviceReportLog(REPORT_LOG_NAME, streamName); in testChannels() local
117 report.addValues("elapsed_time_for_insert", applyBatchTimes, ResultType.LOWER_BETTER, in testChannels()
145 report.addValues("elapsed_time_for_update", applyBatchTimes, ResultType.LOWER_BETTER, in testChannels()
161 report.addValues("elapsed_time_for_query_channels", applyBatchTimes, in testChannels()
181 report.addValues("elapsed_time_for_query_a_channel", applyBatchTimes, in testChannels()
192 report.addValues("elapsed_time_for_delete", applyBatchTimes, ResultType.LOWER_BETTER, in testChannels()
196 report.addValues("average_elapsed_time_for_insert_update_query_channels_query_a_channel_" in testChannels()
198 report.submit(getInstrumentation()); in testChannels()
254 DeviceReportLog report = new DeviceReportLog(REPORT_LOG_NAME, streamName); in testPrograms() local
255 report.addValues("elapsed_time_for_insert", applyBatchTimes, ResultType.LOWER_BETTER, in testPrograms()
[all …]
/cts/hostsidetests/compilation/status_checker_app/src/android/compilation/cts/statuscheckerapp/
DStatusCheckerAppTest.java114 reporter.report(Map.of("relative/reported_bad_1.apk", "PCL[]")); in testSecondaryDexReporting()
115 reporter.report( in testSecondaryDexReporting()
119 reporter.report(Map.of(Paths.get(dataDir, "reported_bad_3.apk").toString(), "ABC")); in testSecondaryDexReporting()
120 reporter.report( in testSecondaryDexReporting()
124 reporter.report(Map.of(Paths.get(dataDir, "reported_good_1.apk").toString(), "PCL[]")); in testSecondaryDexReporting()
125 reporter.report( in testSecondaryDexReporting()
127 reporter.report(Map.of(Paths.get(dataDir, "reported_good_3.apk").toString(), in testSecondaryDexReporting()
/cts/hostsidetests/ui/control/src/android/taskswitching/control/cts/
DTaskSwitchingDeviceTest.java68 DeviceReportLog report = new DeviceReportLog(REPORT_LOG_NAME, streamName); in testMeasureTaskSwitching() local
69 report.addValues("task_switching_time", results, ResultType.LOWER_BETTER, ResultUnit.MS); in testMeasureTaskSwitching()
71 report.setSummary("task_switching_time_average", stat.mAverage, ResultType.LOWER_BETTER, in testMeasureTaskSwitching()
73 report.submit(getInstrumentation()); in testMeasureTaskSwitching()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/lib/
DReportUtils.java88 ConfigMetricsReport report = reportList.getReports(reportIndex); in getEventMetricDataList() local
89 CLog.d("Got ConfigMetricsReportList: %s", report.toString()); in getEventMetricDataList()
91 for (StatsLogReport metric : report.getMetricsList()) { in getEventMetricDataList()
197 ConfigMetricsReport report = getConfigMetricsReport(device, extensionRegistry); in getStatsLogReport() local
198 assertThat(report.hasUidMap()).isTrue(); in getStatsLogReport()
199 assertThat(report.getMetricsCount()).isEqualTo(1); in getStatsLogReport()
200 return report.getMetrics(0); in getStatsLogReport()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/performance/
DCameraTestInstrumentation.java76 ReportLog report; in sendStatus() local
78 report = ReportLog.parse(results.getString(key)); in sendStatus()
84 Metric metric = report.getSummary(); in sendStatus()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVXCheckAnalyzer.java185 AnalyzeReport report = new AnalyzeReport(); in processDataSet() local
206 report.reason = "Unable to load recorded video."; in processDataSet()
207 return report; in processDataSet()
212 report.reason = "Video too short."; in processDataSet()
213 return report; in processDataSet()
219 report.reason = "Too many invalid frames."; in processDataSet()
220 return report; in processDataSet()
262 report.roll_rms_error = Math.sqrt(calcSqrErr(vrecs, srecs2, 0)); in processDataSet()
263 report.pitch_rms_error = Math.sqrt(calcSqrErr(vrecs, srecs2, 1)); in processDataSet()
264 report.yaw_rms_error = Math.sqrt(calcSqrErr(vrecs, srecs2, 2)); in processDataSet()
[all …]
/cts/libs/input/src/com/android/cts/input/
DHidDevice.java121 public void sendHidReport(String report) { in sendHidReport() argument
126 json.put("report", new JSONArray(report)); in sendHidReport()
128 throw new RuntimeException("Could not process HID report: " + report); in sendHidReport()
/cts/tests/tests/security/src/android/security/cts/
DHwRngTest.java56 DeviceReportLog report = new DeviceReportLog(REPORT_LOG_NAME, streamName); in testDeviceFilePresent() local
58 report.addValue( in testDeviceFilePresent()
63 report.setSummary( in testDeviceFilePresent()
68 report.submit(getInstrumentation()); in testDeviceFilePresent()
/cts/tests/openglperf2/src/android/opengl2/cts/primitive/
DGLPrimitiveBenchmark.java144 DeviceReportLog report = new DeviceReportLog(REPORT_LOG_NAME, streamName); in runBenchmark() local
145 report.setSummary("average_fps", score, ResultType.HIGHER_BETTER, ResultUnit.SCORE); in runBenchmark()
146 report.submit(getInstrumentation()); in runBenchmark()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Fragments/
DBaseUiFragment.java105 String report = "Couldn't create test report."; in setupButtons()
107 report = mActivity.getTestReport().getContents(); in setupButtons()
109 Log.e(TAG, report); in setupButtons()
111 resultIntent.putExtra(TestActivity.EXTRA_REPORT, report); in setupButtons()
/cts/tests/tests/view/src/android/view/cts/util/
DBitmapDumper.java110 Bundle report = new Bundle(); in dumpBitmap() local
111 report.putString(KEY_PREFIX + TYPE_SINGULAR + testName, bypassContentProvider(capture)); in dumpBitmap()
112 sInstrumentation.sendStatus(INST_STATUS_IN_PROGRESS, report); in dumpBitmap()

12