/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/reporting/ |
D | ReportingStatus.java | 25 public enum ReportType { enum in ReportingStatus 63 ReportType(int value) { in ReportType() method in ReportingStatus.ReportType 125 private ReportType mReportType; 139 mReportType = ReportType.UNKNOWN; in ReportingStatus() 148 public ReportType getReportType() { in getReportType() 153 public void setReportType(ReportType reportType) { in setReportType() 160 mReportType = ReportType.VERBOSE_DEBUG_SOURCE_DESTINATION_LIMIT; in setReportType() 162 mReportType = ReportType.VERBOSE_DEBUG_SOURCE_NOISED; in setReportType() 164 mReportType = ReportType.VERBOSE_DEBUG_SOURCE_STORAGE_LIMIT; in setReportType() 166 mReportType = ReportType.VERBOSE_DEBUG_SOURCE_SUCCESS; in setReportType() [all …]
|
D | DebugReportingJobService.java | 172 ReportingStatus.ReportType.DEBUG_EVENT, in sendReports() 183 ReportingStatus.ReportType.DEBUG_AGGREGATE, in sendReports()
|
D | DebugReportingFallbackJobService.java | 198 ReportingStatus.ReportType.DEBUG_EVENT, in sendReports() 209 ReportingStatus.ReportType.DEBUG_AGGREGATE, in sendReports()
|
D | AggregateReportingJobHandler.java | 67 private ReportingStatus.ReportType mReportType; 78 ReportingStatus.ReportType reportType, in AggregateReportingJobHandler() 102 ReportingStatus.ReportType.UNKNOWN, in AggregateReportingJobHandler()
|
D | ReportingJobService.java | 326 ReportingStatus.ReportType.AGGREGATE, 353 ReportingStatus.ReportType.EVENT,
|
D | EventReportingJobHandler.java | 62 private ReportingStatus.ReportType mReportType; 79 ReportingStatus.ReportType reportType, in EventReportingJobHandler()
|
D | EventFallbackReportingJobService.java | 115 ReportingStatus.ReportType.EVENT, in processPendingReports()
|
D | EventReportingJobService.java | 109 ReportingStatus.ReportType.EVENT, in processPendingReports()
|
D | AggregateFallbackReportingJobService.java | 122 ReportingStatus.ReportType.AGGREGATE, in processPendingReports()
|
D | ImmediateAggregateReportingJobService.java | 118 ReportingStatus.ReportType.AGGREGATE, in processPendingReports()
|
D | AggregateReportingJobService.java | 115 ReportingStatus.ReportType.AGGREGATE, in processPendingReports()
|
D | DebugReportingJobHandler.java | 143 reportingStatus.setReportType(ReportingStatus.ReportType.VERBOSE_DEBUG_UNKNOWN); in performReport()
|
/packages/modules/AdServices/adservices/libraries/cobalt/tests/src/com/android/cobalt/observations/ |
D | ObservationGeneratorFactoryTest.java | 38 import com.google.cobalt.ReportDefinition.ReportType; 81 .setReportType(ReportType.FLEETWIDE_OCCURRENCE_COUNTS) in getObservationGenerator_nonPrivateFleetwideOccurrenceCounts() 95 .setReportType(ReportType.FLEETWIDE_OCCURRENCE_COUNTS) in getObservationGenerator_privateFleetwideOccurrenceCounts() 112 .setReportType(ReportType.FLEETWIDE_OCCURRENCE_COUNTS) in getObservationGenerator_fleetwideOccurrenceCounts_noPrivacyMechanismSet() 123 .setReportType(ReportType.STRING_COUNTS) in getObservationGenerator_nonPrivateStringsCounts() 148 .setReportType(ReportType.STRING_COUNTS) in getObservationGenerator_nonPrivateStringsCounts_queriesStringHashList() 167 .setReportType(ReportType.STRING_COUNTS) in getObservationGenerator_privateStringsCounts() 182 .setReportType(ReportType.STRING_COUNTS) in getObservationGenerator_stringsCounts_noPrivacyMechanismSet() 206 .setReportType(ReportType.REPORT_TYPE_UNSET) in getObservationGenerator_reportTypeUnset_throwsAssertionError() 219 .setReportType(ReportType.UNIQUE_DEVICE_COUNTS) in getObservationGenerator_uniqueDeviceCounts_throwsAssertionError() [all …]
|
D | NonPrivateObservationGeneratorTest.java | 36 import com.google.cobalt.ReportDefinition.ReportType; 148 .setReportType(ReportType.FLEETWIDE_OCCURRENCE_COUNTS)
|
D | PrivateObservationGeneratorTest.java | 38 import com.google.cobalt.ReportDefinition.ReportType; 122 .setReportType(ReportType.FLEETWIDE_OCCURRENCE_COUNTS)
|
/packages/modules/AdServices/adservices/libraries/cobalt/java/com/android/cobalt/registry/ |
D | RegistryValidator.java | 23 import static com.google.cobalt.ReportDefinition.ReportType.FLEETWIDE_OCCURRENCE_COUNTS; 24 import static com.google.cobalt.ReportDefinition.ReportType.STRING_COUNTS; 33 import com.google.cobalt.ReportDefinition.ReportType; 39 private static final ImmutableMap<MetricType, ImmutableSet<ReportType>> ALLOWED_REPORT_TYPES = 44 private static final ImmutableMap<ReportType, ImmutableSet<PrivacyMechanism>> 95 static boolean validateReportType(MetricType metricType, ReportType reportType) { in validateReportType() 96 ImmutableSet<ReportType> allowedReportTypes = ALLOWED_REPORT_TYPES.get(metricType); in validateReportType() 106 ReportType reportType, PrivacyMechanism privacyMechanism) { in validatePrivacyMechanism()
|
/packages/modules/AdServices/adservices/libraries/cobalt/tests/src/com/android/cobalt/registry/ |
D | RegistryValidatorTest.java | 23 import static com.google.cobalt.ReportDefinition.ReportType.FLEETWIDE_OCCURRENCE_COUNTS; 24 import static com.google.cobalt.ReportDefinition.ReportType.STRING_COUNTS; 31 import com.google.cobalt.ReportDefinition.ReportType; 43 for (ReportType reportType : ReportType.values()) { in testValidateReportType_occurrenceMetric_onlySupportsFleetwideOccurrenceCounts() 59 for (ReportType reportType : ReportType.values()) { in testValidateReportType_stringMetric_onlySupportsStringCounts()
|
/packages/modules/AdServices/adservices/libraries/cobalt/tests/src/com/android/cobalt/impl/ |
D | CobaltLoggerImplTest.java | 48 import com.google.cobalt.ReportDefinition.ReportType; 103 .setReportType(ReportType.FLEETWIDE_OCCURRENCE_COUNTS) 114 .setReportType(ReportType.FLEETWIDE_OCCURRENCE_COUNTS) 119 .setReportType(ReportType.FLEETWIDE_OCCURRENCE_COUNTS) 130 .setReportType(ReportType.STRING_COUNTS) 141 .setReportType(ReportType.STRING_COUNTS) 146 .setReportType(ReportType.STRING_COUNTS) 475 .setReportType(ReportType.FLEETWIDE_OCCURRENCE_COUNTS) in logOccurrence_oneLogForMetricInLaterReleaseStage_dropped() 516 .setReportType(ReportType.FLEETWIDE_OCCURRENCE_COUNTS) in logOccurrence_oneLogForReportInLaterReleaseStage_dropped() 835 .setReportType(ReportType.STRING_COUNTS) in logString_oneLogForMetricInLaterReleaseStage_dropped() [all …]
|
D | CobaltPeriodicJobImplTest.java | 64 import com.google.cobalt.ReportDefinition.ReportType; 218 .setReportType(ReportType.FLEETWIDE_OCCURRENCE_COUNTS) 231 .setReportType(ReportType.FLEETWIDE_OCCURRENCE_COUNTS) 238 .setReportType(ReportType.FLEETWIDE_OCCURRENCE_COUNTS) 245 .setReportType(ReportType.FLEETWIDE_OCCURRENCE_COUNTS) 667 .setReportType(ReportType.FLEETWIDE_OCCURRENCE_COUNTS) 743 .setReportType(ReportType.FLEETWIDE_OCCURRENCE_COUNTS) 1016 .setReportType(ReportType.STRING_COUNTS) 1022 .setReportType(ReportType.STRING_COUNTS) 1250 .setReportType(ReportType.FLEETWIDE_OCCURRENCE_COUNTS) [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/ |
D | E2ETest.java | 104 enum ReportType { enum in E2ETest 426 static String getReportUrl(ReportType reportType, String origin) { in getReportUrl() 428 if (reportType == ReportType.EVENT) { in getReportUrl() 430 } else if (reportType == ReportType.AGGREGATE) { in getReportUrl() 432 } else if (reportType == ReportType.EVENT_DEBUG) { in getReportUrl() 434 } else if (reportType == ReportType.AGGREGATE_DEBUG) { in getReportUrl() 436 } else if (reportType == ReportType.VERBOSE_DEBUG) { in getReportUrl() 542 outputType == OutputType.EXPECTED ? url : getReportUrl(ReportType.EVENT, url); in hashForEventReportObject() 566 private boolean matchReportTimeAndReportTo(ReportType reportType, JSONObject obj1, in matchReportTimeAndReportTo() 623 ReportType reportType, JSONObject expected, JSONObject actual) throws JSONException { in areEqualEventReportJsons() [all …]
|
D | E2EImpressionNoiseMockTest.java | 115 String uri = getReportUrl(ReportType.EVENT, destinations.get(i).toString()); in processActualEventReports()
|
/packages/modules/AdServices/adservices/libraries/cobalt/java/com/android/cobalt/impl/ |
D | CobaltLoggerImpl.java | 37 import com.google.cobalt.ReportDefinition.ReportType; 209 if (report.getReportType() == ReportType.FLEETWIDE_OCCURRENCE_COUNTS) { in logNumberToReports() 246 if (report.getReportType() == ReportType.STRING_COUNTS) { in logStringToReports()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/reporting/ |
D | EventReportingJobHandlerTest.java | 159 ReportingStatus.ReportType.EVENT, in setUp() 169 ReportingStatus.ReportType.EVENT, in setUp() 1068 measurementReportsStats.getType(), ReportingStatus.ReportType.EVENT.getValue()); in testPerformScheduledPendingReports_LogZeroRetryCount() 1100 measurementReportsStats.getType(), ReportingStatus.ReportType.EVENT.getValue()); in testPerformScheduledPendingReports_LogReportNotFound()
|
D | DebugReportingJobHandlerTest.java | 275 >= ReportingStatus.ReportType.VERBOSE_DEBUG_SOURCE_DESTINATION_LIMIT in testPerformScheduledReports_LogZeroRetryCount() 307 ReportingStatus.ReportType.VERBOSE_DEBUG_UNKNOWN.getValue()); in testPerformScheduledReports_LogReportNotFound()
|
D | AggregateReportingJobHandlerTest.java | 174 ReportingStatus.ReportType.AGGREGATE, in setUp() 185 ReportingStatus.ReportType.AGGREGATE, in setUp() 840 measurementReportsStats.getType(), ReportingStatus.ReportType.AGGREGATE.getValue()); in testPerformScheduledPendingReports_LogZeroRetryCount() 867 measurementReportsStats.getType(), ReportingStatus.ReportType.AGGREGATE.getValue()); in testPerformScheduledPendingReports_LogReportNotFound()
|