Home
last modified time | relevance | path

Searched refs:getAttributionScopeLimit (Results 1 – 4 of 4) sorted by relevance

/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/
DSource.java272 if (!flags.getMeasurementEnableAttributionScope() || getAttributionScopeLimit() == null) { in validateAndSetMaxEventStates()
327 getAttributionScopeLimit() == null ? 1L : getAttributionScopeLimit(); in getInformationGain()
1331 public Long getAttributionScopeLimit() { in getAttributionScopeLimit() method in Source
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/measurement/
DMeasurementDao.java408 + pendingSource.getAttributionScopeLimit()); in deactivateSourcesWithSmallerAttributionScopeLimit()
482 if (pendingSource.getAttributionScopeLimit() == null in removeOldAttributionScopes()
498 pendingSource.getAttributionScopeLimit()), in removeOldAttributionScopes()
506 if (pendingSource.getAttributionScopeLimit() == null) { in updateSourcesForAttributionScope()
727 values.put(SourceContract.ATTRIBUTION_SCOPE_LIMIT, source.getAttributionScopeLimit()); in insertSource()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/registration/
DAsyncSourceFetcherTest.java9751 assertThat(fetch.get().getAttributionScopeLimit()).isEqualTo(4L); in fetchSource_attributionScopeEnabled_parsesAttributionScopeFields()
9788 assertThat(fetch.get().getAttributionScopeLimit()).isNull(); in fetchSource_attributionScopeDisabled_skipsAttributionScopeFields()
9896 assertThat(fetch.get().getAttributionScopeLimit()).isEqualTo(4L); in fetchSource_attributionScopeEmpty_pass()
10003 assertThat(fetch.get().getAttributionScopeLimit()).isEqualTo(4L); in fetchSource_emptyAttributionScopesAndLimitSet_success()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/measurement/
DMeasurementDaoTest.java387 assertThat(source.getAttributionScopeLimit()) in testInsertSource_attributionScopeEnabled_success()
388 .isEqualTo(validSource.getAttributionScopeLimit()); in testInsertSource_attributionScopeEnabled_success()
421 assertThat(source.getAttributionScopeLimit()).isEqualTo(null); in testInsertSource_attributionScopeDisabled_doesNotInsertAttributionScopeRelatedData()
10931 assertThat(insertedSource.getAttributionScopeLimit()) in insertSourceForAttributionScope()