Home
last modified time | relevance | path

Searched refs:ReportType (Results 1 – 25 of 26) sorted by relevance

12

/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/reporting/
DReportingStatus.java25 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 …]
DDebugReportingJobService.java172 ReportingStatus.ReportType.DEBUG_EVENT, in sendReports()
183 ReportingStatus.ReportType.DEBUG_AGGREGATE, in sendReports()
DDebugReportingFallbackJobService.java198 ReportingStatus.ReportType.DEBUG_EVENT, in sendReports()
209 ReportingStatus.ReportType.DEBUG_AGGREGATE, in sendReports()
DAggregateReportingJobHandler.java67 private ReportingStatus.ReportType mReportType;
78 ReportingStatus.ReportType reportType, in AggregateReportingJobHandler()
102 ReportingStatus.ReportType.UNKNOWN, in AggregateReportingJobHandler()
DReportingJobService.java326 ReportingStatus.ReportType.AGGREGATE,
353 ReportingStatus.ReportType.EVENT,
DEventReportingJobHandler.java62 private ReportingStatus.ReportType mReportType;
79 ReportingStatus.ReportType reportType, in EventReportingJobHandler()
DEventFallbackReportingJobService.java115 ReportingStatus.ReportType.EVENT, in processPendingReports()
DEventReportingJobService.java109 ReportingStatus.ReportType.EVENT, in processPendingReports()
DAggregateFallbackReportingJobService.java122 ReportingStatus.ReportType.AGGREGATE, in processPendingReports()
DImmediateAggregateReportingJobService.java118 ReportingStatus.ReportType.AGGREGATE, in processPendingReports()
DAggregateReportingJobService.java115 ReportingStatus.ReportType.AGGREGATE, in processPendingReports()
DDebugReportingJobHandler.java143 reportingStatus.setReportType(ReportingStatus.ReportType.VERBOSE_DEBUG_UNKNOWN); in performReport()
/packages/modules/AdServices/adservices/libraries/cobalt/tests/src/com/android/cobalt/observations/
DObservationGeneratorFactoryTest.java38 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 …]
DNonPrivateObservationGeneratorTest.java36 import com.google.cobalt.ReportDefinition.ReportType;
148 .setReportType(ReportType.FLEETWIDE_OCCURRENCE_COUNTS)
DPrivateObservationGeneratorTest.java38 import com.google.cobalt.ReportDefinition.ReportType;
122 .setReportType(ReportType.FLEETWIDE_OCCURRENCE_COUNTS)
/packages/modules/AdServices/adservices/libraries/cobalt/java/com/android/cobalt/registry/
DRegistryValidator.java23 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/
DRegistryValidatorTest.java23 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/
DCobaltLoggerImplTest.java48 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 …]
DCobaltPeriodicJobImplTest.java64 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/
DE2ETest.java104 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 …]
DE2EImpressionNoiseMockTest.java115 String uri = getReportUrl(ReportType.EVENT, destinations.get(i).toString()); in processActualEventReports()
/packages/modules/AdServices/adservices/libraries/cobalt/java/com/android/cobalt/impl/
DCobaltLoggerImpl.java37 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/
DEventReportingJobHandlerTest.java159 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()
DDebugReportingJobHandlerTest.java275 >= ReportingStatus.ReportType.VERBOSE_DEBUG_SOURCE_DESTINATION_LIMIT in testPerformScheduledReports_LogZeroRetryCount()
307 ReportingStatus.ReportType.VERBOSE_DEBUG_UNKNOWN.getValue()); in testPerformScheduledReports_LogReportNotFound()
DAggregateReportingJobHandlerTest.java174 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()

12