Home
last modified time | relevance | path

Searched refs:mPrivacyGenerator (Results 1 – 6 of 6) sorted by relevance

/packages/modules/AdServices/adservices/libraries/cobalt/tests/src/com/android/cobalt/observations/
DPrivacyGeneratorTest.java46 private final PrivacyGenerator mPrivacyGenerator; field in PrivacyGeneratorTest
49 mPrivacyGenerator = new PrivacyGenerator(new FakeSecureRandom()); in PrivacyGeneratorTest()
58 ImmutableList<PrivateIndexObservation> result = mPrivacyGenerator.generateNoise(0, sReport); in testAddNoise_noNoise_empty()
68 mPrivacyGenerator.generateNoise( in testAddNoise_fabricatedObservation_oneIndex()
84 mPrivacyGenerator.generateNoise( in testAddNoise_twoFabricatedObservations_oneIndex()
100 mPrivacyGenerator.generateNoise( in testAddNoise_oneFabricatedObservation_twoIndices()
116 mPrivacyGenerator.generateNoise( in testAddNoise_twoFabricatedObservations_threeIndices()
134 mPrivacyGenerator.generateNoise( in testAddNoise_metricWithDimensions_threeObservations()
150 () -> mPrivacyGenerator.generateNoise(-1, sReport)); in testAddNoise_negativeMaxIndex_throwsException()
160 mPrivacyGenerator.generateNoise( in testAddNoise_negativeLambda_throwsException()
DPrivacyGeneratorStatisticalTest.java53 private final PrivacyGenerator mPrivacyGenerator; field in PrivacyGeneratorStatisticalTest
57 mPrivacyGenerator = new PrivacyGenerator(mSecureRandom); in PrivacyGeneratorStatisticalTest()
108 totalIndicesAdded += mPrivacyGenerator.generateNoise(maxIndex, report).size(); in totalIndicesAddedTest()
245 mPrivacyGenerator.generateNoise(maxIndex, report); in distributionIndicesAdded()
DPrivateObservationGeneratorTest.java140 private final PrivacyGenerator mPrivacyGenerator; field in PrivateObservationGeneratorTest
145 mPrivacyGenerator = new PrivacyGenerator(mSecureRandom); in PrivateObservationGeneratorTest()
153 mPrivacyGenerator, in createObservationGenerator()
/packages/modules/AdServices/adservices/libraries/cobalt/java/com/android/cobalt/observations/
DObservationGeneratorFactory.java41 private final PrivacyGenerator mPrivacyGenerator; field in ObservationGeneratorFactory
53 mPrivacyGenerator = requireNonNull(privacyGenerator); in ObservationGeneratorFactory()
126 mPrivacyGenerator, in getPrivateObservationGenerator()
DPrivateObservationGenerator.java63 private final PrivacyGenerator mPrivacyGenerator; field in PrivateObservationGenerator
81 this.mPrivacyGenerator = requireNonNull(privacyGenerator); in PrivateObservationGenerator()
150 mPrivacyGenerator.generateNoise(maxIndexForReport(), mReport)) { in generateObservations()
/packages/modules/AdServices/adservices/libraries/cobalt/tests/src/com/android/cobalt/impl/
DCobaltPeriodicJobImplTest.java266 private PrivacyGenerator mPrivacyGenerator; field in CobaltPeriodicJobImplTest
310 mPrivacyGenerator = new PrivacyGenerator(mSecureRandom);
324 mPrivacyGenerator,