Home
last modified time | relevance | path

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

/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/noising/
DCombinatorics.java116 public static long getNumberOfStarsAndBarsSequences(int numStars, int numBars) { in getNumberOfStarsAndBarsSequences() argument
118 return LongMath.binomial(numStars + numBars, numStars); in getNumberOfStarsAndBarsSequences()
129 public static long[] getStarIndices(int numStars, long sequenceIndex) { in getStarIndices() argument
130 return getKCombinationAtIndex(sequenceIndex, numStars); in getStarIndices()
160 int numStars = numBucketIncrements; in getNumStatesArithmetic() local
162 return getNumberOfStarsAndBarsSequences(numStars, numBars); in getNumStatesArithmetic()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/
DSource.java247 int numStars = eventReportWindowCalcDelegate.getMaxReportCount(this); in validateAndSetNumReportStates() local
252 long numStates = Combinatorics.getNumberOfStarsAndBarsSequences(numStars, numBars); in validateAndSetNumReportStates()