Home
last modified time | relevance | path

Searched refs:triggerFilter (Results 1 – 2 of 2) sorted by relevance

/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/util/
DFilter.java66 FilterMap sourceFilter, FilterMap triggerFilter, boolean isFilter) { in isFilterMatch() argument
68 ? isFilterMatchWithLookbackWindow(sourceFilter, triggerFilter, isFilter) in isFilterMatch()
69 : isFilterMatchV1(sourceFilter, triggerFilter, isFilter); in isFilterMatch()
73 FilterMap sourceFilter, FilterMap triggerFilter, boolean isFilter) { in isFilterMatchV1() argument
74 for (String key : triggerFilter.getAttributionFilterMap().keySet()) { in isFilterMatchV1()
80 List<String> triggerValues = triggerFilter.getAttributionFilterMap().get(key); in isFilterMatchV1()
89 FilterMap sourceFilter, FilterMap triggerFilter, boolean isFilter) { in isFilterMatchWithLookbackWindow() argument
90 for (String key : triggerFilter.getAttributionFilterMapWithLongValue().keySet()) { in isFilterMatchWithLookbackWindow()
94 FilterValue filterValue = triggerFilter.getAttributionFilterMapWithLongValue().get(key); in isFilterMatchWithLookbackWindow()
104 triggerFilter in isFilterMatchWithLookbackWindow()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/util/
DFilterTest.java98 FilterMap triggerFilter = in testIsFilterMatch_nonEmptyValues_returnsTrue() local
101 assertTrue(new Filter(mFlags).isFilterMatch(sourceFilter, List.of(triggerFilter), true)); in testIsFilterMatch_nonEmptyValues_returnsTrue()
114 FilterMap triggerFilter = in testIsFilterMatchV2_insideLookbackWindow_returnsTrue() local
123 assertTrue(new Filter(mFlags).isFilterMatch(sourceFilter, List.of(triggerFilter), true)); in testIsFilterMatchV2_insideLookbackWindow_returnsTrue()
132 FilterMap triggerFilter = in testIsFilterMatchV2_emptySource_returnsTrue() local
141 assertTrue(new Filter(mFlags).isFilterMatch(sourceFilter, List.of(triggerFilter), true)); in testIsFilterMatchV2_emptySource_returnsTrue()
154 FilterMap triggerFilter = in testIsFilterMatchV2_outsideLookbackWindow_returnsFalse() local
163 assertFalse(new Filter(mFlags).isFilterMatch(sourceFilter, List.of(triggerFilter), true)); in testIsFilterMatchV2_outsideLookbackWindow_returnsFalse()
216 FilterMap triggerFilter = in testIsFilterMatch_nonEmptyValues_returnFalse() local
219 assertFalse(new Filter(mFlags).isFilterMatch(sourceFilter, List.of(triggerFilter), true)); in testIsFilterMatch_nonEmptyValues_returnFalse()
[all …]