Searched refs:attributedTrigger (Results 1 – 6 of 6) sorted by relevance
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/ |
D | AttributedTriggerTest.java | 410 AttributedTrigger attributedTrigger = in getters() local 421 attributedTrigger.addContribution(CONTRIBUTION); in getters() 422 assertEquals(CONTRIBUTION, attributedTrigger.getContribution()); in getters() 423 assertEquals(TRIGGER_ID1, attributedTrigger.getTriggerId()); in getters() 424 assertEquals(PRIORITY1, attributedTrigger.getPriority()); in getters() 425 assertEquals(TRIGGER_DATA1, attributedTrigger.getTriggerData()); in getters() 426 assertEquals(VALUE1, attributedTrigger.getValue()); in getters() 427 assertEquals(TRIGGER_TIME1, attributedTrigger.getTriggerTime()); in getters() 428 assertEquals(DEDUP_KEY1, attributedTrigger.getDedupKey()); in getters() 429 assertEquals(DEBUG_KEY1, attributedTrigger.getDebugKey()); in getters() [all …]
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/ |
D | TriggerSpecs.java | 321 for (AttributedTrigger attributedTrigger : mAttributedTriggersRef) { in prepareFlexAttribution() 323 attributedTrigger, eventReport, bucketSize); in prepareFlexAttribution() 334 AttributedTrigger attributedTrigger, EventReport eventReport, long bucketSize) { in restoreTriggerContributionAndGetBucketDelta() argument 337 if (attributedTrigger.getTriggerTime() >= eventReport.getReportTime() in restoreTriggerContributionAndGetBucketDelta() 338 || !Objects.equals(attributedTrigger.getTriggerData(), in restoreTriggerContributionAndGetBucketDelta() 347 if (attributedTrigger.remainingValue() >= bucketSize) { in restoreTriggerContributionAndGetBucketDelta() 348 attributedTrigger.addContribution(bucketSize); in restoreTriggerContributionAndGetBucketDelta() 352 long diff = attributedTrigger.remainingValue(); in restoreTriggerContributionAndGetBucketDelta() 353 attributedTrigger.addContribution(diff); in restoreTriggerContributionAndGetBucketDelta() 357 } else if (attributedTrigger.getContribution() == 0L) { in restoreTriggerContributionAndGetBucketDelta() [all …]
|
D | EventReport.java | 496 @NonNull AttributedTrigger attributedTrigger, in getForFlex() argument 520 mBuilding.mTriggerData = attributedTrigger.getTriggerData(); in getForFlex()
|
D | Source.java | 529 for (AttributedTrigger attributedTrigger : mAttributedTriggers) { in getAttributedTriggerIds() 530 result.add(attributedTrigger.getTriggerId()); in getAttributedTriggerIds()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/attribution/ |
D | AttributionJobHandler.java | 1127 for (AttributedTrigger attributedTrigger : attributedTriggers) { in generateFlexEventReports() 1130 if (attributedTrigger.getDedupKey() != null in generateFlexEventReports() 1132 source.getEventReportDedupKeys().add(attributedTrigger.getDedupKey()); in generateFlexEventReports() 1139 attributedTrigger, in generateFlexEventReports() 1162 AttributedTrigger attributedTrigger, in updateFlexAttributionStateAndGetNumReports() argument 1169 UnsignedLong triggerData = attributedTrigger.getTriggerData(); in updateFlexAttributionStateAndGetNumReports() 1187 if (attributedTrigger.remainingValue() > 0L) { in updateFlexAttributionStateAndGetNumReports() 1188 contributingTriggers.add(attributedTrigger); in updateFlexAttributionStateAndGetNumReports() 1199 if (attributedTrigger.remainingValue() >= bucketSize - bucketAmount) { in updateFlexAttributionStateAndGetNumReports() 1203 attributedTrigger, in updateFlexAttributionStateAndGetNumReports() [all …]
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/measurement/deletion/ |
D | MeasurementDataDeleter.java | 285 source.getAttributedTriggers().removeIf(attributedTrigger -> in resetDedupKeys() 286 dedupKey.equals(attributedTrigger.getDedupKey()) in resetDedupKeys() 289 attributedTrigger.getTriggerId())); in resetDedupKeys()
|