Home
last modified time | relevance | path

Searched refs:reports (Results 1 – 25 of 44) sorted by relevance

12

/frameworks/base/cmds/statsd/tests/e2e/
DWakelockDuration_e2e_test.cpp129 ConfigMetricsReportList reports; in TEST() local
133 EXPECT_TRUE(reports.ParseFromArray(&buffer[0], buffer.size())); in TEST()
134 backfillDimensionPath(&reports); in TEST()
135 backfillStringInReport(&reports); in TEST()
136 backfillStartEndTimestamp(&reports); in TEST()
138 EXPECT_EQ(reports.reports_size(), 1); in TEST()
139 EXPECT_EQ(reports.reports(0).metrics_size(), 1); in TEST()
141 EXPECT_EQ(reports.reports(0).metrics(0).duration_metrics().data_size(), 1); in TEST()
143 auto data = reports.reports(0).metrics(0).duration_metrics().data(0); in TEST()
148 EXPECT_EQ(reports.reports(0).metrics(0).duration_metrics().data(0).bucket_info_size(), 1); in TEST()
[all …]
DMetricConditionLink_e2e_test.cpp201 ConfigMetricsReportList reports; in TEST() local
206 EXPECT_TRUE(reports.ParseFromArray(&buffer[0], buffer.size())); in TEST()
207 backfillDimensionPath(&reports); in TEST()
208 backfillStringInReport(&reports); in TEST()
209 backfillStartEndTimestamp(&reports); in TEST()
210 EXPECT_EQ(reports.reports_size(), 1); in TEST()
211 EXPECT_EQ(reports.reports(0).metrics_size(), 1); in TEST()
212 EXPECT_EQ(reports.reports(0).metrics(0).count_metrics().data_size(), 1); in TEST()
213 EXPECT_EQ(reports.reports(0).metrics(0).count_metrics().data(0).bucket_info_size(), 1); in TEST()
214 EXPECT_EQ(reports.reports(0).metrics(0).count_metrics().data(0).bucket_info(0).count(), 1); in TEST()
[all …]
DValueMetric_pull_e2e_test.cpp119 ConfigMetricsReportList reports; in TEST() local
124 EXPECT_TRUE(reports.ParseFromArray(&buffer[0], buffer.size())); in TEST()
125 backfillDimensionPath(&reports); in TEST()
126 backfillStringInReport(&reports); in TEST()
127 backfillStartEndTimestamp(&reports); in TEST()
128 EXPECT_EQ(1, reports.reports_size()); in TEST()
129 EXPECT_EQ(1, reports.reports(0).metrics_size()); in TEST()
132 reports.reports(0).metrics(0).value_metrics(), &valueMetrics); in TEST()
227 ConfigMetricsReportList reports; in TEST() local
232 EXPECT_TRUE(reports.ParseFromArray(&buffer[0], buffer.size())); in TEST()
[all …]
DGaugeMetric_e2e_pull_test.cpp124 ConfigMetricsReportList reports; in TEST() local
129 EXPECT_TRUE(reports.ParseFromArray(&buffer[0], buffer.size())); in TEST()
130 backfillDimensionPath(&reports); in TEST()
131 backfillStringInReport(&reports); in TEST()
132 backfillStartEndTimestamp(&reports); in TEST()
133 EXPECT_EQ(1, reports.reports_size()); in TEST()
134 EXPECT_EQ(1, reports.reports(0).metrics_size()); in TEST()
137 reports.reports(0).metrics(0).gauge_metrics(), &gaugeMetrics); in TEST()
247 ConfigMetricsReportList reports; in TEST() local
252 EXPECT_TRUE(reports.ParseFromArray(&buffer[0], buffer.size())); in TEST()
[all …]
DAttribution_e2e_test.cpp145 ConfigMetricsReportList reports; in TEST() local
150 EXPECT_TRUE(reports.ParseFromArray(&buffer[0], buffer.size())); in TEST()
151 backfillDimensionPath(&reports); in TEST()
152 backfillStringInReport(&reports); in TEST()
153 backfillStartEndTimestamp(&reports); in TEST()
154 EXPECT_EQ(reports.reports_size(), 1); in TEST()
155 EXPECT_EQ(reports.reports(0).metrics_size(), 1); in TEST()
158 sortMetricDataByDimensionsValue(reports.reports(0).metrics(0).count_metrics(), &countMetrics); in TEST()
291 ConfigMetricsReportList reports; in TEST() local
296 EXPECT_TRUE(reports.ParseFromArray(&buffer[0], buffer.size())); in TEST()
[all …]
DDimensionInCondition_e2e_combination_OR_cond_test.cpp131 ConfigMetricsReportList reports; in TEST() local
136 EXPECT_TRUE(reports.ParseFromArray(&buffer[0], buffer.size())); in TEST()
137 backfillDimensionPath(&reports); in TEST()
138 backfillStringInReport(&reports); in TEST()
139 backfillStartEndTimestamp(&reports); in TEST()
141 EXPECT_EQ(reports.reports_size(), 1); in TEST()
142 EXPECT_EQ(reports.reports(0).metrics_size(), 1); in TEST()
144 sortMetricDataByDimensionsValue(reports.reports(0).metrics(0).count_metrics(), &countMetrics); in TEST()
347 ConfigMetricsReportList reports; in TEST() local
352 EXPECT_TRUE(reports.ParseFromArray(&buffer[0], buffer.size())); in TEST()
[all …]
DDimensionInCondition_e2e_simple_cond_test.cpp143 ConfigMetricsReportList reports; in TEST() local
148 EXPECT_TRUE(reports.ParseFromArray(&buffer[0], buffer.size())); in TEST()
149 backfillDimensionPath(&reports); in TEST()
150 backfillStringInReport(&reports); in TEST()
151 backfillStartEndTimestamp(&reports); in TEST()
153 EXPECT_EQ(reports.reports_size(), 1); in TEST()
154 EXPECT_EQ(reports.reports(0).metrics_size(), 1); in TEST()
157 reports.reports(0).metrics(0).duration_metrics(), &metrics); in TEST()
438 ConfigMetricsReportList reports; in TEST() local
443 EXPECT_TRUE(reports.ParseFromArray(&buffer[0], buffer.size())); in TEST()
[all …]
DDimensionInCondition_e2e_combination_AND_cond_test.cpp184 ConfigMetricsReportList reports; in TEST() local
189 EXPECT_TRUE(reports.ParseFromArray(&buffer[0], buffer.size())); in TEST()
190 backfillDimensionPath(&reports); in TEST()
191 backfillStringInReport(&reports); in TEST()
192 backfillStartEndTimestamp(&reports); in TEST()
194 EXPECT_EQ(reports.reports_size(), 1); in TEST()
195 EXPECT_EQ(reports.reports(0).metrics_size(), 1); in TEST()
198 reports.reports(0).metrics(0).duration_metrics(), &metrics); in TEST()
520 ConfigMetricsReportList reports; in TEST() local
525 EXPECT_TRUE(reports.ParseFromArray(&buffer[0], buffer.size())); in TEST()
[all …]
DGaugeMetric_e2e_push_test.cpp150 ConfigMetricsReportList reports; in TEST() local
155 EXPECT_TRUE(reports.ParseFromArray(&buffer[0], buffer.size())); in TEST()
156 backfillDimensionPath(&reports); in TEST()
157 backfillStringInReport(&reports); in TEST()
158 backfillStartEndTimestamp(&reports); in TEST()
159 EXPECT_EQ(1, reports.reports_size()); in TEST()
160 EXPECT_EQ(1, reports.reports(0).metrics_size()); in TEST()
163 reports.reports(0).metrics(0).gauge_metrics(), &gaugeMetrics); in TEST()
DPartialBucket_e2e_test.cpp50 ConfigMetricsReportList reports; in GetReports() local
51 reports.ParseFromArray(output.data(), output.size()); in GetReports()
52 EXPECT_EQ(1, reports.reports_size()); in GetReports()
53 return reports.reports(0); in GetReports()
/frameworks/opt/setupwizard/tools/gradle/
Ddist-unit-tests.gradle8 * failures, and will create a zip of the XML test reports for each test run, and copy them to
9 * dist/host-test-reports for consumption by TradeFed.
15 // If unit tests are run as part of the build, dist the test XML reports to host-test-reports/*.zip
24 def junitReport = task.reports.junitXml
26 // Create a zip file of the XML test reports
34 // Copy the test reports to dist/host-test-reports
37 dist.file zipTask.archivePath.path, "host-test-reports/${zipTask.archiveName}"
59 description = "Generate Jacoco coverage reports"
84 reports {
91 // Create a zip file of the HTML coverage reports
[all …]
/frameworks/base/libs/hwui/tests/macrobench/
DTestSceneRunner.cpp82 std::vector<BenchmarkReporter::Run> reports; in outputBenchmarkReport() local
89 reports.push_back(report); in outputBenchmarkReport()
90 reporter->ReportRuns(reports); in outputBenchmarkReport()
97 reports[0].benchmark_name = info.name; in outputBenchmarkReport()
98 reports[0].benchmark_name += ri.suffix; in outputBenchmarkReport()
100 reports[0].real_accumulated_time = durationInS; in outputBenchmarkReport()
101 reports[0].cpu_accumulated_time = durationInS; in outputBenchmarkReport()
102 reports[0].iterations = 1; in outputBenchmarkReport()
103 reports[0].items_per_second = 0; in outputBenchmarkReport()
104 reporter->ReportRuns(reports); in outputBenchmarkReport()
/frameworks/base/services/core/java/com/android/server/am/
DInstrumentationReporter.java50 ArrayList<Report> reports; in run() local
52 reports = mPendingReports; in run()
54 if (reports == null || reports.isEmpty()) { in run()
73 for (int i=0; i<reports.size(); i++) { in run()
74 final Report rep = reports.get(i); in run()
/frameworks/support/
D.gitignore26 /reports
27 /app-toolkit/reports
/frameworks/base/cmds/statsd/tools/dogfood/src/com/android/statsd/dogfood/
DDisplayProtoUtils.java25 … public static void displayLogReport(StringBuilder sb, StatsLog.ConfigMetricsReportList reports) { in displayLogReport() argument
27 if (reports.hasConfigKey()) { in displayLogReport()
28 com.android.os.StatsLog.ConfigMetricsReportList.ConfigKey key = reports.getConfigKey(); in displayLogReport()
33 for (StatsLog.ConfigMetricsReport report : reports.getReportsList()) { in displayLogReport()
DMainActivity.java292 com.android.os.StatsLog.ConfigMetricsReportList reports = null; in displayData() local
296 reports = com.android.os.StatsLog.ConfigMetricsReportList.parseFrom(data); in displayData()
307 if (good && reports != null) { in displayData()
308 displayLogReport(sb, reports); in displayData()
/frameworks/base/cmds/statsd/tools/loadtest/src/com/android/statsd/loadtest/
DDisplayProtoUtils.java27 … public static void displayLogReport(StringBuilder sb, StatsLog.ConfigMetricsReportList reports) { in displayLogReport() argument
29 if (reports.hasConfigKey()) { in displayLogReport()
31 com.android.os.StatsLog.ConfigMetricsReportList.ConfigKey key = reports.getConfigKey(); in displayLogReport()
37 for (StatsLog.ConfigMetricsReport report : reports.getReportsList()) { in displayLogReport()
DLoadtestActivity.java392 ConfigMetricsReportList reports = null; in getData() local
394 reports = ConfigMetricsReportList.parseFrom(data); in getData()
395 Log.d(TAG, "Num reports: " + reports.getReportsCount()); in getData()
397 DisplayProtoUtils.displayLogReport(sb, reports); in getData()
402 if (reports != null) { in getData()
403 return reports.getReportsList(); in getData()
/frameworks/compile/mclinker/include/mcld/LD/
DDiagSymbolResolutions.inc11 "Fails to resolve symbols [%0:%1]\nPlease reports to `%2'",
12 "Fails to resolve symbols [%0:%1]\nPlease reports to `%2'")
/frameworks/base/cmds/statsd/tests/
DStatsLogProcessor_test.cpp163 auto uidmap = output.reports(0).uid_map(); in TEST()
188 EXPECT_FALSE(output.reports(0).has_uid_map()); in TEST()
214 auto report = output.reports(0); in TEST()
/frameworks/rs/tests/lldb/
D.gitignore40 # Unit test / coverage reports
/frameworks/wilhelm/tools/hashgen/
DREADME.txt24 version 4.2.2. There are reports of problems on Mac OS X.
/frameworks/base/proto/src/
Dgnss.proto13 // Number of location reports processed
/frameworks/support/buildSrc/
Dinit.gradle157 ext.testResultsDistDir = new File(distDir, "host-test-reports")
233 // since enabling coverage reports breaks the method parameter resolution in the IDE
311 def junitReport = task.reports.junitXml
/frameworks/base/services/core/java/com/android/server/content/
DSyncStorageEngine.java622 ArrayList<ISyncStatusObserver> reports = null; in reportChange() local
631 if (reports == null) { in reportChange()
632 reports = new ArrayList<ISyncStatusObserver>(i); in reportChange()
634 reports.add(mChangeListeners.getBroadcastItem(i)); in reportChange()
640 Slog.v(TAG, "reportChange " + which + " to: " + reports); in reportChange()
643 if (reports != null) { in reportChange()
644 int i = reports.size(); in reportChange()
648 reports.get(i).onStatusChanged(which); in reportChange()

12