Searched refs:noiseParams (Results 1 – 3 of 3) sorted by relevance
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/noising/ |
D | ImpressionNoiseUtil.java | 41 ImpressionNoiseParams noiseParams, ThreadLocalRandom rand) { in selectRandomStateAndGenerateReportConfigs() argument 45 /*numStars=*/ noiseParams.getReportCount(), in selectRandomStateAndGenerateReportConfigs() 46 /*numBars=*/ noiseParams.getTriggerDataCardinality() in selectRandomStateAndGenerateReportConfigs() 47 * noiseParams.getReportingWindowCount() in selectRandomStateAndGenerateReportConfigs() 48 * noiseParams.getDestinationTypeMultiplier()); in selectRandomStateAndGenerateReportConfigs() 51 return getReportConfigsForSequenceIndex(noiseParams, sequenceIndex); in selectRandomStateAndGenerateReportConfigs() 56 ImpressionNoiseParams noiseParams, long sequenceIndex) { in getReportConfigsForSequenceIndex() argument 60 /*numStars=*/noiseParams.getReportCount(), in getReportConfigsForSequenceIndex() 72 int[] reportConfig = createReportingConfig(numBars, noiseParams); in getReportConfigsForSequenceIndex() 85 private static int[] createReportingConfig(long numBars, ImpressionNoiseParams noiseParams) { in createReportingConfig() argument [all …]
|
D | SourceNoiseHandler.java | 89 ImpressionNoiseParams noiseParams = getImpressionNoiseParams(source); in assignAttributionModeAndGenerateFakeReports() local 91 ImpressionNoiseUtil.selectRandomStateAndGenerateReportConfigs(noiseParams, rand) in assignAttributionModeAndGenerateFakeReports()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/noising/ |
D | ImpressionNoiseUtilTest.java | 66 (noiseParams, expectedReports, sequenceIndex) -> { 69 noiseParams, sequenceIndex); 75 (noiseParams, expectedReports, rand) -> { 78 noiseParams, rand); 106 ImpressionNoiseParams noiseParams = in selectRandomStateAndGenerateReportConfigs_event() local 116 /* impressionNoise= */ noiseParams, in selectRandomStateAndGenerateReportConfigs_event() 124 /* impressionNoise= */ noiseParams, in selectRandomStateAndGenerateReportConfigs_event() 132 ImpressionNoiseParams noiseParams = in selectRandomStateAndGenerateReportConfigs_eventWithInstallAttribution() local 142 /* impressionNoise= */ noiseParams, in selectRandomStateAndGenerateReportConfigs_eventWithInstallAttribution() 149 /* impressionNoise= */ noiseParams, in selectRandomStateAndGenerateReportConfigs_eventWithInstallAttribution() [all …]
|