Home
last modified time | relevance | path

Searched refs:getMaxEventStates (Results 1 – 5 of 5) sorted by relevance

/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/
DSource.java287 if (getSourceType() == SourceType.EVENT && numStates > getMaxEventStates()) { in validateAndSetMaxEventStates()
328 long maxEventStates = getMaxEventStates() == null ? 1L : getMaxEventStates(); in getInformationGain()
1337 public Long getMaxEventStates() { in getMaxEventStates() method in Source
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/measurement/
DMeasurementDao.java386 if (pendingSource.getMaxEventStates() == null) { in deactivateSourcesWithDifferentMaxViewStates()
396 + pendingSource.getMaxEventStates()); in deactivateSourcesWithDifferentMaxViewStates()
728 values.put(SourceContract.MAX_EVENT_STATES, source.getMaxEventStates()); in insertSource()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/
DSourceTest.java1477 assertThat(source.getMaxEventStates()).isEqualTo(DEFAULT_MAX_EVENT_STATES); in validateAndSetMaxEventStates_maxEventStatesNullNavigation_returnsFalse()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/measurement/
DMeasurementDaoTest.java389 assertThat(source.getMaxEventStates()).isEqualTo(validSource.getMaxEventStates()); in testInsertSource_attributionScopeEnabled_success()
422 assertThat(source.getMaxEventStates()).isEqualTo(null); in testInsertSource_attributionScopeDisabled_doesNotInsertAttributionScopeRelatedData()
10929 assertThat(insertedSource.getMaxEventStates()) in insertSourceForAttributionScope()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/registration/
DAsyncSourceFetcherTest.java9752 assertThat(fetch.get().getMaxEventStates()).isEqualTo(3L); in fetchSource_attributionScopeEnabled_parsesAttributionScopeFields()
9789 assertThat(fetch.get().getMaxEventStates()).isNull(); in fetchSource_attributionScopeDisabled_skipsAttributionScopeFields()