/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/registration/ |
D | AsyncSourceFetcherTest.java | 6250 assertNotNull(result.getTriggerSpecs()); in fetchSource_flexibleEventReportApi_valid() 6251 assertEquals(3, result.getTriggerSpecs().getMaxReports()); in fetchSource_flexibleEventReportApi_valid() 6254 result.getTriggerSpecs() in fetchSource_flexibleEventReportApi_valid() 6255 .getTriggerSpecs()[0] in fetchSource_flexibleEventReportApi_valid() 6261 3, result.getTriggerSpecs().getTriggerSpecs()[0].getTriggerData().size()); in fetchSource_flexibleEventReportApi_valid() 6262 assertEquals(1, result.getTriggerSpecs().getTriggerSpecs().length); in fetchSource_flexibleEventReportApi_valid() 6269 result.getTriggerSpecs() in fetchSource_flexibleEventReportApi_valid() 6270 .getTriggerSpecs()[0] in fetchSource_flexibleEventReportApi_valid() 6317 assertNotNull(result.getTriggerSpecs()); in fetchSource_flexEventSourceTypeNavigationNoWindows_defaultsToNavigationWindows() 6318 assertEquals(3, result.getTriggerSpecs().getMaxReports()); in fetchSource_flexEventSourceTypeNavigationNoWindows_defaultsToNavigationWindows() [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/ |
D | TriggerSpecsTest.java | 84 assertEquals(2, testObject.getTriggerSpecs().length); in constructorThreeParameters_completeExpectation_success() 89 testObject.getTriggerSpecs()[0].getTriggerData()); in constructorThreeParameters_completeExpectation_success() 97 testObject.getTriggerSpecs()[1].getTriggerData()); in constructorThreeParameters_completeExpectation_success() 104 testObject.getTriggerSpecs()[0].getEventReportWindowsEnd()); in constructorThreeParameters_completeExpectation_success() 107 testObject.getTriggerSpecs()[1].getEventReportWindowsEnd()); in constructorThreeParameters_completeExpectation_success()
|
D | SourceTest.java | 1279 TriggerSpecs originalTriggerSpecs = validSource.getTriggerSpecs(); in triggerSpecs_encodingDecoding_equal() 1293 assertArrayEquals(originalTriggerSpecs.getTriggerSpecs(), triggerSpecs.getTriggerSpecs()); in triggerSpecs_encodingDecoding_equal() 1942 source.getTriggerSpecs(), in buildTriggerSpecs_validParams_pass()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/reporting/ |
D | EventReportWindowCalcDelegate.java | 146 if (source.getTriggerSpecs() == null) { in fallsWithinWindow() 160 TriggerSpecs triggerSpecs = source.getTriggerSpecs(); in fallsWithinWindow() 240 for (TriggerSpec triggerSpec : source.getTriggerSpecs().getTriggerSpecs()) { 258 for (TriggerSpec triggerSpec : source.getTriggerSpecs().getTriggerSpecs()) {
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/attribution/ |
D | AttributionJobHandler.java | 880 if (source.getTriggerSpecs() == null in maybeGenerateEventReport() 982 if (source.getTriggerSpecs() == null) { in maybeGenerateEventReport() 1040 source.getTriggerSpecs().prepareFlexAttribution( in restoreTriggerContributionsAndProvisionFlexEventReportQuota() 1047 int maxEventReports = source.getTriggerSpecs().getMaxReports(); in restoreTriggerContributionsAndProvisionFlexEventReportQuota() 1081 TriggerSpecs triggerSpecs = source.getTriggerSpecs(); in generateFlexEventReports() 1168 TriggerSpecs triggerSpecs = source.getTriggerSpecs(); in updateFlexAttributionStateAndGetNumReports() 1344 source.getTriggerSpecs(), in finalizeEventReportAndAttributionCreationForFlex() 1678 if (source.getTriggerSpecs() != null) { in getMatchingEffectiveTriggerData() 1687 if (!source.getTriggerSpecs().containsTriggerData(triggerData)) { in getMatchingEffectiveTriggerData()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/noising/ |
D | SourceNoiseHandler.java | 85 TriggerSpecs triggerSpecs = source.getTriggerSpecs(); in assignAttributionModeAndGenerateFakeReports()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/ |
D | Source.java | 508 if (getTriggerSpecs() != null) { in getTriggerDataCardinality() 509 return getTriggerSpecs().getTriggerDataCardinality(); in getTriggerDataCardinality() 563 public TriggerSpecs getTriggerSpecs() { in getTriggerSpecs() method in Source
|
D | TriggerSpecs.java | 199 public TriggerSpec[] getTriggerSpecs() { in getTriggerSpecs() method in TriggerSpecs
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/measurement/ |
D | MeasurementDaoTest.java | 331 validSource.getTriggerSpecs().getMaxReports(), in testInsertSource_flexibleEventReport_equal() 334 validSource.getTriggerSpecs().encodeToJson(), in testInsertSource_flexibleEventReport_equal() 338 validSource.getTriggerSpecs().encodePrivacyParametersToJsonString(), in testInsertSource_flexibleEventReport_equal() 340 assertEquals(validSource.getTriggerSpecs(), source.getTriggerSpecs()); in testInsertSource_flexibleEventReport_equal() 4016 insertAttributedTrigger(originalSource.getTriggerSpecs(), eventReportList.get(0)); in updateSourceAttributedTriggers_baseline_equal() 4022 0, newSource.getTriggerSpecs().getAttributedTriggers().size()); in updateSourceAttributedTriggers_baseline_equal() 7506 source1.getTriggerSpecs(), in fetchFlexSourceIdsFor_bringsMatchingSources_expectedSourceReturned() 7507 source2.getTriggerSpecs()); in fetchFlexSourceIdsFor_bringsMatchingSources_expectedSourceReturned() 7551 source3.getTriggerSpecs(), in fetchFlexSourceIdsFor_bringsMatchingSources_expectedSourceReturned() 7628 source1.getTriggerSpecs(), in fetchFlexSourceIdsFor_moreThanSqliteMaxCompoundSelect_expectedSourceReturned() [all …]
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/measurement/ |
D | MeasurementDao.java | 711 if (source.getTriggerSpecs() != null) { in insertSource() 712 values.put(SourceContract.TRIGGER_SPECS, source.getTriggerSpecs().encodeToJson()); in insertSource() 715 source.getTriggerSpecs().encodePrivacyParametersToJsonString()); in insertSource()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/attribution/ |
D | AttributionJobHandlerTest.java | 5174 assertEquals(1, source.getTriggerSpecs().getAttributedTriggers().size()); 5430 assertEquals(2, source.getTriggerSpecs().getAttributedTriggers().size()); 5604 assertEquals(2, source.getTriggerSpecs().getAttributedTriggers().size()); 5779 assertEquals(2, source.getTriggerSpecs().getAttributedTriggers().size()); 6220 assertEquals(3, source.getTriggerSpecs().getAttributedTriggers().size());
|