/aosp_15_r20/packages/modules/StatsD/statsd/tests/e2e/ |
D | WakelockDuration_e2e_test.cpp | 127 ConfigMetricsReportList reports; in TEST() local 131 EXPECT_TRUE(reports.ParseFromArray(&buffer[0], buffer.size())); in TEST() 132 backfillDimensionPath(&reports); in TEST() 133 backfillStringInReport(&reports); in TEST() 134 backfillStartEndTimestamp(&reports); in TEST() 136 ASSERT_EQ(reports.reports_size(), 1); in TEST() 137 ASSERT_EQ(reports.reports(0).metrics_size(), 1); in TEST() 139 ASSERT_EQ(reports.reports(0).metrics(0).duration_metrics().data_size(), 1); in TEST() 141 auto data = reports.reports(0).metrics(0).duration_metrics().data(0); in TEST() 146 ASSERT_EQ(reports.reports(0).metrics(0).duration_metrics().data(0).bucket_info_size(), 1); in TEST() [all …]
|
D | ConfigUpdate_e2e_ab_test.cpp | 88 ConfigMetricsReportList reports; in TEST_P() local 91 EXPECT_TRUE(reports.ParseFromArray(&buffer[0], buffer.size())); in TEST_P() 93 ASSERT_EQ(reports.reports_size(), 2); in TEST_P() 94 UidMapping uidMapping = reports.reports(1).uid_map(); in TEST_P() 129 ConfigMetricsReportList reports; in TEST_P() local 132 EXPECT_TRUE(reports.ParseFromArray(&buffer[0], buffer.size())); in TEST_P() 134 ASSERT_EQ(reports.reports_size(), 2); in TEST_P() 135 UidMapping uidMapping = reports.reports(1).uid_map(); in TEST_P() 159 ConfigMetricsReportList reports; in TEST_P() local 162 EXPECT_TRUE(reports.ParseFromArray(&buffer[0], buffer.size())); in TEST_P() [all …]
|
D | StringReplace_e2e_test.cpp | 112 ConfigMetricsReportList reports; in TEST() local 116 EXPECT_TRUE(reports.ParseFromArray(&buffer[0], buffer.size())); in TEST() 117 backfillDimensionPath(&reports); in TEST() 118 backfillStringInReport(&reports); in TEST() 119 backfillStartEndTimestamp(&reports); in TEST() 121 ASSERT_EQ(1, reports.reports_size()); in TEST() 122 ASSERT_EQ(1, reports.reports(0).metrics_size()); in TEST() 123 EXPECT_TRUE(reports.reports(0).metrics(0).has_count_metrics()); in TEST() 125 sortMetricDataByDimensionsValue(reports.reports(0).metrics(0).count_metrics(), &countMetrics); in TEST() 209 ConfigMetricsReportList reports; in TEST() local [all …]
|
D | CountMetric_e2e_test.cpp | 243 ConfigMetricsReportList reports; in TEST() local 247 EXPECT_TRUE(reports.ParseFromArray(&buffer[0], buffer.size())); in TEST() 248 backfillDimensionPath(&reports); in TEST() 249 backfillStringInReport(&reports); in TEST() 250 backfillStartEndTimestamp(&reports); in TEST() 252 ASSERT_EQ(1, reports.reports_size()); in TEST() 253 ASSERT_EQ(1, reports.reports(0).metrics_size()); in TEST() 254 EXPECT_TRUE(reports.reports(0).metrics(0).has_estimated_data_bytes()); in TEST() 255 EXPECT_TRUE(reports.reports(0).metrics(0).has_count_metrics()); in TEST() 257 sortMetricDataByDimensionsValue(reports.reports(0).metrics(0).count_metrics(), &countMetrics); in TEST() [all …]
|
D | ValueMetric_histogram_e2e_test.cpp | 55 ConfigMetricsReportList reports; in getReports() local 59 if (reports.ParseFromArray(&buffer[0], buffer.size())) { in getReports() 60 backfillDimensionPath(&reports); in getReports() 61 backfillStringInReport(&reports); in getReports() 62 backfillStartEndTimestamp(&reports); in getReports() 63 return reports; in getReports() 78 void validateHistogram(const ConfigMetricsReportList& reports, int valueIndex, in validateHistogram() argument 80 ASSERT_EQ(reports.reports_size(), 1); in validateHistogram() 81 ConfigMetricsReport report = reports.reports(0); in validateHistogram() 111 optional<ConfigMetricsReportList> reports = getReports(); in TEST_F() local [all …]
|
D | DurationMetric_e2e_test.cpp | 87 ConfigMetricsReportList reports; in TEST() local 92 EXPECT_TRUE(reports.ParseFromArray(&buffer[0], buffer.size())); in TEST() 93 backfillDimensionPath(&reports); in TEST() 94 backfillStartEndTimestamp(&reports); in TEST() 95 ASSERT_EQ(1, reports.reports_size()); in TEST() 96 ASSERT_EQ(1, reports.reports(0).metrics_size()); in TEST() 97 EXPECT_TRUE(reports.reports(0).metrics(0).has_estimated_data_bytes()); 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() [all …]
|
D | GaugeMetric_e2e_pull_test.cpp | 136 ConfigMetricsReportList reports; in TEST() local 141 EXPECT_TRUE(reports.ParseFromArray(&buffer[0], buffer.size())); in TEST() 142 backfillDimensionPath(&reports); in TEST() 143 backfillStringInReport(&reports); in TEST() 144 backfillStartEndTimestamp(&reports); in TEST() 145 backfillAggregatedAtoms(&reports); in TEST() 146 ASSERT_EQ(1, reports.reports_size()); in TEST() 147 ASSERT_EQ(1, reports.reports(0).metrics_size()); in TEST() 148 EXPECT_TRUE(reports.reports(0).metrics(0).has_estimated_data_bytes()); in TEST() 150 sortMetricDataByDimensionsValue(reports.reports(0).metrics(0).gauge_metrics(), &gaugeMetrics); in TEST() [all …]
|
D | GaugeMetric_e2e_push_test.cpp | 189 ConfigMetricsReportList reports; in TEST_F() local 194 EXPECT_TRUE(reports.ParseFromArray(&buffer[0], buffer.size())); in TEST_F() 195 backfillDimensionPath(&reports); in TEST_F() 196 backfillStringInReport(&reports); in TEST_F() 197 backfillStartEndTimestamp(&reports); in TEST_F() 198 backfillAggregatedAtoms(&reports); in TEST_F() 199 ASSERT_EQ(1, reports.reports_size()); in TEST_F() 200 ASSERT_EQ(1, reports.reports(0).metrics_size()); in TEST_F() 201 EXPECT_TRUE(reports.reports(0).metrics(0).has_estimated_data_bytes()); in TEST_F() 203 sortMetricDataByDimensionsValue(reports.reports(0).metrics(0).gauge_metrics(), in TEST_F() [all …]
|
D | EventMetric_e2e_test.cpp | 81 ConfigMetricsReportList reports; in TEST_F() local 84 EXPECT_TRUE(reports.ParseFromArray(&buffer[0], buffer.size())); in TEST_F() 85 backfillStringInReport(&reports); in TEST_F() 86 backfillStartEndTimestamp(&reports); in TEST_F() 87 backfillAggregatedAtoms(&reports); in TEST_F() 88 ASSERT_EQ(reports.reports_size(), 1); in TEST_F() 90 ConfigMetricsReport report = reports.reports(0); in TEST_F() 153 ConfigMetricsReportList reports; in TEST_F_GUARDED() local 156 EXPECT_TRUE(reports.ParseFromArray(&buffer[0], buffer.size())); in TEST_F_GUARDED() 157 backfillStringInReport(&reports); in TEST_F_GUARDED() [all …]
|
D | ValueMetric_pull_e2e_test.cpp | 265 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 EXPECT_TRUE(reports.reports(0).metrics(0).has_estimated_data_bytes()); in TEST() 278 sortMetricDataByDimensionsValue(reports.reports(0).metrics(0).value_metrics(), &valueMetrics); in TEST() 306 valueMetrics = reports.reports(0).metrics(0).value_metrics(); in TEST() [all …]
|
D | MetricConditionLink_e2e_test.cpp | 197 ConfigMetricsReportList reports; in TEST() local 202 EXPECT_TRUE(reports.ParseFromArray(&buffer[0], buffer.size())); in TEST() 203 backfillDimensionPath(&reports); in TEST() 204 backfillStringInReport(&reports); in TEST() 205 backfillStartEndTimestamp(&reports); in TEST() 206 ASSERT_EQ(reports.reports_size(), 1); in TEST() 207 ASSERT_EQ(reports.reports(0).metrics_size(), 1); in TEST() 208 ASSERT_EQ(reports.reports(0).metrics(0).count_metrics().data_size(), 1); in TEST() 209 ASSERT_EQ(reports.reports(0).metrics(0).count_metrics().data(0).bucket_info_size(), 1); in TEST() 210 EXPECT_EQ(reports.reports(0).metrics(0).count_metrics().data(0).bucket_info(0).count(), 1); in TEST() [all …]
|
/aosp_15_r20/external/webrtc/pc/ |
H A D | legacy_stats_collector_unittest.cc | 170 const StatsReports& reports, in ExtractStatsValue() argument 172 for (const auto* r : reports) { in ExtractStatsValue() 205 // Finds the `n`-th report of type `type` in `reports`. 207 const StatsReport* FindNthReportByType(const StatsReports& reports, in FindNthReportByType() argument 210 for (size_t i = 0; i < reports.size(); ++i) { in FindNthReportByType() 211 if (reports[i]->type() == type) { in FindNthReportByType() 214 return reports[i]; in FindNthReportByType() 221 // type `type` in `reports`. 226 const StatsReports& reports, in GetValueInNthReportByType() argument 230 const StatsReport* report = FindNthReportByType(reports, type, n); in GetValueInNthReportByType() [all …]
|
/aosp_15_r20/external/cronet/net/network_error_logging/ |
H A D | network_error_logging_service_unittest.cc | 115 const std::vector<TestReportingService::Report>& reports() { in reports() function in net::__anon9cd2c99b0111::NetworkErrorLoggingServiceTest 116 return reporting_service_->reports(); in reports() 121 // when called separately, so they can be used to ensure that reports are 255 EXPECT_TRUE(reports().empty()); in TEST_P() 267 EXPECT_TRUE(reports().empty()); in TEST_P() 272 EXPECT_TRUE(reports().empty()); in TEST_P() 277 EXPECT_TRUE(reports().empty()); in TEST_P() 282 EXPECT_EQ(1u, reports().size()); in TEST_P() 283 EXPECT_EQ(kUrl_, reports()[0].url); in TEST_P() 284 EXPECT_EQ(kNak_, reports()[0].network_anonymization_key); in TEST_P() [all …]
|
/aosp_15_r20/external/cronet/net/reporting/ |
H A D | reporting_delivery_agent_unittest.cc | 72 // started for all subsequent reports (which may then be batched). To test 73 // behavior involving batching multiple reports, we need to add, upload, and 177 // Successful upload should remove delivered reports. in TEST_F() 178 std::vector<raw_ptr<const ReportingReport, VectorExperimental>> reports; in TEST_F() local 179 cache()->GetReports(&reports); in TEST_F() 180 EXPECT_TRUE(reports.empty()); in TEST_F() 253 // Successful upload should remove delivered reports. in TEST_F() 254 std::vector<raw_ptr<const ReportingReport, VectorExperimental>> reports; in TEST_F() local 255 cache()->GetReports(&reports); in TEST_F() 256 EXPECT_TRUE(reports.empty()); in TEST_F() [all …]
|
H A D | reporting_delivery_agent.cc | 50 std::string SerializeReports(const ReportList& reports, base::TimeTicks now) { in SerializeReports() argument 53 for (const ReportingReport* report : reports) { in SerializeReports() 80 // The target of a delivery. All reports uploaded together must share the 84 // (if the endpoint is configured to include subdomains). Reports with 91 // may have been cleared in the ReportingService if reports are not being 113 // Note that sorting by NAK here is required for V0 reports; V1 reports in operator <() 133 // Add the reports in [reports_begin, reports_end) into this delivery. 160 // Records statistics for reports after an upload has completed. 161 // Either removes successfully delivered reports, or increments the failure 187 const ReportList& reports() const { return reports_; } in reports() function in net::__anon4ff9649f0111::Delivery [all …]
|
H A D | reporting_cache.h | 34 // The cache holds undelivered reports and clients (per-origin endpoint 50 // The cache implementation has the notion of "pending" reports. These are 51 // reports that are part of an active delivery attempt, so they won't be 66 // this report, and which other reports this report can be batched with. 82 // Gets all reports in the cache. The returned pointers are valid as long as 83 // either no calls to |RemoveReports| have happened or the reports' |pending| 85 // doomed reports (pending reports for which removal has been requested). 92 // Gets all reports in the cache, including pending and doomed reports, as a 96 // Gets all reports in the cache that aren't pending or doomed (i.e. that are 97 // eligible for delivery), and marks returned reports as pending in [all …]
|
H A D | README.md | 3 Reporting is a central mechanism for sending out-of-band error reports 29 other parts of `//net` and other components: queueing reports, 33 API, such as the maximum number of reports and endpoints to queue, the 34 time interval between delivery attempts, whether or not to persist reports 41 * The *`ReportingCache`* stores undelivered reports and endpoint 48 * The *`ReportingDeliveryAgent`* reads reports from the cache, decides 53 reports: accepts a URL and JSON from the `DeliveryAgent`, creates 63 and removes reports that have remained undelivered for too long, or 67 and removes browsing data (reports and endpoints) of selected types 71 to check permissions for queueing/sending reports and setting/using [all …]
|
H A D | reporting_service_unittest.cc | 121 std::vector<raw_ptr<const ReportingReport, VectorExperimental>> reports; in TEST_P() local 122 context()->cache()->GetReports(&reports); in TEST_P() 123 ASSERT_EQ(1u, reports.size()); in TEST_P() 124 EXPECT_EQ(kUrl_, reports[0]->url); in TEST_P() 125 EXPECT_EQ(kNak_, reports[0]->network_anonymization_key); in TEST_P() 126 EXPECT_EQ(kUserAgent_, reports[0]->user_agent); in TEST_P() 127 EXPECT_EQ(kGroup_, reports[0]->group); in TEST_P() 128 EXPECT_EQ(kType_, reports[0]->type); in TEST_P() 138 std::vector<raw_ptr<const ReportingReport, VectorExperimental>> reports; in TEST_P() local 139 context()->cache()->GetReports(&reports); in TEST_P() [all …]
|
/aosp_15_r20/development/tools/compare_cts_reports/ |
H A D | compare_cts_reports.py | 21 both reports. 23 both reports. If a test only exists in one report, show null 25 N-way mode: Summarize each module in all reports. The module with the lowest 26 pass rate among all reports will be listed at top. 53 def one_way_compare(reports, diff_csv): argument 54 """Compare two reports in One-way Mode. 56 Given two sets of reports, aggregate them into two reports (A and B). 60 reports: list of reports 64 report_a = reports[0] 65 report_b = reports[1] [all …]
|
/aosp_15_r20/hardware/interfaces/input/common/aidl/android/hardware/input/common/ |
H A D | Axis.aidl | 31 * - For a touch screen, reports the absolute X screen position of the center of 33 * - For a touch pad, reports the absolute X surface position of the center of the touch 35 * - For a mouse, reports the absolute X screen position of the mouse pointer. 37 * - For a trackball, reports the relative horizontal displacement of the trackball. 39 * - For a joystick, reports the absolute X position of the joystick. 46 * - For a touch screen, reports the absolute Y screen position of the center of 48 * - For a touch pad, reports the absolute Y surface position of the center of the touch 50 * - For a mouse, reports the absolute Y screen position of the mouse pointer. 52 * - For a trackball, reports the relative vertical displacement of the trackball. 54 * - For a joystick, reports the absolute Y position of the joystick. [all …]
|
/aosp_15_r20/external/python/google-api-python-client/googleapiclient/discovery_cache/documents/ |
D | admin.reportsv1.json | 5 "https://www.googleapis.com/auth/admin.reports.audit.readonly": { 6 "description": "View audit reports for your G Suite domain" 8 "https://www.googleapis.com/auth/admin.reports.usage.readonly": { 9 "description": "View usage reports for your G Suite domain" 17 "canonicalName": "reports", 18 …w and manage resources like user, groups etc. It also provides audit and usage reports of domain.", 79 …key identifies your project and provides you with API access, quota, and reports. Required unless … 115 … information, see the guides for administrator and Google Drive activity reports. For more informa… 116 "flatPath": "admin/reports/v1/activity/users/{userKey}/applications/{applicationName}", 118 "id": "reports.activities.list", [all …]
|
D | admin.reports_v1.json | 5 "https://www.googleapis.com/auth/admin.reports.audit.readonly": { 6 "description": "View audit reports for your G Suite domain" 8 "https://www.googleapis.com/auth/admin.reports.usage.readonly": { 9 "description": "View usage reports for your G Suite domain" 17 "canonicalName": "reports", 18 …w and manage resources like user, groups etc. It also provides audit and usage reports of domain.", 79 …key identifies your project and provides you with API access, quota, and reports. Required unless … 115 … information, see the guides for administrator and Google Drive activity reports. For more informa… 116 "flatPath": "admin/reports/v1/activity/users/{userKey}/applications/{applicationName}", 118 "id": "reports.activities.list", [all …]
|
/aosp_15_r20/packages/modules/AdServices/adservices/tests/unittest/service-core/measurement/src/com/android/adservices/service/measurement/noising/ |
D | SourceNoiseHandlerAttributionProbabilityTest.java | 73 * 2-1-2, 3-3-3 etc. These signify max reports, trigger data bits and reporting windows count 91 1, // configured max reports in data() 105 1, // configured max reports in data() 118 1, // configured max reports in data() 131 1, // configured max reports in data() 146 1, // configured max reports in data() 161 1, // configured max reports in data() 176 1, // configured max reports in data() 188 1, // configured max reports in data() 200 1, // configured max reports in data() [all …]
|
/aosp_15_r20/cts/tests/tests/hardware/res/raw/ |
H A D | google_atvreferenceremote_keyeventtests.json | 4 "reports": [ array 16 "reports": [ array 28 "reports": [ array 40 "reports": [ array 52 "reports": [ array 64 "reports": [ array 76 "reports": [ array 88 "reports": [ array 100 "reports": [ array 112 "reports": [ array [all …]
|
/aosp_15_r20/external/rappor/bin/ |
H A D | decode_assoc.R | 3 # Command line tool to decode multidimensional reports. It's a simple wrapper 25 "--reports", default="", 26 help="CSV file with reports; each variable is a column (required)"), 64 "--reports-sample-size", dest="reports_sample_size", default=-1, 70 of the computation proportional to the number of reports, 93 if (opts$reports== "") { 94 UsageError("--reports is required.") 260 reports <- read.csv(opts$reports, colClasses=c("character"), as.is = TRUE) functionVar 262 Log("Read %d reports. Preview:", nrow(reports)) 263 print(head(reports)) [all …]
|