/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/ |
D | TriggerSpecs.java | 107 for (UnsignedLong triggerData : mTriggerSpecs[i].getTriggerData()) { in TriggerSpecs() 108 mTriggerDataToTriggerSpecIndexMap.put(triggerData, i); in TriggerSpecs() 136 for (UnsignedLong triggerData : triggerSpecs[i].getTriggerData()) { in TriggerSpecs() 137 mTriggerDataToTriggerSpecIndexMap.put(triggerData, i); in TriggerSpecs() 247 public List<Long> getSummaryBucketsForTriggerData(UnsignedLong triggerData) { in getSummaryBucketsForTriggerData() argument 248 int index = mTriggerDataToTriggerSpecIndexMap.get(triggerData); in getSummaryBucketsForTriggerData() 256 public TriggerSpec.SummaryOperatorType getSummaryOperatorType(UnsignedLong triggerData) { in getSummaryOperatorType() argument 257 int index = mTriggerDataToTriggerSpecIndexMap.get(triggerData); in getSummaryOperatorType() 265 public Long findReportingStartTimeForTriggerData(UnsignedLong triggerData) { in findReportingStartTimeForTriggerData() argument 266 int index = mTriggerDataToTriggerSpecIndexMap.get(triggerData); in findReportingStartTimeForTriggerData() [all …]
|
D | AttributedTrigger.java | 113 UnsignedLong triggerData, in AttributedTrigger() argument 120 mTriggerData = triggerData; in AttributedTrigger() 128 UnsignedLong triggerData, in AttributedTrigger() argument 136 mTriggerData = triggerData; in AttributedTrigger()
|
D | EventTrigger.java | 102 public Builder(@NonNull UnsignedLong triggerData) { in Builder() argument 103 Validation.validateNonNull(triggerData); in Builder() 105 mBuilding.mTriggerData = triggerData; in Builder()
|
D | EventReport.java | 328 public Builder setTriggerData(UnsignedLong triggerData) { in setTriggerData() argument 329 mBuilding.mTriggerData = triggerData; in setTriggerData() 527 UnsignedLong triggerData = eventTrigger.getTriggerData(); in getTruncatedTriggerData() local 528 return triggerData.mod(source.getTriggerDataCardinality()); in getTruncatedTriggerData()
|
D | TriggerSpec.java | 283 public Builder setTriggerData(List<UnsignedLong> triggerData) { in setTriggerData() argument 284 mBuilding.mTriggerData = triggerData; in setTriggerData()
|
D | Source.java | 446 UnsignedLong triggerData, in FakeReport() argument 451 mTriggerData = triggerData; in FakeReport()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/aggregation/ |
D | AggregatePayloadGenerator.java | 73 for (AggregateTriggerData triggerData : attributionTrigger.getTriggerData()) { in generateAttributionReport() 74 Optional<List<FilterMap>> filterSet = triggerData.getFilterSet(); in generateAttributionReport() 75 Optional<List<FilterMap>> notFilterSet = triggerData.getNotFilterSet(); in generateAttributionReport() 94 triggerData in generateAttributionReport() 102 triggerDataKey = triggerData.getKey().or(orValue); in generateAttributionReport() 104 triggerDataKey = triggerData.getKey(); in generateAttributionReport() 107 for (String sourceKey : triggerData.getSourceKeys()) { in generateAttributionReport()
|
D | AggregatableAttributionTrigger.java | 123 public Builder setTriggerData(List<AggregateTriggerData> triggerData) { in setTriggerData() argument 124 mBuilding.mTriggerData = triggerData; in setTriggerData()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/ |
D | TriggerSpecTest.java | 38 int[] triggerData, in getJson() argument 45 if (triggerData != null) { in getJson() 46 json.put("trigger_data", new JSONArray(triggerData)); in getJson() 125 int[] triggerData = {1, 2, 3}; in triggerSpecBuilder_invalidSummaryOperator_throws() local 134 triggerData, in triggerSpecBuilder_invalidSummaryOperator_throws() 147 int[] triggerData = {1, 2, 3}; in triggerSpecBuilder_validJson_success() local 156 triggerData, in triggerSpecBuilder_validJson_success()
|
D | E2EImpressionNoiseMockTest.java | 118 String triggerData = payload.getString(PayloadKeys.TRIGGER_DATA); in processActualEventReports() local 121 triggerData, 1, Integer::sum); in processActualEventReports() 161 String triggerData = payload.optString(PayloadKeys.TRIGGER_DATA); in getExpectedTriggerDataDistributions() local 164 triggerData, 1, Integer::sum); in getExpectedTriggerDataDistributions()
|
D | TriggerTest.java | 480 final List<AggregateTriggerData> triggerData = in testAggregatableAttributionTrigger() local 485 .setTriggerData(triggerData) in testAggregatableAttributionTrigger() 498 assertEquals(triggerData, aggregatableAttributionTrigger.get().getTriggerData()); in testAggregatableAttributionTrigger()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/reporting/ |
D | EventReportPayloadTest.java | 55 UnsignedLong triggerData, in createEventReportPayload() argument 58 triggerData, in createEventReportPayload() 66 UnsignedLong triggerData, in createEventReportPayload() argument 70 triggerData, in createEventReportPayload() 78 UnsignedLong triggerData, in createEventReportPayload() argument 83 triggerData, in createEventReportPayload() 91 UnsignedLong triggerData, in createEventReportPayloadBuilder() argument 100 .setTriggerData(triggerData) in createEventReportPayloadBuilder() 110 UnsignedLong triggerData, in createEventReportPayload() argument 116 triggerData, in createEventReportPayload()
|
D | DebugReportApiTest.java | 1733 UnsignedLong triggerData = new UnsignedLong(1L); in testScheduleTriggerEventLowPriorityDebugReport_noTriggerPermission_dontSchedule() local 1741 triggerData, in testScheduleTriggerEventLowPriorityDebugReport_noTriggerPermission_dontSchedule() 1930 UnsignedLong triggerData = new UnsignedLong(1L); in testScheduleTriggerEventExcessiveReportsDebugReport_noTriggerPermission_dontSchedule() local 1938 triggerData, in testScheduleTriggerEventExcessiveReportsDebugReport_noTriggerPermission_dontSchedule()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/attribution/ |
D | AttributionJobHandler.java | 1169 UnsignedLong triggerData = attributedTrigger.getTriggerData(); in updateFlexAttributionStateAndGetNumReports() local 1171 triggerDataToBucketIndexMap.putIfAbsent(triggerData, 0); in updateFlexAttributionStateAndGetNumReports() 1173 int bucketIndex = triggerDataToBucketIndexMap.get(triggerData); in updateFlexAttributionStateAndGetNumReports() 1174 List<Long> buckets = triggerSpecs.getSummaryBucketsForTriggerData(triggerData); in updateFlexAttributionStateAndGetNumReports() 1182 triggerDataToBucketAmountMap.putIfAbsent(triggerData, 0L); in updateFlexAttributionStateAndGetNumReports() 1183 triggerDataToContributingTriggersMap.putIfAbsent(triggerData, new ArrayList<>()); in updateFlexAttributionStateAndGetNumReports() 1186 triggerDataToContributingTriggersMap.get(triggerData); in updateFlexAttributionStateAndGetNumReports() 1197 long bucketAmount = triggerDataToBucketAmountMap.get(triggerData); in updateFlexAttributionStateAndGetNumReports() 1214 triggerDataToBucketIndexMap.put(triggerData, i + 1); in updateFlexAttributionStateAndGetNumReports() 1215 triggerDataToBucketAmountMap.put(triggerData, 0L); in updateFlexAttributionStateAndGetNumReports() [all …]
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/noising/ |
D | SourceNoiseHandler.java | 140 UnsignedLong triggerData = triggerSpecs.getTriggerDataFromIndex(reportConfig[0]); in assignAttributionModeAndGenerateFakeReports() local 143 if (!triggerData.equals(currentTriggerData)) { in assignAttributionModeAndGenerateFakeReports() 144 buckets = triggerSpecs.getSummaryBucketsForTriggerData(triggerData); in assignAttributionModeAndGenerateFakeReports() 146 currentTriggerData = triggerData; in assignAttributionModeAndGenerateFakeReports()
|
D | ImpressionNoiseUtil.java | 86 long triggerData = (numBars - 1L) % ((long) noiseParams.getTriggerDataCardinality()); in createReportingConfig() local 91 return new int[] {(int) triggerData, reportingWindowIndex, destinationTypeIndex}; in createReportingConfig()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/reporting/ |
D | EventReportWindowCalcDelegate.java | 142 @NonNull UnsignedLong triggerData) { in fallsWithinWindow() argument 164 < triggerSpecs.findReportingStartTimeForTriggerData(triggerData) in fallsWithinWindow() 169 List<Long> reportingWindows = triggerSpecs.findReportingEndTimesForTriggerData(triggerData); in fallsWithinWindow() 290 UnsignedLong triggerData) { 295 < triggerSpecs.findReportingStartTimeForTriggerData(triggerData) 300 List<Long> reportingWindows = triggerSpecs.findReportingEndTimesForTriggerData(triggerData);
|
D | DebugReportApi.java | 355 UnsignedLong triggerData, in scheduleTriggerDebugReportWithAllFields() argument 374 source, trigger, triggerData, debugKeyPair), in scheduleTriggerDebugReportWithAllFields() 641 @Nullable UnsignedLong triggerData, in generateTriggerDebugReportBodyWithAllFields() argument 659 if (triggerData != null) { in generateTriggerDebugReportBodyWithAllFields() 660 body.put(Body.TRIGGER_DATA, triggerData.toString()); in generateTriggerDebugReportBodyWithAllFields()
|
D | EventReportPayload.java | 141 public @NonNull Builder setTriggerData(@NonNull UnsignedLong triggerData) { in setTriggerData() argument 142 mBuilding.mTriggerData = triggerData; in setTriggerData()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/registration/ |
D | AsyncSourceFetcher.java | 432 JSONArray triggerData = json.getJSONArray(SourceHeaderContract.TRIGGER_DATA); in parseCommonSourceParams() local 434 if (triggerData.length() == 0) { in parseCommonSourceParams() 435 triggerSpecString = triggerData.toString(); in parseCommonSourceParams() 440 triggerSpec.put(SourceHeaderContract.TRIGGER_DATA, triggerData); in parseCommonSourceParams() 628 for (UnsignedLong triggerData : triggerDataList) { in getValidTriggerSpec() 629 if (!triggerDataSet.add(triggerData) in getValidTriggerSpec() 630 || triggerData.compareTo(TriggerSpecs.MAX_TRIGGER_DATA_VALUE) > 0) { in getValidTriggerSpec()
|
D | AsyncTriggerFetcher.java | 585 UnsignedLong triggerData = new UnsignedLong(0L); in getValidEventTriggerData() local 592 triggerData = maybeTriggerData.get(); in getValidEventTriggerData() 594 validEventTriggerDatum.put("trigger_data", triggerData); in getValidEventTriggerData()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/attribution/ |
D | AttributionJobHandlerTest.java | 893 JSONArray triggerData = getAggregateTriggerData(); in shouldIgnoreIfNoSourcesFound_excludeSourceRegistrationTime_triggerNullReports() local 900 .setAggregateTriggerData(triggerData.toString()) in shouldIgnoreIfNoSourcesFound_excludeSourceRegistrationTime_triggerNullReports() 930 JSONArray triggerData = getAggregateTriggerData(); in performPendingAttributions_generatesAggregateReport_excludeSourceRegistrationTime() local 938 .setAggregateTriggerData(triggerData.toString()) in performPendingAttributions_generatesAggregateReport_excludeSourceRegistrationTime() 1011 JSONArray triggerData = getAggregateTriggerData(); in performPendingAttributions_generatesAggregateReport_excludeSourceRegistrationTime_includeContextId() local 1019 .setAggregateTriggerData(triggerData.toString()) in performPendingAttributions_generatesAggregateReport_excludeSourceRegistrationTime_includeContextId() 1096 JSONArray triggerData = getAggregateTriggerData(); in shouldDoSimpleAttributionWithNullReports_includeSourceRegistrationTime() local 1104 .setAggregateTriggerData(triggerData.toString()) in shouldDoSimpleAttributionWithNullReports_includeSourceRegistrationTime() 1138 JSONArray triggerData = getAggregateTriggerData(); in shouldDoSimpleAttribution_excludeSourceRegistrationTime_noNullReports() local 1146 .setAggregateTriggerData(triggerData.toString()) in shouldDoSimpleAttribution_excludeSourceRegistrationTime_noNullReports() [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/noising/ |
D | SourceNoiseHandlerTest.java | 704 Long triggerData = report.getTriggerData().getValue(); in verifyAlgorithmicFakeReportGeneration() local 705 assertTrue(0 <= triggerData && triggerData < expectedCardinality); in verifyAlgorithmicFakeReportGeneration()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/measurement/deletion/ |
D | MeasurementDataDeleterTest.java | 800 private static String getAttributionStatus(List<String> triggerIds, List<String> triggerData, in getAttributionStatus() argument 808 .put("trigger_data", triggerData.get(i)) in getAttributionStatus()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/registration/ |
D | AsyncSourceFetcherTest.java | 6952 UnsignedLong triggerData = new UnsignedLong(2L); in fetchSource_flexibleEventReportApi_setsDefaults() local 6956 triggerSpecs.getSummaryOperatorType(triggerData)); in fetchSource_flexibleEventReportApi_setsDefaults() 6959 List<Long> actualSummaryBuckets = triggerSpecs.getSummaryBucketsForTriggerData(triggerData); in fetchSource_flexibleEventReportApi_setsDefaults()
|