Home
last modified time | relevance | path

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

12

/frameworks/base/cmds/statsd/tests/e2e/
DWakelockDuration_e2e_test.cpp128 ConfigMetricsReportList reports; in TEST() local
132 EXPECT_TRUE(reports.ParseFromArray(&buffer[0], buffer.size())); in TEST()
133 backfillDimensionPath(&reports); in TEST()
134 backfillStringInReport(&reports); in TEST()
135 backfillStartEndTimestamp(&reports); in TEST()
137 ASSERT_EQ(reports.reports_size(), 1); in TEST()
138 ASSERT_EQ(reports.reports(0).metrics_size(), 1); in TEST()
140 ASSERT_EQ(reports.reports(0).metrics(0).duration_metrics().data_size(), 1); in TEST()
142 auto data = reports.reports(0).metrics(0).duration_metrics().data(0); in TEST()
147 ASSERT_EQ(reports.reports(0).metrics(0).duration_metrics().data(0).bucket_info_size(), 1); in TEST()
[all …]
DMetricConditionLink_e2e_test.cpp198 ConfigMetricsReportList reports; in TEST() local
203 EXPECT_TRUE(reports.ParseFromArray(&buffer[0], buffer.size())); in TEST()
204 backfillDimensionPath(&reports); in TEST()
205 backfillStringInReport(&reports); in TEST()
206 backfillStartEndTimestamp(&reports); in TEST()
207 ASSERT_EQ(reports.reports_size(), 1); in TEST()
208 ASSERT_EQ(reports.reports(0).metrics_size(), 1); in TEST()
209 ASSERT_EQ(reports.reports(0).metrics(0).count_metrics().data_size(), 1); in TEST()
210 ASSERT_EQ(reports.reports(0).metrics(0).count_metrics().data(0).bucket_info_size(), 1); in TEST()
211 EXPECT_EQ(reports.reports(0).metrics(0).count_metrics().data(0).bucket_info(0).count(), 1); in TEST()
[all …]
DDurationMetric_e2e_test.cpp88 ConfigMetricsReportList reports; in TEST() local
93 EXPECT_TRUE(reports.ParseFromArray(&buffer[0], buffer.size())); in TEST()
94 backfillDimensionPath(&reports); in TEST()
95 backfillStartEndTimestamp(&reports); in TEST()
96 ASSERT_EQ(1, reports.reports_size()); in TEST()
97 ASSERT_EQ(1, reports.reports(0).metrics_size()); in TEST()
98 EXPECT_EQ(metricId, reports.reports(0).metrics(0).metric_id()); in TEST()
99 EXPECT_TRUE(reports.reports(0).metrics(0).has_duration_metrics()); in TEST()
102 sortMetricDataByDimensionsValue(reports.reports(0).metrics(0).duration_metrics(), in TEST()
171 ConfigMetricsReportList reports; in TEST() local
[all …]
DGaugeMetric_e2e_pull_test.cpp135 ConfigMetricsReportList reports; in TEST() local
140 EXPECT_TRUE(reports.ParseFromArray(&buffer[0], buffer.size())); in TEST()
141 backfillDimensionPath(&reports); in TEST()
142 backfillStringInReport(&reports); in TEST()
143 backfillStartEndTimestamp(&reports); in TEST()
144 ASSERT_EQ(1, reports.reports_size()); in TEST()
145 ASSERT_EQ(1, reports.reports(0).metrics_size()); in TEST()
147 sortMetricDataByDimensionsValue(reports.reports(0).metrics(0).gauge_metrics(), &gaugeMetrics); in TEST()
253 ConfigMetricsReportList reports; in TEST() local
258 EXPECT_TRUE(reports.ParseFromArray(&buffer[0], buffer.size())); in TEST()
[all …]
DCountMetric_e2e_test.cpp218 ConfigMetricsReportList reports; in TEST() local
222 EXPECT_TRUE(reports.ParseFromArray(&buffer[0], buffer.size())); in TEST()
223 backfillDimensionPath(&reports); in TEST()
224 backfillStringInReport(&reports); in TEST()
225 backfillStartEndTimestamp(&reports); in TEST()
227 ASSERT_EQ(1, reports.reports_size()); in TEST()
228 ASSERT_EQ(1, reports.reports(0).metrics_size()); in TEST()
229 EXPECT_TRUE(reports.reports(0).metrics(0).has_count_metrics()); in TEST()
231 sortMetricDataByDimensionsValue(reports.reports(0).metrics(0).count_metrics(), &countMetrics); in TEST()
401 ConfigMetricsReportList reports; in TEST() local
[all …]
DAttribution_e2e_test.cpp149 ConfigMetricsReportList reports; in TEST() local
154 EXPECT_TRUE(reports.ParseFromArray(&buffer[0], buffer.size())); in TEST()
155 backfillDimensionPath(&reports); in TEST()
156 backfillStringInReport(&reports); in TEST()
157 backfillStartEndTimestamp(&reports); in TEST()
158 ASSERT_EQ(reports.reports_size(), 1); in TEST()
159 ASSERT_EQ(reports.reports(0).metrics_size(), 1); in TEST()
162 sortMetricDataByDimensionsValue(reports.reports(0).metrics(0).count_metrics(), &countMetrics); in TEST()
262 ConfigMetricsReportList reports; in TEST() local
267 EXPECT_TRUE(reports.ParseFromArray(&buffer[0], buffer.size())); in TEST()
[all …]
DValueMetric_pull_e2e_test.cpp265 ConfigMetricsReportList reports; in TEST() local
270 EXPECT_TRUE(reports.ParseFromArray(&buffer[0], buffer.size())); in TEST()
271 backfillDimensionPath(&reports); in TEST()
272 backfillStringInReport(&reports); in TEST()
273 backfillStartEndTimestamp(&reports); in TEST()
274 ASSERT_EQ(1, reports.reports_size()); in TEST()
275 ASSERT_EQ(1, reports.reports(0).metrics_size()); in TEST()
277 sortMetricDataByDimensionsValue(reports.reports(0).metrics(0).value_metrics(), &valueMetrics); in TEST()
373 ConfigMetricsReportList reports; in TEST() local
378 EXPECT_TRUE(reports.ParseFromArray(&buffer[0], buffer.size())); in TEST()
[all …]
DGaugeMetric_e2e_push_test.cpp154 ConfigMetricsReportList reports; in TEST() local
159 EXPECT_TRUE(reports.ParseFromArray(&buffer[0], buffer.size())); in TEST()
160 backfillDimensionPath(&reports); in TEST()
161 backfillStringInReport(&reports); in TEST()
162 backfillStartEndTimestamp(&reports); in TEST()
163 ASSERT_EQ(1, reports.reports_size()); in TEST()
164 ASSERT_EQ(1, reports.reports(0).metrics_size()); in TEST()
166 sortMetricDataByDimensionsValue(reports.reports(0).metrics(0).gauge_metrics(), in TEST()
DMetricActivation_e2e_test.cpp384 ConfigMetricsReportList reports; in TEST() local
389 EXPECT_TRUE(reports.ParseFromArray(&buffer[0], buffer.size())); in TEST()
390 backfillDimensionPath(&reports); in TEST()
391 backfillStartEndTimestamp(&reports); in TEST()
392 ASSERT_EQ(1, reports.reports_size()); in TEST()
393 ASSERT_EQ(1, reports.reports(0).metrics_size()); in TEST()
396 sortMetricDataByDimensionsValue(reports.reports(0).metrics(0).count_metrics(), &countMetrics); in TEST()
691 ConfigMetricsReportList reports; in TEST() local
696 EXPECT_TRUE(reports.ParseFromArray(&buffer[0], buffer.size())); in TEST()
697 backfillDimensionPath(&reports); in TEST()
[all …]
DPartialBucket_e2e_test.cpp52 ConfigMetricsReportList reports; in GetReports() local
53 reports.ParseFromArray(output.data(), output.size()); in GetReports()
54 EXPECT_EQ(1, reports.reports_size()); in GetReports()
55 return reports.reports(kCallingUid); 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.cpp83 std::vector<BenchmarkReporter::Run> reports; in outputBenchmarkReport() local
90 reports.push_back(report); in outputBenchmarkReport()
91 reporter->ReportRuns(reports); in outputBenchmarkReport()
98 reports[0].run_name.function_name = info.name; in outputBenchmarkReport()
99 reports[0].run_name.function_name += ri.suffix; in outputBenchmarkReport()
101 reports[0].real_accumulated_time = durationInS; in outputBenchmarkReport()
102 reports[0].cpu_accumulated_time = durationInS; in outputBenchmarkReport()
103 reports[0].iterations = 1; in outputBenchmarkReport()
104 reports[0].counters["items_per_second"] = 0; in outputBenchmarkReport()
105 reporter->ReportRuns(reports); in outputBenchmarkReport()
/frameworks/base/services/core/java/com/android/server/am/
DInstrumentationReporter.java51 ArrayList<Report> reports; in run() local
53 reports = mPendingReports; in run()
55 if (reports == null || reports.isEmpty()) { in run()
74 for (int i=0; i<reports.size(); i++) { in run()
75 final Report rep = reports.get(i); in run()
/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/incidentd/src/
DWorkDirectory.cpp310 RepeatedPtrField<ReportFileProto_Report>* reports = mEnvelope.mutable_report(); in removeReport() local
311 const int reportCount = reports->size(); in removeReport()
313 const ReportFileProto_Report& r = reports->Get(i); in removeReport()
315 reports->DeleteSubrange(i, 1); in removeReport()
322 RepeatedPtrField<ReportFileProto_Report>* reports = mEnvelope.mutable_report(); in removeReports() local
323 const int reportCount = reports->size(); in removeReports()
325 const ReportFileProto_Report& r = reports->Get(i); in removeReports()
327 reports->DeleteSubrange(i, 1); in removeReports()
Dreport_file.proto82 * Report data structures for the incident reports.
/frameworks/rs/tests/lldb/
D.gitignore40 # Unit test / coverage reports
/frameworks/base/cmds/statsd/tests/
DStatsLogProcessor_test.cpp187 auto uidmap = output.reports(0).uid_map(); in TEST()
218 EXPECT_FALSE(output.reports(0).has_uid_map()); in TEST()
249 auto report = output.reports(0); in TEST()
284 ASSERT_EQ(output.reports(0).metrics_size(), 1); in TEST()
285 ASSERT_EQ(output.reports(0).metrics(0).count_metrics().data_size(), 1); in TEST()
291 ASSERT_EQ(output.reports(0).metrics_size(), 1); in TEST()
292 ASSERT_EQ(output.reports(0).metrics(0).count_metrics().data_size(), 1); in TEST()
298 bool noData = output.reports_size() == 0 || output.reports(0).metrics_size() == 0 || in TEST()
299 output.reports(0).metrics(0).count_metrics().data_size() == 0; in TEST()
1855 EXPECT_EQ(output.reports(0).current_report_elapsed_nanos(), dumpTime1Ns); in TEST()
[all …]
/frameworks/base/cmds/statsd/tools/localtools/src/com/android/statsd/shelltools/testdrive/
DTestDrive.java95 final ConfigMetricsReportList reports = testDrive.testDriveAndGetReports( in main() local
98 if (reports != null) { in main()
99 configuration.dumpMetrics(reports, testDrive.mDumper); in main()
/frameworks/wilhelm/tools/hashgen/
DREADME.txt24 version 4.2.2. There are reports of problems on Mac OS X.
/frameworks/base/cmds/hid/src/com/android/commands/hid/
DEvent.java152 public void setFeatureReports(SparseArray<byte[]> reports) { in setFeatureReports() argument
153 mEvent.mFeatureReports = reports; in setFeatureReports()
/frameworks/base/proto/src/
Dgnss.proto13 // Number of location reports processed
/frameworks/base/packages/SystemUI/
DREADME.md43 of sysui (and bug reports), allowing it to include current state information.
44 This is how \*Controllers dump state to bug reports.
/frameworks/base/packages/SystemUI/docs/
Dphysics-animation-testing.md7 …nitially known. A FlingAnimation’s ‘end’ is when the friction simulation reports that motion has s…
/frameworks/base/tests/ActivityManagerPerfTests/
DREADME.txt22 * Instrumentation test which runs the various performance tests and reports the results

12