Home
last modified time | relevance | path

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

/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/noising/
DImpressionNoiseUtil.java113 long numStates = in selectFlexEventReportRandomStateAndGenerateReportConfigs() local
116 long sequenceIndex = nextLong(rand, numStates); in selectFlexEventReportRandomStateAndGenerateReportConfigs()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/
DSource.java252 long numStates = Combinatorics.getNumberOfStarsAndBarsSequences(numStars, numBars); in validateAndSetNumReportStates() local
253 if (numStates > reportStateCountLimit) { in validateAndSetNumReportStates()
257 setNumStates(numStates); in validateAndSetNumReportStates()
275 Long numStates = in validateAndSetMaxEventStates() local
279 if (numStates == null || numStates == 0L) { in validateAndSetMaxEventStates()
287 if (getSourceType() == SourceType.EVENT && numStates > getMaxEventStates()) { in validateAndSetMaxEventStates()
1142 private void setNumStates(long numStates) { in setNumStates() argument
1143 mNumStates = numStates; in setNumStates()
DTriggerSpecs.java500 long numStates = Combinatorics.getNumStatesFlexApi( in PrivacyComputationParams() local
506 if (numStates > reportStateCountLimit) { in PrivacyComputationParams()
510 mNumStates = numStates; in PrivacyComputationParams()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/
DSourceTest.java1728 long numStates = 2925L; in testGetInformationGain_attributionScopeOff_doesNotIncludeAttributionScopeParams() local
1732 numStates, in testGetInformationGain_attributionScopeOff_doesNotIncludeAttributionScopeParams()
1734 numStates, Flags.DEFAULT_MEASUREMENT_PRIVACY_EPSILON))) in testGetInformationGain_attributionScopeOff_doesNotIncludeAttributionScopeParams()
1749 long numStates = 2925L; in testGetInformationGain_attributionScopeOn_includesAttributionScopeParams() local
1753 numStates, in testGetInformationGain_attributionScopeOn_includesAttributionScopeParams()
1755 numStates, Flags.DEFAULT_MEASUREMENT_PRIVACY_EPSILON))) in testGetInformationGain_attributionScopeOn_includesAttributionScopeParams()
1766 long numStates = 2925L; in testGetInformationGain_attributionScopeOnParamsNull_fallbackToDefaultValue() local
1770 numStates, in testGetInformationGain_attributionScopeOnParamsNull_fallbackToDefaultValue()
1772 numStates, Flags.DEFAULT_MEASUREMENT_PRIVACY_EPSILON))) in testGetInformationGain_attributionScopeOnParamsNull_fallbackToDefaultValue()