Home
last modified time | relevance | path

Searched refs:getMeasurementEnableAttributionScope (Results 1 – 17 of 17) sorted by relevance

/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/noising/
DSourceNoiseHandler.java100 if (mFlags.getMeasurementEnableAttributionScope()) { in assignAttributionModeAndGenerateFakeReports()
163 if (mFlags.getMeasurementEnableAttributionScope()) { in assignAttributionModeAndGenerateFakeReports()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/noising/
DSourceNoiseHandlerTest.java112 doReturn(true).when(mFlags).getMeasurementEnableAttributionScope(); in fakeReports_flexEventReport_setsTriggerTime()
155 doReturn(true).when(mFlags).getMeasurementEnableAttributionScope(); in fakeReports_flexEventReport_correctlyOrdersTriggerSummaryBucket()
202 doReturn(false).when(mFlags).getMeasurementEnableAttributionScope(); in fakeReports_flexEventReport_ordersTriggerSummaryBucket_attributionScopeOff()
248 doReturn(true).when(mFlags).getMeasurementEnableAttributionScope(); in fakeReports_flexLiteEventReport_setsTriggerTime()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/
DSourceTest.java1392 doReturn(true).when(flags).getMeasurementEnableAttributionScope(); in validateAndSetMaxEventStates_attributionScopeEnabledValid_returnsTrue()
1422 doReturn(true).when(flags).getMeasurementEnableAttributionScope(); in validateAndSetMaxEventStates_maxEventStatesNullNonDefaultVtc_returnsFalse()
1452 doReturn(true).when(flags).getMeasurementEnableAttributionScope(); in validateAndSetMaxEventStates_maxEventStatesNullNavigation_returnsFalse()
1483 doReturn(true).when(flags).getMeasurementEnableAttributionScope(); in validateAndSetMaxEventStates_attributionScopeMaxEventStatesTooLow_returnsFalse()
1682 doReturn(true).when(flags).getMeasurementEnableAttributionScope(); in validateAndSetMaxEventStates_fullFlexAttributionScopeMaxEventStatesNull_returnsFalse()
1722 when(mFlags.getMeasurementEnableAttributionScope()).thenReturn(false); in testGetInformationGain_attributionScopeOff_doesNotIncludeAttributionScopeParams()
1741 when(mFlags.getMeasurementEnableAttributionScope()).thenReturn(true); in testGetInformationGain_attributionScopeOn_includesAttributionScopeParams()
1762 when(mFlags.getMeasurementEnableAttributionScope()).thenReturn(true); in testGetInformationGain_attributionScopeOnParamsNull_fallbackToDefaultValue()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/
DSource.java272 if (!flags.getMeasurementEnableAttributionScope() || getAttributionScopeLimit() == null) { in validateAndSetMaxEventStates()
325 if (flags.getMeasurementEnableAttributionScope()) { in getInformationGain()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/registration/
DAsyncSourceFetcherTest.java9719 when(mFlags.getMeasurementEnableAttributionScope()).thenReturn(true); in fetchSource_attributionScopeEnabled_parsesAttributionScopeFields()
9758 when(mFlags.getMeasurementEnableAttributionScope()).thenReturn(false); in fetchSource_attributionScopeDisabled_skipsAttributionScopeFields()
9794 when(mFlags.getMeasurementEnableAttributionScope()).thenReturn(true); in fetchSource_missingAttributionScopeLimitAndScopesSet_fails()
9829 when(mFlags.getMeasurementEnableAttributionScope()).thenReturn(true); in fetchSource_attributionScopeNotAString_fails()
9865 when(mFlags.getMeasurementEnableAttributionScope()).thenReturn(true); in fetchSource_attributionScopeEmpty_pass()
9902 when(mFlags.getMeasurementEnableAttributionScope()).thenReturn(true); in fetchSource_missingAttributionScopeLimitAndMaxEventStatesSet_fails()
9937 when(mFlags.getMeasurementEnableAttributionScope()).thenReturn(true); in fetchSource_attributionScopeTooLong_fails()
9974 when(mFlags.getMeasurementEnableAttributionScope()).thenReturn(true); in fetchSource_emptyAttributionScopesAndLimitSet_success()
10009 when(mFlags.getMeasurementEnableAttributionScope()).thenReturn(true); in fetchSource_maxEventStatesNegative_fails()
10046 when(mFlags.getMeasurementEnableAttributionScope()).thenReturn(true); in fetchSource_maxEventStatesTooHigh_fails()
[all …]
DAsyncRegistrationQueueRunnerTest.java4549 when(mFlags.getMeasurementEnableAttributionScope()).thenReturn(true); in isSourceAllowedToInsert_maxEventStatesTooSmall_fail()
4607 when(mFlags.getMeasurementEnableAttributionScope()).thenReturn(true); in isSourceAllowedToInsert_maxEventStatesValid_pass()
4666 when(mFlags.getMeasurementEnableAttributionScope()).thenReturn(true); in isSourceAllowedToInsert_eventMaxEventStatesValidInfoGainTooHigh_fail()
4726 when(mFlags.getMeasurementEnableAttributionScope()).thenReturn(true); in isSourceAllowedToInsert_navigationMaxEventStatesValidInfoGainTooHigh_fail()
4786 when(mFlags.getMeasurementEnableAttributionScope()).thenReturn(true); in runAsyncRegistrationQueueWorker_attributionScopeEnabled_updateSources()
4830 when(mFlags.getMeasurementEnableAttributionScope()).thenReturn(false); in runAsyncRegistrationQueueWorker_attributionScopeDisabled_doNotUpdateSources()
DAsyncTriggerFetcherTest.java6756 when(mFlags.getMeasurementEnableAttributionScope()).thenReturn(true); in fetchTrigger_attributionScopeEnabled_parsesAttributionScopeFields()
6782 when(mFlags.getMeasurementEnableAttributionScope()).thenReturn(true); in fetchTrigger_attributionScopeTooLong_fails()
6809 when(mFlags.getMeasurementEnableAttributionScope()).thenReturn(true); in fetchTrigger_attributionScopeNotAString_fails()
6836 when(mFlags.getMeasurementEnableAttributionScope()).thenReturn(true); in fetchTrigger_attributionScopeEmpty_pass()
6862 when(mFlags.getMeasurementEnableAttributionScope()).thenReturn(true); in fetchTrigger_zeroAttributionScope_fail()
6890 when(mFlags.getMeasurementEnableAttributionScope()).thenReturn(false); in fetchTrigger_attributionScopeDisabled_skipsAttributionScopeFields()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/registration/
DAsyncRegistrationQueueRunner.java840 if (mFlags.getMeasurementEnableAttributionScope()) { in insertSourceFromTransaction()
DAsyncTriggerFetcher.java338 if (mFlags.getMeasurementEnableAttributionScope() in parseTrigger()
DAsyncSourceFetcher.java486 if (mFlags.getMeasurementEnableAttributionScope() in parseCommonSourceParams()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/
DFlags.java4522 default boolean getMeasurementEnableAttributionScope() { in getMeasurementEnableAttributionScope() method
DPhFlags.java3200 public boolean getMeasurementEnableAttributionScope() { in getMeasurementEnableAttributionScope() method in PhFlags
3766 + getMeasurementEnableAttributionScope()); in dump()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/measurement/
DMeasurementDaoTest.java371 doReturn(true).when(mFlags).getMeasurementEnableAttributionScope(); in testInsertSource_attributionScopeEnabled_success()
404 doReturn(false).when(mFlags).getMeasurementEnableAttributionScope(); in testInsertSource_attributionScopeDisabled_doesNotInsertAttributionScopeRelatedData()
4362 doReturn(true).when(mFlags).getMeasurementEnableAttributionScope(); in testGetMatchingActiveSources_attributionScopeEnabled_populateScopes()
9665 doReturn(true).when(mFlags).getMeasurementEnableAttributionScope(); in testUpdateSourcesForAttributionScope_diffMaxViewStates_ignoresSourcesDeletesReports()
9854 doReturn(true).when(mFlags).getMeasurementEnableAttributionScope(); in testUpdateSourcesForAttributionScope_smallerLimit_ignoresSourcesDeletesReports()
10045 doReturn(true).when(mFlags).getMeasurementEnableAttributionScope(); in testUpdateSourcesForAttributionScope_scopesNotSelected_removesScopes()
10928 boolean attributionScopeEnabled = mFlags.getMeasurementEnableAttributionScope(); in insertSourceForAttributionScope()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/measurement/
DMeasurementDao.java725 FlagsFactory.getFlags().getMeasurementEnableAttributionScope(); in insertSource()
909 return FlagsFactory.getFlags().getMeasurementEnableAttributionScope() in getMatchingActiveSources()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/attribution/
DAttributionJobHandler.java749 if (mFlags.getMeasurementEnableAttributionScope()) { in selectSourceToAttribute()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/attribution/
DAttributionJobHandlerTest.java7355 when(mFlags.getMeasurementEnableAttributionScope()).thenReturn(true); in performAttributions_attributionScopeEnabled_attributesSourceWithSameAttributionScope()
7458 when(mFlags.getMeasurementEnableAttributionScope()).thenReturn(true); in performAttributions_noAttributionScopeMatch_attributesToNone()
7521 when(mFlags.getMeasurementEnableAttributionScope()).thenReturn(true); in performAttributions_multipleTriggerAttributionScopes_selectsAllMatchingScopes()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/
DPhFlagsTest.java4919 Flags::getMeasurementEnableAttributionScope); in testGetMeasurementEnableAttributionScope()