Home
last modified time | relevance | path

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

/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/
DTriggerSpecs.java107 for (UnsignedLong triggerData : mTriggerSpecs[i].getTriggerData()) { in TriggerSpecs()
136 for (UnsignedLong triggerData : triggerSpecs[i].getTriggerData()) { in TriggerSpecs()
220 triggerDataIndex -= triggerSpec.getTriggerData().size(); in getTriggerDataFromIndex()
222 return triggerSpec.getTriggerData().get(prevTriggerDataIndex); in getTriggerDataFromIndex()
295 Comparator.comparing(EventReport::getTriggerData) in prepareFlexAttribution()
309 UnsignedLong triggerData = eventReport.getTriggerData(); in prepareFlexAttribution()
338 || !Objects.equals(attributedTrigger.getTriggerData(), in restoreTriggerContributionAndGetBucketDelta()
339 eventReport.getTriggerData())) { in restoreTriggerContributionAndGetBucketDelta()
344 if (getSummaryOperatorType(eventReport.getTriggerData()) in restoreTriggerContributionAndGetBucketDelta()
372 for (UnsignedLong ignored : triggerSpec.getTriggerData()) { in computePerTypeNumWindowList()
[all …]
DEventReport.java195 public UnsignedLong getTriggerData() { in getTriggerData() method in EventReport
520 mBuilding.mTriggerData = attributedTrigger.getTriggerData(); in getForFlex()
527 UnsignedLong triggerData = eventTrigger.getTriggerData(); in getTruncatedTriggerData()
DEventTrigger.java69 public UnsignedLong getTriggerData() { in getTriggerData() method in EventTrigger
DAttributedTrigger.java152 public UnsignedLong getTriggerData() { in getTriggerData() method in AttributedTrigger
DTriggerSpec.java68 public List<UnsignedLong> getTriggerData() { in getTriggerData() method in TriggerSpec
DSource.java488 public UnsignedLong getTriggerData() { in getTriggerData() method in Source.FakeReport
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/
DTriggerTest.java496 assertNotNull(aggregatableAttributionTrigger.get().getTriggerData()); in testAggregatableAttributionTrigger()
498 assertEquals(triggerData, aggregatableAttributionTrigger.get().getTriggerData()); in testAggregatableAttributionTrigger()
548 assertEquals(aggregateTrigger.getTriggerData().size(), 2); in testParseAggregateTrigger()
549 assertEquals(aggregateTrigger.getTriggerData().get(0).getSourceKeys().size(), 1); in testParseAggregateTrigger()
550 assertEquals(aggregateTrigger.getTriggerData().get(0).getKey().intValue(), 1024); in testParseAggregateTrigger()
551 assertTrue(aggregateTrigger.getTriggerData().get(0) in testParseAggregateTrigger()
553 assertTrue(aggregateTrigger.getTriggerData().get(0).getFilterSet().isPresent()); in testParseAggregateTrigger()
554 assertEquals(aggregateTrigger.getTriggerData().get(0).getFilterSet().get() in testParseAggregateTrigger()
556 assertTrue(aggregateTrigger.getTriggerData().get(0).getNotFilterSet().isPresent()); in testParseAggregateTrigger()
557 assertEquals(aggregateTrigger.getTriggerData().get(0).getNotFilterSet().get() in testParseAggregateTrigger()
[all …]
DEventReportTest.java143 assertEquals(new UnsignedLong(8L), eventReport.getTriggerData()); in creation_success()
167 assertEquals(new UnsignedLong(8L), eventReport.getTriggerData()); in creationSuccessSingleSourceDebugKey()
191 assertEquals(new UnsignedLong(8L), eventReport.getTriggerData()); in creationSuccessSingleTriggerDebugKey()
215 assertEquals(new UnsignedLong(8L), eventReport.getTriggerData()); in creationSuccessMultipleTriggerDebugKeys()
239 assertNull(eventReport.getTriggerData()); in defaults_success()
282 assertEquals(new UnsignedLong(0L), report.getTriggerData()); in populateFromSourceAndTrigger_eventSourceAppDestWithoutInstallAttribution()
333 assertEquals(new UnsignedLong(0L), report.getTriggerData()); in populate_eventSourceAppDestWithoutInstallConfigured()
361 when(eventTrigger.getTriggerData()).thenReturn(new UnsignedLong(-50003L)); in testpopulate_shouldTruncateTriggerDataWith64thBit()
379 assertEquals(new UnsignedLong(5L), report.getTriggerData()); in testpopulate_shouldTruncateTriggerDataWith64thBit()
420 assertEquals(new UnsignedLong(0L), report.getTriggerData()); in populate_eventSourceWebDestWithoutInstallAttribution()
[all …]
DTriggerSpecsTest.java89 testObject.getTriggerSpecs()[0].getTriggerData()); in constructorThreeParameters_completeExpectation_success()
97 testObject.getTriggerSpecs()[1].getTriggerData()); in constructorThreeParameters_completeExpectation_success()
DTriggerSpecTest.java167 assertEquals(expectedTriggerData, testObject.getTriggerData()); in triggerSpecBuilder_validJson_success()
DEventTriggerTest.java77 assertNotNull(eventTrigger.getTriggerData()); in testDefaults()
DAttributedTriggerTest.java425 assertEquals(TRIGGER_DATA1, attributedTrigger.getTriggerData()); in getters()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/aggregation/
DAggregatableAttributionTriggerTest.java85 assertEquals(attributionTrigger.getTriggerData().size(), 2); in testCreation()
86 assertEquals(attributionTrigger.getTriggerData().get(0).getKey().longValue(), 159L); in testCreation()
87 assertEquals(attributionTrigger.getTriggerData().get(0).getSourceKeys().size(), 2); in testCreation()
88 assertEquals(attributionTrigger.getTriggerData().get(1).getKey().longValue(), 5L); in testCreation()
89 assertEquals(attributionTrigger.getTriggerData().get(1).getSourceKeys().size(), 3); in testCreation()
98 assertEquals(attributionTrigger.getTriggerData().size(), 0); in testDefaults()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/noising/
DSourceNoiseHandlerTest.java176 Comparator.comparing(Source.FakeReport::getTriggerData) in fakeReports_flexEventReport_correctlyOrdersTriggerSummaryBucket()
186 if (prev.getTriggerData().equals(curr.getTriggerData())) { in fakeReports_flexEventReport_correctlyOrdersTriggerSummaryBucket()
223 Comparator.comparing(Source.FakeReport::getTriggerData) in fakeReports_flexEventReport_ordersTriggerSummaryBucket_attributionScopeOff()
233 if (prev.getTriggerData().equals(curr.getTriggerData())) { in fakeReports_flexEventReport_ordersTriggerSummaryBucket_attributionScopeOff()
704 Long triggerData = report.getTriggerData().getValue(); in verifyAlgorithmicFakeReportGeneration()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/attribution/
DAttributionJobHandler.java378 return !aggregatableAttributionTrigger.getTriggerData().isEmpty() in getTriggerHasAggregatableData()
1169 UnsignedLong triggerData = attributedTrigger.getTriggerData(); in updateFlexAttributionStateAndGetNumReports()
1273 UnsignedLong triggerData = newEventReport.getTriggerData(); in provisionEventReportQuota()
1285 UnsignedLong triggerData = newEventReport.getTriggerData(); in provisionEventReportQuota()
1325 eventTrigger.getTriggerData(), in finalizeEventReportCreation()
1355 attributedTrigger.getTriggerData()); in finalizeEventReportAndAttributionCreationForFlex()
1675 UnsignedLong triggerData = eventTrigger.getTriggerData(); in getMatchingEffectiveTriggerData()
1699 if (eventTrigger.getTriggerData().compareTo(triggerDataCardinalityBound) > 0) { in getMatchingEffectiveTriggerData()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/aggregation/
DAggregatableAttributionTrigger.java63 public List<AggregateTriggerData> getTriggerData() { in getTriggerData() method in AggregatableAttributionTrigger
DAggregatePayloadGenerator.java73 for (AggregateTriggerData triggerData : attributionTrigger.getTriggerData()) { in generateAttributionReport()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/reporting/
DEventReportWindowCalcDelegate.java241 triggerDataIndex -= triggerSpec.getTriggerData().size();
259 triggerDataIndex -= triggerSpec.getTriggerData().size();
DEventReportingJobHandler.java352 .setTriggerData(eventReport.getTriggerData()) in createReportJsonPayload()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/registration/
DAsyncSourceFetcherTest.java6256 .getTriggerData() in fetchSource_flexibleEventReportApi_valid()
6261 3, result.getTriggerSpecs().getTriggerSpecs()[0].getTriggerData().size()); in fetchSource_flexibleEventReportApi_valid()
6323 .getTriggerData() in fetchSource_flexEventSourceTypeNavigationNoWindows_defaultsToNavigationWindows()
6328 3, result.getTriggerSpecs().getTriggerSpecs()[0].getTriggerData().size()); in fetchSource_flexEventSourceTypeNavigationNoWindows_defaultsToNavigationWindows()
6392 .getTriggerData() in fetchSource_flexEventSourceTypeNavigationNoWindows_expiryBoundsWindows()
6397 3, result.getTriggerSpecs().getTriggerSpecs()[0].getTriggerData().size()); in fetchSource_flexEventSourceTypeNavigationNoWindows_expiryBoundsWindows()
6462 .getTriggerData() in fetchSource_flexEventSourceTypeNavigationNoWindows_eventReportWindowBoundsWindows()
6467 3, result.getTriggerSpecs().getTriggerSpecs()[0].getTriggerData().size()); in fetchSource_flexEventSourceTypeNavigationNoWindows_eventReportWindowBoundsWindows()
6528 .getTriggerData() in fetchSource_flexEventSourceTypeEventNoWindows_defaultsToEventWindows()
6533 3, result.getTriggerSpecs().getTriggerSpecs()[0].getTriggerData().size()); in fetchSource_flexEventSourceTypeEventNoWindows_defaultsToEventWindows()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/attribution/
DAttributionJobHandlerTest.java461 newReportArgs.get(0).getTriggerData(), in shouldNotCreateEventReportAfterEventReportWindow_secondTrigger()
462 triggers.get(0).parseEventTriggers(mFlags).get(0).getTriggerData()); in shouldNotCreateEventReportAfterEventReportWindow_secondTrigger()
5404 assertEquals(triggerData1, insertedEventReports.get(0).getTriggerData());
5405 assertEquals(triggerData2, insertedEventReports.get(1).getTriggerData());
5406 assertEquals(triggerData2, insertedEventReports.get(2).getTriggerData());
5579 assertEquals(triggerData2, insertedEventReports.get(0).getTriggerData());
5580 assertEquals(triggerData2, insertedEventReports.get(1).getTriggerData());
5581 assertEquals(triggerData1, insertedEventReports.get(2).getTriggerData());
5753 assertEquals(triggerData1, insertedEventReports.get(0).getTriggerData());
5754 assertEquals(triggerData1, insertedEventReports.get(1).getTriggerData());
[all …]
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/registration/
DAsyncRegistrationQueueRunner.java808 .setTriggerData(fakeReport.getTriggerData()) in generateFakeEventReports()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/measurement/
DAbstractDbIntegrationTest.java506 report.getTriggerData().getValue()); in insertToDb()
DMeasurementDaoTest.java11393 eventReport.getTriggerData(), in insertAttributedTrigger()
11406 eventReport.getTriggerData(), in insertAttributedTrigger()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/measurement/
DMeasurementDao.java1327 getNullableUnsignedLong(eventReport.getTriggerData())); in insertEventReport()