Home
last modified time | relevance | path

Searched refs:AttributionMode (Results 1 – 14 of 14) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/noising/
DSourceNoiseHandlerTest.java89 if (source.getAttributionMode() == Source.AttributionMode.FALSELY) { in fakeReports_flexEventReport_generatesFromStaticReportStates()
97 } else if (source.getAttributionMode() == Source.AttributionMode.NEVER) { in fakeReports_flexEventReport_generatesFromStaticReportStates()
118 .setAttributionMode(Source.AttributionMode.TRUTHFULLY) in fakeReports_flexEventReport_setsTriggerTime()
131 if (source.getAttributionMode() == Source.AttributionMode.FALSELY) { in fakeReports_flexEventReport_setsTriggerTime()
139 } else if (source.getAttributionMode() == Source.AttributionMode.NEVER) { in fakeReports_flexEventReport_setsTriggerTime()
161 .setAttributionMode(Source.AttributionMode.TRUTHFULLY) in fakeReports_flexEventReport_correctlyOrdersTriggerSummaryBucket()
171 if (source.getAttributionMode() == Source.AttributionMode.FALSELY) { in fakeReports_flexEventReport_correctlyOrdersTriggerSummaryBucket()
208 .setAttributionMode(Source.AttributionMode.TRUTHFULLY) in fakeReports_flexEventReport_ordersTriggerSummaryBucket_attributionScopeOff()
218 if (source.getAttributionMode() == Source.AttributionMode.FALSELY) { in fakeReports_flexEventReport_ordersTriggerSummaryBucket_attributionScopeOff()
265 if (source.getAttributionMode() == Source.AttributionMode.FALSELY) { in fakeReports_flexLiteEventReport_setsTriggerTime()
[all …]
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/noising/
DSourceNoiseHandler.java80 source.setAttributionMode(Source.AttributionMode.TRUTHFULLY); in assignAttributionModeAndGenerateFakeReports()
183 @Source.AttributionMode in assignAttributionModeAndGenerateFakeReports()
186 ? Source.AttributionMode.NEVER in assignAttributionModeAndGenerateFakeReports()
187 : Source.AttributionMode.FALSELY; in assignAttributionModeAndGenerateFakeReports()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/attribution/
DAttributionJobHandlerTest.java299 .setAttributionMode(Source.AttributionMode.TRUTHFULLY) in shouldRejectBasedOnDedupKey()
341 .setAttributionMode(Source.AttributionMode.TRUTHFULLY) in shouldRejectBasedOnDedupKey_dedupAlignFlagOff()
380 .setAttributionMode(Source.AttributionMode.TRUTHFULLY) in shouldNotCreateEventReportAfterEventReportWindow()
426 .setAttributionMode(Source.AttributionMode.TRUTHFULLY) in shouldNotCreateEventReportAfterEventReportWindow_secondTrigger()
486 .setAttributionMode(Source.AttributionMode.TRUTHFULLY) in shouldNotCreateEventReportAfterEventReportWindow_prioritisedSource()
495 .setAttributionMode(Source.AttributionMode.TRUTHFULLY) in shouldNotCreateEventReportAfterEventReportWindow_prioritisedSource()
526 .setAttributionMode(Source.AttributionMode.TRUTHFULLY) in shouldNotAddIfRateLimitExceeded_eventScopeOnly()
655 .setAttributionMode(Source.AttributionMode.TRUTHFULLY) in shouldNotAddIfAdTechPrivacyBoundExceeded()
688 .setAttributionMode(Source.AttributionMode.TRUTHFULLY) in performPendingAttributions_vtcWithConfiguredReportsCount_attributeUptoConfigLimit()
722 .setAttributionMode(Source.AttributionMode.TRUTHFULLY) in shouldIgnoreForMaxReportsPerSource()
[all …]
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/
DSource.java82 @AttributionMode private int mAttributionMode;
386 AttributionMode.UNASSIGNED,
387 AttributionMode.TRUTHFULLY,
388 AttributionMode.NEVER,
389 AttributionMode.FALSELY,
392 public @interface AttributionMode { annotation in Source
431 mAttributionMode = AttributionMode.UNASSIGNED; in Source()
678 public void setAttributionMode(@AttributionMode int attributionMode) { in setAttributionMode()
853 @AttributionMode
1579 public Builder setAttributionMode(@AttributionMode int attributionMode) { in setAttributionMode()
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/com/android/adservices/service/measurement/
DSourceFixture.java125 public static final @Source.AttributionMode int ATTRIBUTION_MODE =
126 Source.AttributionMode.TRUTHFULLY;
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/
DSourceTest.java105 assertEquals(Source.AttributionMode.UNASSIGNED, source.getAttributionMode()); in testDefaults()
1311 @Source.AttributionMode int attributionMode, in assertInvalidSourceArguments()
1566 .setAttributionMode(Source.AttributionMode.TRUTHFULLY) in validateAndSetNumReportStates_fullFlexValid_returnsTrue()
1611 .setAttributionMode(Source.AttributionMode.TRUTHFULLY) in validateAndSetNumReportStates_fullFlexArithmeticInvalid_returnsFalse()
1668 .setAttributionMode(Source.AttributionMode.TRUTHFULLY) in validateAndSetNumReportStates_fullFlexIterativeInvalid_returnsFalse()
1709 .setAttributionMode(Source.AttributionMode.TRUTHFULLY) in validateAndSetMaxEventStates_fullFlexAttributionScopeMaxEventStatesNull_returnsFalse()
1816 .setAttributionMode(Source.AttributionMode.TRUTHFULLY) in isFlexEventApiValueValid_eventSource_true()
1867 .setAttributionMode(Source.AttributionMode.TRUTHFULLY) in isFlexEventApiValueValid_eventSource_false()
1911 .setAttributionMode(Source.AttributionMode.TRUTHFULLY) in isFlexEventApiValueValid_navigationSource_true()
DTestObjectProvider.java117 source.setAttributionMode(Source.AttributionMode.FALSELY); in getAsyncRegistrationQueueRunner()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/registration/
DAsyncRegistrationQueueRunnerTest.java153 .setAttributionMode(Source.AttributionMode.TRUTHFULLY)
168 .setAttributionMode(Source.AttributionMode.TRUTHFULLY)
2484 source.setAttributionMode(Source.AttributionMode.FALSELY); in insertSource_withFakeReportsFalseAppAttribution_accountsForFakeReportAttribution()
2536 source.setAttributionMode(Source.AttributionMode.FALSELY); in insertSource_withFakeReportsFalseWebAttribution_accountsForFakeReportAttribution()
2593 source.setAttributionMode(Source.AttributionMode.FALSELY); in insertSource_withFalseAppAndWebAttribution_accountsForFakeReportAttribution()
2742 source.setAttributionMode(Source.AttributionMode.NEVER); in insertSource_withFakeReportsNeverAppAttribution_accountsForFakeReportAttribution()
3301 .setAttributionMode(Source.AttributionMode.TRUTHFULLY) in isSourceAllowedToInsert_flexEventApiValidNav_pass()
3365 .setAttributionMode(Source.AttributionMode.TRUTHFULLY) in isSourceAllowedToInsert_flexEventApiInvalidEventExceedMaxInfoGain_fail()
3433 .setAttributionMode(Source.AttributionMode.TRUTHFULLY) in isSourceAllowedToInsert_flexEventApiInvalidEventExceedNumStatesArithmetic_fail()
3516 .setAttributionMode(Source.AttributionMode.TRUTHFULLY) in isSourceAllowedToInsert_flexEventApiInvalidEventExceedNumStatesIterative_fail()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/measurement/
DDbState.java382 sJSON.optInt("attribution_mode", Source.AttributionMode.TRUTHFULLY)) in getSourceFrom()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/registration/
DAsyncRegistrationQueueRunner.java854 if (source.getAttributionMode() != Source.AttributionMode.TRUTHFULLY) { in insertSourceFromTransaction()
DAsyncSourceFetcher.java775 builder.setAttributionMode(Source.AttributionMode.TRUTHFULLY); in parseSource()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/measurement/migration/
DContentValueFixtures.java92 public static final long ATTRIBUTION_MODE = Source.AttributionMode.FALSELY;
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/attribution/
DAttributionJobHandler.java894 if (source.getAttributionMode() != Source.AttributionMode.TRUTHFULLY) { in maybeGenerateEventReport()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/reporting/
DEventReportWindowCalcDelegateTest.java1459 .setAttributionMode(Source.AttributionMode.TRUTHFULLY) in getReportingAndTriggerTimeForNoisingFlexEventApi_validTime_equal()