Home
last modified time | relevance | path

Searched refs:numBars (Results 1 – 3 of 3) sorted by relevance

/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/noising/
DImpressionNoiseUtil.java66 for (long numBars : barsPrecedingEachStar) { in getReportConfigsForSequenceIndex()
67 if (numBars == 0L) { in getReportConfigsForSequenceIndex()
72 int[] reportConfig = createReportingConfig(numBars, noiseParams); in getReportConfigsForSequenceIndex()
85 private static int[] createReportingConfig(long numBars, ImpressionNoiseParams noiseParams) { in createReportingConfig() argument
86 long triggerData = (numBars - 1L) % ((long) noiseParams.getTriggerDataCardinality()); in createReportingConfig()
87 long remainingData = (numBars - 1L) / ((long) noiseParams.getTriggerDataCardinality()); in createReportingConfig()
DCombinatorics.java116 public static long getNumberOfStarsAndBarsSequences(int numStars, int numBars) { in getNumberOfStarsAndBarsSequences() argument
118 return LongMath.binomial(numStars + numBars, numStars); in getNumberOfStarsAndBarsSequences()
161 int numBars = Math.multiplyExact(numTriggerData, numWindows); in getNumStatesArithmetic() local
162 return getNumberOfStarsAndBarsSequences(numStars, numBars); in getNumStatesArithmetic()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/
DSource.java248 int numBars = getTriggerDataCardinality() in validateAndSetNumReportStates() local
252 long numStates = Combinatorics.getNumberOfStarsAndBarsSequences(numStars, numBars); in validateAndSetNumReportStates()