/packages/modules/AdServices/adservices/libraries/cobalt/java/com/android/cobalt/observations/ |
D | ObservationGeneratorFactory.java | 42 private final SecureRandom mSecureRandom; field in ObservationGeneratorFactory 54 mSecureRandom = requireNonNull(secureRandom); in ObservationGeneratorFactory() 91 mSecureRandom, in getNonPrivateObservationGenerator() 92 new IntegerEncoder(mSecureRandom), in getNonPrivateObservationGenerator() 108 mSecureRandom, in getNonPrivateObservationGenerator() 109 new StringHistogramEncoder(stringHashList, mSecureRandom), in getNonPrivateObservationGenerator() 127 mSecureRandom, in getPrivateObservationGenerator() 128 new PrivateIntegerEncoder(mSecureRandom, metric, report), in getPrivateObservationGenerator()
|
D | PrivateObservationGenerator.java | 64 private final SecureRandom mSecureRandom; field in PrivateObservationGenerator 82 this.mSecureRandom = requireNonNull(secureRandom); in PrivateObservationGenerator() 146 .setRandomId(RandomId.generate(mSecureRandom)) in generateObservations() 154 .setRandomId(RandomId.generate(mSecureRandom)) in generateObservations() 160 .setRandomId(RandomId.generate(mSecureRandom)) in generateObservations() 169 builder.setContributionId(RandomId.generate(mSecureRandom)); in generateObservations()
|
D | PrivacyGenerator.java | 32 private final SecureRandom mSecureRandom; field in PrivacyGenerator 35 this.mSecureRandom = secureRandom; in PrivacyGenerator() 93 double u = mSecureRandom.nextDouble(); in samplePoissonDistribution() 111 return mSecureRandom.nextInt(max + 1); in sampleUniformDistribution()
|
D | IntegerEncoder.java | 39 private final SecureRandom mSecureRandom; field in IntegerEncoder 42 this.mSecureRandom = requireNonNull(secureRandom); in IntegerEncoder() 64 .setRandomId(RandomId.generate(mSecureRandom)) in encode()
|
D | PrivateIntegerEncoder.java | 41 private final SecureRandom mSecureRandom; field in PrivateIntegerEncoder 47 this.mSecureRandom = requireNonNull(secureRandom); in PrivateIntegerEncoder() 73 mSecureRandom); in encode()
|
D | StringHistogramEncoder.java | 47 private final SecureRandom mSecureRandom; field in StringHistogramEncoder 56 this.mSecureRandom = requireNonNull(secureRandom); in StringHistogramEncoder() 116 .setRandomId(RandomId.generate(mSecureRandom)) in encode()
|
D | NonPrivateObservationGenerator.java | 53 private final SecureRandom mSecureRandom; field in NonPrivateObservationGenerator 67 this.mSecureRandom = requireNonNull(secureRandom); in NonPrivateObservationGenerator() 104 .setContributionId(RandomId.generate(mSecureRandom)) in generateObservations()
|
/packages/modules/AdServices/adservices/libraries/cobalt/tests/src/com/android/cobalt/observations/ |
D | StringHistogramEncoderTest.java | 52 private final SecureRandom mSecureRandom = new FakeSecureRandom(); field in StringHistogramEncoderTest 73 mSecureRandom); in stringsHashesOrderedAndCompacted() 100 mSecureRandom); in multipleEventsDisjointStrings() 172 mSecureRandom); in multipleEventsSameStrings() 240 mSecureRandom); in bucketWithInvalidIndexExcluded() 286 mSecureRandom); in bucketWithZeroCountExcluded() 331 mSecureRandom); in bucketCountsSummedForSameIndex()
|
D | PrivateIndexCalculationsTest.java | 38 private final SecureRandom mSecureRandom = new FakeSecureRandom(); field in PrivateIndexCalculationsTest 52 value, minValue, maxValue, numIndexPoints, mSecureRandom)) in testDoubleToIndex_maxValue_equalsMaxIndex() 66 value, minValue, maxValue, numIndexPoints, mSecureRandom)) in testDoubleToIndex_minValue_equalsMinIndex() 80 value, minValue, maxValue, numIndexPoints, mSecureRandom)) in testDoubleToIndex_middleValue_equalsInteriorIndex() 96 value, minValue, maxValue, numIndexPoints, mSecureRandom)) in testDoubleToIndex_distanceAboveLambda_returnsUpperIndex() 112 value, minValue, maxValue, numIndexPoints, mSecureRandom)) in testDoubleToIndex_distanceBelowLambda_returnsLowerIndex()
|
D | PrivacyGeneratorStatisticalTest.java | 52 private final SecureRandom mSecureRandom; field in PrivacyGeneratorStatisticalTest 56 mSecureRandom = new SecureRandom(); in PrivacyGeneratorStatisticalTest() 57 mPrivacyGenerator = new PrivacyGenerator(mSecureRandom); in PrivacyGeneratorStatisticalTest() 143 totalSum += PrivateIndexCalculations.indexOffset(distance, mSecureRandom); in indexOffsetTest() 199 mSecureRandom) in doubleToIndexTest()
|
D | PrivateObservationGeneratorTest.java | 139 private final SecureRandom mSecureRandom; field in PrivateObservationGeneratorTest 144 mSecureRandom = new FakeSecureRandom(); in PrivateObservationGeneratorTest() 145 mPrivacyGenerator = new PrivacyGenerator(mSecureRandom); in PrivateObservationGeneratorTest() 154 mSecureRandom, in createObservationGenerator() 155 new PrivateIntegerEncoder(mSecureRandom, metric, report), in createObservationGenerator()
|
D | NonPrivateObservationGeneratorTest.java | 152 private final SecureRandom mSecureRandom; field in NonPrivateObservationGeneratorTest 156 mSecureRandom = new FakeSecureRandom(); in NonPrivateObservationGeneratorTest() 163 mSecureRandom, in createObservationGenerator() 164 new IntegerEncoder(mSecureRandom), in createObservationGenerator()
|
/packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/ |
D | EapStateMachine.java | 80 private final SecureRandom mSecureRandom; field in EapStateMachine 88 this.mSecureRandom = secureRandom; in EapStateMachine() 352 mSecureRandom); in buildEapMethodStateMachine() 362 mSecureRandom); in buildEapMethodStateMachine() 369 return new EapMsChapV2MethodStateMachine(eapMsChapV2Config, mSecureRandom); in buildEapMethodStateMachine() 372 return new EapTtlsMethodStateMachine(mContext, eapTtlsConfig, mSecureRandom); in buildEapMethodStateMachine()
|
D | EapTtlsMethodStateMachine.java | 94 private final SecureRandom mSecureRandom; field in EapTtlsMethodStateMachine 124 mSecureRandom = secureRandom; in EapTtlsMethodStateMachine() 316 mEapTtlsConfig.getServerCaCert(), mSecureRandom); in startHandshake() 401 mContext, mEapTtlsConfig.getInnerEapSessionConfig(), mSecureRandom); in TunnelState()
|
D | EapMsChapV2MethodStateMachine.java | 193 private final SecureRandom mSecureRandom; field in EapMsChapV2MethodStateMachine 207 this.mSecureRandom = secureRandom; in EapMsChapV2MethodStateMachine() 268 mSecureRandom.nextBytes(peerChallenge); in process()
|
D | EapSimMethodStateMachine.java | 124 mSecureRandom = secureRandom; in EapSimMethodStateMachine() 174 mSecureRandom.nextBytes(nonce); in process()
|
D | EapAkaMethodStateMachine.java | 156 mSecureRandom = secureRandom; in EapAkaMethodStateMachine() 821 EapSimAkaAttribute.AtIv atIv = new EapSimAkaAttribute.AtIv(mSecureRandom); in handleReauthentication() 860 EapSimAkaAttribute.AtIv atIv = new EapSimAkaAttribute.AtIv(mSecureRandom); in handleReauthentication()
|
D | EapSimAkaMethodStateMachine.java | 108 @VisibleForTesting SecureRandom mSecureRandom; field in EapSimAkaMethodStateMachine 589 EapSimAkaAttribute.AtIv atIv = new EapSimAkaAttribute.AtIv(mSecureRandom); in handleEapSimAkaNotification()
|
/packages/modules/IPsec/src/java/com/android/internal/net/eap/crypto/ |
D | TlsSession.java | 104 private final SecureRandom mSecureRandom; field in TlsSession 118 mSecureRandom = secureRandom; in TlsSession() 138 mSecureRandom = secureRandom; in TlsSession()
|
/packages/modules/AdServices/adservices/libraries/cobalt/tests/src/com/android/cobalt/impl/ |
D | CobaltPeriodicJobImplTest.java | 265 private SecureRandom mSecureRandom; field in CobaltPeriodicJobImplTest 309 mSecureRandom = new ConstantFakeSecureRandom(); 310 mPrivacyGenerator = new PrivacyGenerator(mSecureRandom); 325 mSecureRandom,
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/statemachine/ |
D | EapSimAkaMethodStateMachineTest.java | 637 mStateMachine.mSecureRandom = mMockSecureRandom; in testHandleEapAkaNotificationPostReauth()
|