Home
last modified time | relevance | path

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

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/
DFilterMapTest.java52 when(mFlags.getMeasurementEnableLookbackWindowFilter()).thenReturn(false); in setup()
115 when(mFlags.getMeasurementEnableLookbackWindowFilter()).thenReturn(true); in serializeAsJson_lookbackWindowFilterEnabled_success()
146 when(mFlags.getMeasurementEnableLookbackWindowFilter()).thenReturn(true); in testIsEmpty_lookbackWindowFilterEnabled_notEmpty()
158 when(mFlags.getMeasurementEnableLookbackWindowFilter()).thenReturn(true); in testIsEmpty_lookbackWindowFilterEnabled_empty()
167 when(mFlags.getMeasurementEnableLookbackWindowFilter()).thenReturn(false); in testIsEmpty_lookbackWindowFilterDisabled_notEmpty()
176 when(mFlags.getMeasurementEnableLookbackWindowFilter()).thenReturn(false); in testIsEmpty_lookbackWindowFilterDisabled_empty()
DSourceTest.java95 ExtendedMockito.doReturn(false).when(mFlags).getMeasurementEnableLookbackWindowFilter(); in setup()
861 when(mFlags.getMeasurementEnableLookbackWindowFilter()).thenReturn(true); in testAggregatableAttributionSourceWithTrigger_addsLookbackWindow()
965 when(mFlags.getMeasurementEnableLookbackWindowFilter()).thenReturn(true); in testGetFilterData_withTrigger_addsLookbackWindow()
991 when(mFlags.getMeasurementEnableLookbackWindowFilter()).thenReturn(true); in testGetFilterData_withTriggerAndEmptyData_addsLookbackWindow()
1008 when(mFlags.getMeasurementEnableLookbackWindowFilter()).thenReturn(true); in testGetSharedFilterData_withLongValue_success()
1027 when(mFlags.getMeasurementEnableLookbackWindowFilter()).thenReturn(false); in testGetSharedFilterData_success()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/registration/
DFetcherUtilTest.java431 when(mFlags.getMeasurementEnableLookbackWindowFilter()).thenReturn(true); in areValidAttributionFilters_lookbackWindowAllowedAndValid_returnsTrue()
450 when(mFlags.getMeasurementEnableLookbackWindowFilter()).thenReturn(true); in areValidAttributionFilters_validlLookbackWindowA_removeSizeConstrains_returnsTrue()
469 when(mFlags.getMeasurementEnableLookbackWindowFilter()).thenReturn(true); in areValidAttributionFilters_lookbackWindowAllowedButInvalid_returnsFalse()
489 when(mFlags.getMeasurementEnableLookbackWindowFilter()).thenReturn(true); in areValidAttributionFilters_invalidLookbackWindow_removeSizeConstraints_returnsFalse()
508 when(mFlags.getMeasurementEnableLookbackWindowFilter()).thenReturn(false); in areValidAttributionFilters_lookbackWindowDisllowed_returnsFalse()
528 when(mFlags.getMeasurementEnableLookbackWindowFilter()).thenReturn(false); in areValidAttributionFilters_lookbackWindowDisllowed_removeSizeConstraints_returnsFalse()
546 when(mFlags.getMeasurementEnableLookbackWindowFilter()).thenReturn(true); in areValidAttributionFilters_zeroLookbackWindow_returnsFalse()
565 when(mFlags.getMeasurementEnableLookbackWindowFilter()).thenReturn(true); in areValidAttributionFilters_zeroLookbackWindow_removeSizeConstraints_returnsFalse()
584 when(mFlags.getMeasurementEnableLookbackWindowFilter()).thenReturn(true); in areValidAttributionFilters_negativeLookbackWindow_returnsFalse()
604 when(mFlags.getMeasurementEnableLookbackWindowFilter()).thenReturn(true); in areValidAttributionFilters_negativeLookbackWindow_removeSizeConstraints_returnsFalse()
DAsyncTriggerFetcherTest.java2585 when(mFlags.getMeasurementEnableLookbackWindowFilter()).thenReturn(true); in fetchTrigger_positiveLookbackWindow_acceptsTrigger()
2609 when(mFlags.getMeasurementEnableLookbackWindowFilter()).thenReturn(true); in fetchTrigger_invalidLookbackWindow_rejectsTrigger()
2633 when(mFlags.getMeasurementEnableLookbackWindowFilter()).thenReturn(true); in fetchTrigger_zeroLookbackWindow_rejectsTrigger()
2657 when(mFlags.getMeasurementEnableLookbackWindowFilter()).thenReturn(true); in fetchTrigger_negativeLookbackWindow_rejectsTrigger()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/
DFilterMap.java91 return flags.getMeasurementEnableLookbackWindowFilter() in isEmpty()
111 return flags.getMeasurementEnableLookbackWindowFilter() in serializeAsJson()
201 return flags.getMeasurementEnableLookbackWindowFilter() in buildFilterData()
DSource.java951 return flags.getMeasurementEnableLookbackWindowFilter() in getAggregatableAttributionSource()
1184 return flags.getMeasurementEnableLookbackWindowFilter() in getFilterData()
1243 if (flags.getMeasurementEnableLookbackWindowFilter()) { in getSharedFilterData()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/util/
DFilterTest.java48 when(mFlags.getMeasurementEnableLookbackWindowFilter()).thenReturn(false); in setup()
122 when(mFlags.getMeasurementEnableLookbackWindowFilter()).thenReturn(true); in testIsFilterMatchV2_insideLookbackWindow_returnsTrue()
140 when(mFlags.getMeasurementEnableLookbackWindowFilter()).thenReturn(true); in testIsFilterMatchV2_emptySource_returnsTrue()
162 when(mFlags.getMeasurementEnableLookbackWindowFilter()).thenReturn(true); in testIsFilterMatchV2_outsideLookbackWindow_returnsFalse()
382 when(mFlags.getMeasurementEnableLookbackWindowFilter()).thenReturn(true); in testIsFilterMatchV2_withNegation_outsideLookbackWindow_returnTrue()
403 when(mFlags.getMeasurementEnableLookbackWindowFilter()).thenReturn(true); in testIsFilterMatchV2_withNegation_insideLookbackWindow_returnFalse()
604 when(mFlags.getMeasurementEnableLookbackWindowFilter()).thenReturn(true); in serializeAndDeserializeFilterSetV2_success()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/util/
DFilter.java67 return mFlags.getMeasurementEnableLookbackWindowFilter() in isFilterMatch()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/registration/
DFetcherUtil.java327 if (flags.getMeasurementEnableLookbackWindowFilter() in areValidAttributionFilters()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/aggregation/
DAggregatableAttributionTriggerTest.java442 when(mFlags.getMeasurementEnableLookbackWindowFilter()).thenReturn(true); in testExtractDedupKey_lookbackWindowEnabledAndEmptyDedupKeys_returnsEmpty()
DAggregatePayloadGeneratorTest.java274 doReturn(true).when(mFlags).getMeasurementEnableLookbackWindowFilter(); in testGenerateAttributionReport_insideLookbackWindow_filterSetMatches()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/attribution/
DXnaSourceCreatorTest.java505 doReturn(true).when(mFlags).getMeasurementEnableLookbackWindowFilter(); in generateDerivedSources_lookbackWindow_filtersAndGeneratesSources()
DAttributionJobHandlerTest.java6726 when(mFlags.getMeasurementEnableLookbackWindowFilter()).thenReturn(true);
6826 when(mFlags.getMeasurementEnableLookbackWindowFilter()).thenReturn(true);
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/
DFlags.java826 default boolean getMeasurementEnableLookbackWindowFilter() { in getMeasurementEnableLookbackWindowFilter() method
DPhFlags.java3155 public boolean getMeasurementEnableLookbackWindowFilter() { in getMeasurementEnableLookbackWindowFilter() method in PhFlags
5118 + getMeasurementEnableLookbackWindowFilter()); in dump()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/attribution/
DAttributionJobHandler.java1575 return mFlags.getMeasurementEnableLookbackWindowFilter() in extractFilterSet()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/
DPhFlagsTest.java2766 Flags::getMeasurementEnableLookbackWindowFilter); in testGetMeasurementEnableLookbackWindowFilter()