/cts/build/ |
D | Android.mk | 36 cts-test-coverage-report := $(coverage_out)/test-coverage.html 37 cts-system-api-coverage-report := $(coverage_out)/system-api-coverage.html 38 cts-system-api-xml-coverage-report := $(coverage_out)/system-api-coverage.xml 39 cts-verifier-coverage-report := $(coverage_out)/verifier-coverage.html 40 cts-combined-coverage-report := $(coverage_out)/combined-coverage.html 41 cts-combined-xml-coverage-report := $(coverage_out)/combined-coverage.xml 49 $(cts-test-coverage-report): PRIVATE_TEST_CASES := $(COMPATIBILITY_TESTCASES_OUT_cts) 50 $(cts-test-coverage-report): PRIVATE_CTS_API_COVERAGE_EXE := $(cts_api_coverage_exe) 51 $(cts-test-coverage-report): PRIVATE_DEXDEPS_EXE := $(dexdeps_exe) 52 $(cts-test-coverage-report): PRIVATE_API_XML_DESC := $(api_xml_description) [all …]
|
/cts/tools/vm-tests-tf/etc/ |
D | starthosttests | 62 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 …]
|
D | starttests | 64 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/ |
D | PackageInstallerV2StatsTests.java | 55 final AtomsProto.PackageInstallerV2Reported report = installPackageUsingV2AndGetReport( in testPackageInstallerV2MetricsReported() local 57 assertTrue(report.getIsIncremental()); in testPackageInstallerV2MetricsReported() 59 assertEquals("", report.getPackageName()); in testPackageInstallerV2MetricsReported() 60 assertEquals(1, report.getReturnCode()); in testPackageInstallerV2MetricsReported() 61 assertTrue(report.getDurationMillis() > 0); in testPackageInstallerV2MetricsReported() 62 assertEquals(getTestFileSize(TEST_INSTALL_APK), report.getApksSizeBytes()); in testPackageInstallerV2MetricsReported() 63 assertTrue(report.getUid() != 0); in testPackageInstallerV2MetricsReported() 64 assertEquals(getAppUid(TEST_INSTALL_PACKAGE), report.getUid()); in testPackageInstallerV2MetricsReported() 71 final AtomsProto.PackageInstallerV2Reported report = installPackageUsingV2AndGetReport( in testPackageInstallerV2MetricsReportedForSplits() local 73 assertTrue(report.getIsIncremental()); in testPackageInstallerV2MetricsReportedForSplits() [all …]
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | BluetoothCallQualityReportTest.java | 33 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/uwb/src/android/uwb/cts/ |
D | RangingReportTest.java | 47 RangingReport report = tryBuild(builder, true); in testBuilder() local 48 verifyMeasurementsEqual(measurements, report.getMeasurements()); in testBuilder() 55 report = tryBuild(builder, true); in testBuilder() 56 verifyMeasurementsEqual(measurements, report.getMeasurements()); in testBuilder() 69 RangingReport report = null; in tryBuild() local 71 report = builder.build(); in tryBuild() 80 return report; in tryBuild() 86 RangingReport report = UwbTestUtils.getRangingReports(5); in testParcel() local 87 report.writeToParcel(parcel, 0); in testParcel() 90 assertEquals(report, fromParcel); in testParcel()
|
/cts/tests/simplecpu/src/android/simplecpu/cts/ |
D | SimpleCpuTest.java | 103 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() 110 … report.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/ |
D | GlitchAnalyzer.h | 84 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 …]
|
D | LatencyAnalyzer.h | 198 LatencyReport *report) { in measureLatencyFromPulse() argument 200 report->latencyInFrames = 0; in measureLatencyFromPulse() 201 report->confidence = 0.0; in measureLatencyFromPulse() 233 report->latencyInFrames = peakIndex; in measureLatencyFromPulse() 234 report->confidence = peakCorrelation; in measureLatencyFromPulse() 430 std::stringstream report; in analyze() local 431 report << "PulseLatencyAnalyzer ---------------\n"; in analyze() 432 report << LOOPBACK_RESULT_TAG "test.state = " in analyze() 434 report << LOOPBACK_RESULT_TAG "test.state.name = " in analyze() 436 report << LOOPBACK_RESULT_TAG "background.rms = " in analyze() [all …]
|
/cts/tests/filesystem/src/android/filesystem/cts/ |
D | SequentialRWTest.java | 84 DeviceReportLog report = new DeviceReportLog(REPORT_LOG_NAME, streamName); in testSingleSequentialWrite() local 85 report.addValue("files", numberOfFiles, ResultType.NEUTRAL, ResultUnit.COUNT); in testSingleSequentialWrite() 99 report.addValues("write_throughput", mbps, ResultType.HIGHER_BETTER, ResultUnit.MBPS); in testSingleSequentialWrite() 100 report.addValues("write_amount", wrAmount, ResultType.NEUTRAL, ResultUnit.BYTE); in testSingleSequentialWrite() 102 report.setSummary("write_throughput_average", stat.mAverage, ResultType.HIGHER_BETTER, in testSingleSequentialWrite() 105 report.submit(getInstrumentation()); in testSingleSequentialWrite() 139 DeviceReportLog report = new DeviceReportLog(REPORT_LOG_NAME, streamName); in testSingleSequentialRead() local 140 report.addValue("file_size", fileSize, ResultType.NEUTRAL, ResultUnit.NONE); in testSingleSequentialRead() 141 report.addValue("write_throughput", in testSingleSequentialRead() 162 report.addValues("read_throughput", mbps, ResultType.HIGHER_BETTER, ResultUnit.MBPS); in testSingleSequentialRead() [all …]
|
D | RandomRWTest.java | 70 DeviceReportLog report = new DeviceReportLog(REPORT_LOG_NAME, streamName); in testRandomRead() local 71 double mbps = FileUtil.doRandomReadTest(getContext(), DIR_RANDOM_RD, report, fileSize, in testRandomRead() 73 report.submit(getInstrumentation()); in testRandomRead() 92 DeviceReportLog report = new DeviceReportLog(REPORT_LOG_NAME, streamName); in testRandomUpdate() local 96 mbps = FileUtil.doRandomWriteTest(getContext(), DIR_RANDOM_WR, report, fileSize, in testRandomUpdate() 99 report.submit(getInstrumentation()); in testRandomUpdate()
|
D | FileUtil.java | 273 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 …]
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/util/ |
D | BitmapDumper.java | 128 Bundle report = new Bundle(); in dumpBitmaps() local 129 report.putString(KEY_PREFIX + TYPE_IDEAL_RENDERING, bypassContentProvider(idealFile)); in dumpBitmaps() 130 report.putString(KEY_PREFIX + TYPE_TESTED_RENDERING, bypassContentProvider(testedFile)); in dumpBitmaps() 131 report.putString(KEY_PREFIX + TYPE_VISUALIZER_RENDERING, in dumpBitmaps() 133 sInstrumentation.sendStatus(INST_STATUS_IN_PROGRESS, report); in dumpBitmaps() 144 Bundle report = new Bundle(); in dumpBitmaps() local 145 report.putString(KEY_PREFIX + TYPE_TESTED_RENDERING, bypassContentProvider(testedFile)); in dumpBitmaps() 146 report.putString(KEY_PREFIX + TYPE_VISUALIZER_RENDERING, in dumpBitmaps() 148 sInstrumentation.sendStatus(INST_STATUS_IN_PROGRESS, report); in dumpBitmaps() 158 Bundle report = new Bundle(); in dumpBitmap() local [all …]
|
/cts/tests/openglperf2/src/android/opengl2/cts/reference/ |
D | GLReferenceBenchmark.java | 68 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/tvprovider/src/android/tvprovider/cts/ |
D | TvProviderPerfTest.java | 116 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/suite/audio_quality/lib/src/ |
D | Report.cpp | 58 android::String8 report; in init() local 59 if (report.appendFormat("%s/report.xml", dirName) != 0) { in init() 62 Settings::Instance()->addSetting(Settings::EREPORT_FILE, report); in init() 63 return FileUtil::init(report.string()); in init()
|
/cts/hostsidetests/ui/control/src/android/taskswitching/control/cts/ |
D | TaskSwitchingDeviceTest.java | 68 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/ |
D | ReportUtils.java | 65 ConfigMetricsReport report = reportList.getReports(0); in getEventMetricDataList() local 68 for (StatsLogReport metric : report.getMetricsList()) { in getEventMetricDataList() 119 ConfigMetricsReport report = reportList.getReports(0); in getGaugeMetricAtoms() local 120 assertThat(report.getMetricsCount()).isEqualTo(1); in getGaugeMetricAtoms() 121 CLog.d("Got the following report: " + report.getMetrics(0).getGaugeMetrics().toString()); in getGaugeMetricAtoms() 123 for (GaugeMetricData d : report.getMetrics(0).getGaugeMetrics().getDataList()) { in getGaugeMetricAtoms()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/performance/ |
D | CameraTestInstrumentation.java | 76 ReportLog report; in sendStatus() local 78 report = ReportLog.parse(results.getString(key)); in sendStatus() 84 Metric metric = report.getSummary(); in sendStatus()
|
/cts/hostsidetests/ui/src/android/ui/cts/ |
D | InstallTimeTest.java | 89 MetricsReportLog report = new MetricsReportLog(mBuild, mAbi.getName(), in testInstallTime() local 108 report.addValues("install_time", result, ResultType.LOWER_BETTER, ResultUnit.MS); in testInstallTime() 113 report.setSummary("install_time_average", stat.mAverage, ResultType.LOWER_BETTER, in testInstallTime() 115 report.submit(); in testInstallTime()
|
/cts/libs/input/src/com/android/cts/input/ |
D | HidDevice.java | 120 public void sendHidReport(String report) { in sendHidReport() argument 125 json.put("report", new JSONArray(report)); in sendHidReport() 127 throw new RuntimeException("Could not process HID report: " + report); in sendHidReport()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | RVCVXCheckAnalyzer.java | 185 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/tests/tests/security/src/android/security/cts/ |
D | HwRngTest.java | 56 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/ |
D | GLPrimitiveBenchmark.java | 144 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/ |
D | BaseUiFragment.java | 105 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()
|