/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/ |
D | RtcpXrEncoder.cpp | 206 tLossReport* report = new tLossReport(); in createLossAnalysisReport() local 207 report->beginSeq = beginSeq; in createLossAnalysisReport() 208 report->endSeq = endSeq; in createLossAnalysisReport() 209 report->numLostPackets = 0; in createLossAnalysisReport() 210 report->numPacketsReceived = 0; in createLossAnalysisReport() 216 report->numPacketsReceived++; in createLossAnalysisReport() 231 report->numLostPackets++; in createLossAnalysisReport() 238 endSeq, report->numLostPackets, report->numPacketsReceived); in createLossAnalysisReport() 240 return report; in createLossAnalysisReport() 246 tJitterReport* report = new tJitterReport(); in createJitterAnalysisReport() local [all …]
|
/packages/modules/StatsD/statsd/tests/e2e/ |
D | PartialBucket_e2e_test.cpp | 112 ConfigMetricsReport report = getReports(service->mProcessor, start + 3); in TEST_F() local 114 ASSERT_EQ(1, report.metrics_size()); in TEST_F() 115 ASSERT_EQ(0, report.metrics(0).count_metrics().data_size()); in TEST_F() 131 ConfigMetricsReport report = getReports(service->mProcessor, start + 4); in TEST_F() local 132 ASSERT_EQ(1, report.metrics_size()); in TEST_F() 133 ASSERT_EQ(0, report.metrics(0).count_metrics().data_size()); in TEST_F() 150 ConfigMetricsReport report = getReports(service->mProcessor, start + 4); in TEST_F() local 151 backfillStartEndTimestamp(&report); in TEST_F() 153 ASSERT_EQ(1, report.metrics_size()); in TEST_F() 154 ASSERT_EQ(1, report.metrics(0).count_metrics().data_size()); in TEST_F() [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/ |
D | EventReportTest.java | 266 EventReport report = in populateFromSourceAndTrigger_eventSourceAppDestWithoutInstallAttribution() local 278 assertEquals(TRIGGER_PRIORITY, report.getTriggerPriority()); in populateFromSourceAndTrigger_eventSourceAppDestWithoutInstallAttribution() 279 assertEquals(0L, report.getTriggerValue()); in populateFromSourceAndTrigger_eventSourceAppDestWithoutInstallAttribution() 280 assertEquals(TRIGGER_DEDUP_KEY, report.getTriggerDedupKey()); in populateFromSourceAndTrigger_eventSourceAppDestWithoutInstallAttribution() 282 assertEquals(new UnsignedLong(0L), report.getTriggerData()); in populateFromSourceAndTrigger_eventSourceAppDestWithoutInstallAttribution() 283 assertEquals(trigger.getTriggerTime(), report.getTriggerTime()); in populateFromSourceAndTrigger_eventSourceAppDestWithoutInstallAttribution() 284 assertEquals(source.getEventId(), report.getSourceEventId()); in populateFromSourceAndTrigger_eventSourceAppDestWithoutInstallAttribution() 285 assertEquals(source.getEnrollmentId(), report.getEnrollmentId()); in populateFromSourceAndTrigger_eventSourceAppDestWithoutInstallAttribution() 287 report.getAttributionDestinations().get(0)); in populateFromSourceAndTrigger_eventSourceAppDestWithoutInstallAttribution() 288 assertEquals(source.getEventReportWindow().longValue(), report.getReportTime()); in populateFromSourceAndTrigger_eventSourceAppDestWithoutInstallAttribution() [all …]
|
/packages/modules/StatsD/statsd/tests/guardrail/ |
D | StatsdStats_test.cpp | 78 StatsdStatsReport report = getStatsdStatsReport(stats, /* reset stats */ false); in TEST() local 79 ASSERT_EQ(1, report.config_stats_size()); in TEST() 80 const auto& configReport = report.config_stats(0); in TEST() 100 StatsdStatsReport report = getStatsdStatsReport(stats, /* reset stats */ false); in TEST() local 101 ASSERT_EQ(1, report.config_stats_size()); in TEST() 102 const auto& configReport = report.config_stats(0); in TEST() 127 StatsdStatsReport report = getStatsdStatsReport(stats, /* reset stats */ false); in TEST() local 128 ASSERT_EQ(1, report.config_stats_size()); in TEST() 129 const auto& configReport = report.config_stats(0); in TEST() 167 StatsdStatsReport report = getStatsdStatsReport(stats, /* reset stats */ false); in TEST() local [all …]
|
/packages/modules/StatsD/tests/src/android/cts/statsd/metadata/ |
D | MetadataTests.java | 63 StatsdStatsReport report = getStatsdStatsReport(); // Has only been 1 second in testConfigTtl() local 64 LogUtil.CLog.d("got following statsdstats report: " + report.toString()); in testConfigTtl() 67 for (ConfigStats stats : report.getConfigStatsList()) { in testConfigTtl() 86 report = getStatsdStatsReport(); in testConfigTtl() 87 LogUtil.CLog.d("got following statsdstats report: " + report.toString()); in testConfigTtl() 90 for (ConfigStats stats : report.getConfigStatsList()) { in testConfigTtl() 131 StatsdStatsReport report = getStatsdStatsReport(); in testAtomLossInfoCollection() local 132 assertThat(report).isNotNull(); in testAtomLossInfoCollection() 134 if (report.getDetectedLogLossList().size() == 0) { in testAtomLossInfoCollection() 140 for (LogLossStats lossStats : report.getDetectedLogLossList()) { in testAtomLossInfoCollection() [all …]
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/mapclient/ |
D | EventReportTest.java | 58 EventReport report = EventReport.fromStream(new DataInputStream(stream)); in fromStream() local 60 assertThat(report.getType()).isEqualTo(type); in fromStream() 61 assertThat(report.getDateTime()).isNull(); in fromStream() 62 assertThat(report.getTimestamp()).isNull(); in fromStream() 63 assertThat(report.getHandle()).isEqualTo(handle); in fromStream() 64 assertThat(report.getFolder()).isEqualTo(folder); in fromStream() 65 assertThat(report.getOldFolder()).isEqualTo(oldFolder); in fromStream() 66 assertThat(report.getMsgType()).isEqualTo(msgType); in fromStream() 67 assertThat(report.toString()).isNotEmpty(); in fromStream() 76 EventReport report = EventReport.fromStream(new DataInputStream(stream)); in fromStream_withInvalidXml_doesNotCrash_andReturnNull() local [all …]
|
/packages/modules/AdServices/adservices/libraries/cobalt/java/com/android/cobalt/observations/ |
D | ObservationGeneratorFactory.java | 74 MetricDefinition metric, ReportDefinition report, int dayIndex) { in getObservationGenerator() argument 75 switch (report.getPrivacyMechanism()) { in getObservationGenerator() 77 return getNonPrivateObservationGenerator(metric, report, dayIndex); in getObservationGenerator() 79 return getPrivateObservationGenerator(metric, report); in getObservationGenerator() 82 "Unknown or unset privacy mechanism: " + report.getPrivacyMechanismValue()); in getObservationGenerator() 87 MetricDefinition metric, ReportDefinition report, int dayIndex) { in getNonPrivateObservationGenerator() argument 88 switch (report.getReportType()) { in getNonPrivateObservationGenerator() 96 report); in getNonPrivateObservationGenerator() 105 (long) report.getId()), in getNonPrivateObservationGenerator() 113 report); in getNonPrivateObservationGenerator() [all …]
|
/packages/modules/StatsD/statsd/tests/metrics/ |
D | EventMetricProducer_test.cpp | 97 StatsLogReport report = outputStreamToProto(&output); in TEST_F() local 98 backfillAggregatedAtoms(&report); in TEST_F() 99 EXPECT_TRUE(report.has_event_metrics()); in TEST_F() 100 ASSERT_EQ(2, report.event_metrics().data_size()); in TEST_F() 101 EXPECT_EQ(bucketStartTimeNs + 1, report.event_metrics().data(0).elapsed_timestamp_nanos()); in TEST_F() 102 EXPECT_EQ(bucketStartTimeNs + 2, report.event_metrics().data(1).elapsed_timestamp_nanos()); in TEST_F() 140 StatsLogReport report = outputStreamToProto(&output); in TEST_F() local 141 EXPECT_TRUE(report.has_event_metrics()); in TEST_F() 142 backfillAggregatedAtoms(&report); in TEST_F() 143 ASSERT_EQ(1, report.event_metrics().data_size()); in TEST_F() [all …]
|
D | KllMetricProducer_test.cpp | 321 StatsLogReport report = outputStreamToProto(&output); in TEST() local 322 EXPECT_TRUE(report.has_kll_metrics()); in TEST() 323 ASSERT_EQ(0, report.kll_metrics().data_size()); in TEST() 324 ASSERT_EQ(1, report.kll_metrics().skipped_size()); in TEST() 327 report.kll_metrics().skipped(0).start_bucket_elapsed_millis()); in TEST() 329 report.kll_metrics().skipped(0).end_bucket_elapsed_millis()); in TEST() 330 ASSERT_EQ(1, report.kll_metrics().skipped(0).drop_event_size()); in TEST() 332 auto dropEvent = report.kll_metrics().skipped(0).drop_event(0); in TEST() 359 StatsLogReport report = outputStreamToProto(&output); in TEST() local 360 EXPECT_TRUE(report.has_kll_metrics()); in TEST() [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/assets/msmt_interop_tests/ |
D | aggregatable_debug_reports_limits.json | 10 // Creates an aggregatable debug report. 42 // Attribution-success not supported, creates a null report. 82 // Insufficient budget as the required budget is 11, creates a null report. 126 // Creates an aggregatable debug report. 170 // Hits max reports per source limit, creates a null report. 200 // Hits both global and per reporting site rate-limits, creates a null report. 230 // Hits per reporting site rate-limit, creates a null report. 261 // creates a null report. 291 // A different context site, creates an aggregatable debug report. 318 // The aggregatable debug report created at T=3000 falls outside the rate-limit window, [all …]
|
D | aggregatable_report_window.json | 75 // Should result in an event-level report and an aggregatable report 76 // as the aggregatable report window was clamped to one hour. 108 // Should result in an event-level report, but not aggregatable report as 109 // aggregatable report window has passed. 142 // Should not result in an aggregatable report as the source has expired. 171 // Should result in an aggregatable report as the aggregatable report
|
D | rate_limit_max_attribution_reporting_endpoints.json | 27 // Should not result in an event-level report as the filter data doesn't 115 // Should not result in an event-level report due to the reporting origin 139 // Should not result in an aggregatable report due to the reporting origin 179 // Should result in an event-level report as the source site is different. 218 // Should result in an event-level report as the destination site is different. 261 // Should not result in an aggregatable report due to reporting origin limit 289 // Should result in an event-level report as the first report is outside
|
D | aggregatable_dedup_key.json | 30 // Should result in an event-level report and an aggregatable report. 82 // Should result in an event-level report and the aggregatable report 123 // Should result in an aggregatable report as the deduplication key is 154 // Should result in an aggregatable report as the deduplication key is 188 // Should result in an aggregatable report as the deduplication key is null.
|
/packages/modules/Uwb/tests/cts/tests/src/android/uwb/cts/ |
D | RangingReportTest.java | 57 RangingReport report = tryBuild(builder, true); in testBuilder() local 58 verifyMeasurementsEqual(measurements, report.getMeasurements()); in testBuilder() 63 report = tryBuild(builder, true); in testBuilder() 64 verifyMeasurementsEqual(measurements, report.getMeasurements()); in testBuilder() 67 report = tryBuild(builder, true); in testBuilder() 69 assertEquals(rangingReportMetadata, report.getRangingReportMetadata()); in testBuilder() 82 RangingReport report = null; in tryBuild() local 84 report = builder.build(); in tryBuild() 93 return report; in tryBuild() 99 RangingReport report = UwbTestUtils.getRangingReports(5); in testParcel() local [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/cobalt/ |
D | CobaltRegistryLoaderTest.java | 65 for (ReportDefinition report : metric.getReportsList()) { in testGetRegistry_unsupportedFeaturesNotInRegistry() 66 assertThat(RegistryValidator.isValidReportTypeAndPrivacyMechanism(metric, report)) in testGetRegistry_unsupportedFeaturesNotInRegistry() 68 if (report.getReportName().endsWith(REPORT_NAME_DOGFOOD_SUFFIX)) { in testGetRegistry_unsupportedFeaturesNotInRegistry() 69 assertThat(report.getMaxReleaseStage()).isEqualTo(DOGFOOD); in testGetRegistry_unsupportedFeaturesNotInRegistry() 71 assertThat(report.getReportingInterval()).isEqualTo(ReportingInterval.DAYS_1); in testGetRegistry_unsupportedFeaturesNotInRegistry() 72 assertThat(report.getLocalAggregationProcedure()) in testGetRegistry_unsupportedFeaturesNotInRegistry() 74 assertThat(report.getExperimentIdList()).isEmpty(); in testGetRegistry_unsupportedFeaturesNotInRegistry() 75 assertThat(report.getSystemProfileSelection()) in testGetRegistry_unsupportedFeaturesNotInRegistry() 77 assertThat(report.getStringSketchParams()) in testGetRegistry_unsupportedFeaturesNotInRegistry() 79 assertThat(report.getLocalAggregationProcedurePercentileN()).isEqualTo(0); in testGetRegistry_unsupportedFeaturesNotInRegistry() [all …]
|
/packages/modules/ImsMedia/tests/native/service/src/com/android/telephony/imsmedia/lib/libimsmedia/protocol/rtp/core/ |
D | RtcpPacketTest.cpp | 238 RtcpReportBlock* report = reports.front(); in TEST_F() local 239 ASSERT_TRUE(report != nullptr); in TEST_F() 241 EXPECT_EQ(report->getSsrc(), 0xd2bd4e3e); in TEST_F() 242 EXPECT_EQ((int)report->getFracLost(), 0x10); in TEST_F() 243 EXPECT_EQ((int)report->getCumNumPktLost(), 0x000020); in TEST_F() 244 EXPECT_EQ(report->getExtHighSeqRcv(), 131074); in TEST_F() 245 EXPECT_EQ(report->getJitter(), 0); in TEST_F() 246 EXPECT_EQ(report->getLastSR(), 2262099689); in TEST_F() 247 EXPECT_EQ(report->getDelayLastSR(), 1); in TEST_F() 269 report = reports.front(); in TEST_F() [all …]
|
D | RtcpRrPacketTest.cpp | 82 RtcpReportBlock* report = reports.front(); in TEST_F() local 83 ASSERT_TRUE(report != nullptr); in TEST_F() 85 EXPECT_EQ(report->getSsrc(), 0x01020304); in TEST_F() 86 EXPECT_EQ((int)report->getFracLost(), 0x10); in TEST_F() 87 EXPECT_EQ((int)report->getCumNumPktLost(), 0x000020); in TEST_F() 88 EXPECT_EQ(report->getExtHighSeqRcv(), 0); in TEST_F() 89 EXPECT_EQ(report->getJitter(), 0); in TEST_F() 90 EXPECT_EQ(report->getLastSR(), 0x86d4e6e9); in TEST_F() 91 EXPECT_EQ(report->getDelayLastSR(), 0x00000001); in TEST_F()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/incident/ |
D | PendingList.java | 82 this.report = r; in Rec() 89 public final IncidentManager.PendingReport report; field in PendingList.Rec 146 final IncidentManager.PendingReport report = reports.get(i); in updateState() local 147 final String label = mFormatting.getAppLabel(report.getRequestingPackage()); in updateState() 150 + " denying report: " + report.getRequestingPackage()); in updateState() 151 incidentManager.denyReport(report.getUri()); in updateState() 155 recs.add(new Rec(report, label)); in updateState() 161 long val = a.report.getTimestamp() - b.report.getTimestamp(); in updateState() 176 final String uri = rec.report.getUri().toString(); in updateState() 179 if ((rec.report.getFlags() & IncidentManager.FLAG_CONFIRMATION_DIALOG) != 0) { in updateState() [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/assets/msmt_e2e_tests/flex_event/ |
D | flex_event_value_sum_two_specs_two_report_windows_multiple_debug_keys.json | 23 // * T1 + T3 (data 0) generate report and debug report, bucket at 10 (+29 at priority 100) 24 // * T2 (data 1) generates report, bucket at 10 25 // T4 (data 2) does not generate a report, bucket at 18 34 // * T7 (data 2) generates a report, bucket at 20 (+20 at priority 400) 37 // T6 (data 3) does not generate a report, bucket at 19 38 // T3 (data 0) does not generate a report, bucket at 39 47 // T6 (data 3) does not generate a report, bucket at 19 49 // * T9 (data 2) crosses bucket to generate a speculative report and debug report, 51 // T10 (data 0) would cross bucket to generate a report, but quota was reached 139 // No Ad ID permission results in a report without the source debug key
|
D | flex_event_value_sum_two_specs_two_report_windows_debug_report.json | 23 // * T1 + T3 (data 0) generate report and debug report, bucket at 10 (+29 at priority 100) 24 // * T2 (data 1) generates report, bucket at 10 25 // T4 (data 2) does not generate a report, bucket at 18 34 // * T7 (data 2) generates a report, bucket at 20 (+20 at priority 400) 37 // T6 (data 3) does not generate a report, bucket at 19 38 // T3 (data 0) does not generate a report, bucket at 39 47 // T6 (data 3) does not generate a report, bucket at 19 49 // * T9 (data 2) crosses bucket to generate a speculative report but no debug report 51 // T10 (data 0) would cross bucket to generate a report, but quota was reached 139 // Ad ID permission results in a report with the source debug key
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/assets/msmt_e2e_tests/aggregatable/ |
D | aggregatable_report_window.json | 27 // Should result in an event-level report and an aggregatable report. 55 // Should result in an event-level report and an aggregatable report. 83 // Should result in an event-level report, but not aggregatable report as 84 // aggregatable report window has passed.
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/assets/msmt_e2e_tests/misc/ |
D | event_report_window.json | 27 // Should result in an event-level report and an aggregatable report. 55 // Should result in an event-level report and an aggregatable report. 83 // Should result in an aggregatable report, but not event-level report as 84 // event report window has passed.
|
/packages/modules/AdServices/adservices/libraries/cobalt/tests/src/com/android/cobalt/registry/ |
D | RegistryValidatorTest.java | 129 ReportDefinition report = in testIsValidReportTypeAndPrivacyMechanism_privateFleetwideOccurrenceCounts() local 134 assertThat(RegistryValidator.isValidReportTypeAndPrivacyMechanism(metric, report)).isTrue(); in testIsValidReportTypeAndPrivacyMechanism_privateFleetwideOccurrenceCounts() 140 ReportDefinition report = in tetIsValidReportTypeAndPrivacyMechanism_deIdFleetwideOccurrenceCounts() local 145 assertThat(RegistryValidator.isValidReportTypeAndPrivacyMechanism(metric, report)).isTrue(); in tetIsValidReportTypeAndPrivacyMechanism_deIdFleetwideOccurrenceCounts() 151 ReportDefinition report = in testIsValidReportTypeAndPrivacyMechanism_deIdStringCounts() local 156 assertThat(RegistryValidator.isValidReportTypeAndPrivacyMechanism(metric, report)).isTrue(); in testIsValidReportTypeAndPrivacyMechanism_deIdStringCounts() 163 ReportDefinition report = in testIsValidReportTypeAndPrivacyMechanism_fleetwideOccurrenceCounts_unsetIntegerBuckets() local 168 assertThat(RegistryValidator.isValidReportTypeAndPrivacyMechanism(metric, report)).isTrue(); in testIsValidReportTypeAndPrivacyMechanism_fleetwideOccurrenceCounts_unsetIntegerBuckets() 172 report.toBuilder() in testIsValidReportTypeAndPrivacyMechanism_fleetwideOccurrenceCounts_unsetIntegerBuckets() 184 ReportDefinition report = in testIsValidReportTypeAndPrivacyMechanism_stringCounts_defaultIntegerBuckets() local [all …]
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/include/ |
D | ImsMediaDefine.h | 714 RtcpRecvReport(const RtcpRecvReport& report) : in RtcpRecvReport() 715 ssrc(report.ssrc), in RtcpRecvReport() 716 fractionLost(report.fractionLost), in RtcpRecvReport() 717 cumPktsLost(report.cumPktsLost), in RtcpRecvReport() 718 extHighSeqNum(report.extHighSeqNum), in RtcpRecvReport() 719 jitter(report.jitter), in RtcpRecvReport() 720 lsr(report.lsr), in RtcpRecvReport() 721 delayLsr(report.delayLsr) in RtcpRecvReport() 726 RtcpRecvReport& operator=(const RtcpRecvReport& report) 728 if (this != &report) [all …]
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/ |
D | BluetoothMapObexServer.java | 346 ContentProfileErrorReportUtils.report( in onConnect() 356 ContentProfileErrorReportUtils.report( in onConnect() 367 ContentProfileErrorReportUtils.report( in onConnect() 390 ContentProfileErrorReportUtils.report( in onConnect() 484 ContentProfileErrorReportUtils.report( in onPut() 505 ContentProfileErrorReportUtils.report( in onPut() 525 ContentProfileErrorReportUtils.report( in onPut() 552 ContentProfileErrorReportUtils.report( in onPut() 561 ContentProfileErrorReportUtils.report( in onPut() 570 ContentProfileErrorReportUtils.report( in onPut() [all …]
|