/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/testmode/ |
D | DeterministicSecureRandomTest.java | 41 DeterministicSecureRandom secureRandom = new DeterministicSecureRandom(); in testDeterministicSecureRandomNonRepeating() local 45 secureRandom.generateSeed(BYTE_ARRAY_LEN), in testDeterministicSecureRandomNonRepeating() 46 secureRandom.generateSeed(BYTE_ARRAY_LEN))); in testDeterministicSecureRandomNonRepeating() 47 assertNotEquals(secureRandom.nextLong(), secureRandom.nextLong()); in testDeterministicSecureRandomNonRepeating() 51 secureRandom.nextBytes(randomBytesOne); in testDeterministicSecureRandomNonRepeating() 52 secureRandom.nextBytes(randomBytesTwo); in testDeterministicSecureRandomNonRepeating()
|
/packages/modules/Uwb/androidx_backend/src/androidx/core/uwb/backend/impl/internal/ |
D | UwbAddress.java | 97 private static byte[] generateRandomByteArray(int len, SecureRandom secureRandom) { in generateRandomByteArray() argument 99 secureRandom.nextBytes(bytes); in generateRandomByteArray() 105 SecureRandom secureRandom = new SecureRandom(); in getRandomizedShortAddress() local 106 return fromBytes(generateRandomByteArray(SHORT_ADDRESS_LENGTH, secureRandom)); in getRandomizedShortAddress() 111 SecureRandom secureRandom = new SecureRandom(); in getRandomizedExtendedAddress() local 112 return fromBytes(generateRandomByteArray(EXTENDED_ADDRESS_LENGTH, secureRandom)); in getRandomizedExtendedAddress()
|
/packages/modules/AdServices/adservices/libraries/cobalt/java/com/android/cobalt/observations/ |
D | PrivateIndexCalculations.java | 61 SecureRandom secureRandom) { in doubleToIndex() argument 67 return ((int) lowerIndex) + indexOffset(distanceToIndex, secureRandom); in doubleToIndex() 87 SecureRandom secureRandom) { in longToIndex() argument 89 (double) value, (double) minValue, (double) maxValue, numIndexPoints, secureRandom); in longToIndex() 105 static int indexOffset(double distance, SecureRandom secureRandom) { in indexOffset() argument 106 if (secureRandom.nextDouble() > distance) { in indexOffset()
|
D | RandomId.java | 27 static ByteString generate(SecureRandom secureRandom) { in generate() argument 29 secureRandom.nextBytes(randomId); in generate()
|
D | IntegerEncoder.java | 41 IntegerEncoder(@NonNull SecureRandom secureRandom) { in IntegerEncoder() argument 42 this.mSecureRandom = requireNonNull(secureRandom); in IntegerEncoder()
|
D | PrivateIntegerEncoder.java | 44 @NonNull SecureRandom secureRandom, in PrivateIntegerEncoder() 47 this.mSecureRandom = requireNonNull(secureRandom); in PrivateIntegerEncoder()
|
D | PrivacyGenerator.java | 34 public PrivacyGenerator(SecureRandom secureRandom) { in PrivacyGenerator() argument 35 this.mSecureRandom = secureRandom; in PrivacyGenerator()
|
D | StringHistogramEncoder.java | 51 @NonNull SecureRandom secureRandom) { in StringHistogramEncoder() argument 56 this.mSecureRandom = requireNonNull(secureRandom); in StringHistogramEncoder()
|
D | NonPrivateObservationGenerator.java | 61 @NonNull SecureRandom secureRandom, in NonPrivateObservationGenerator() 67 this.mSecureRandom = requireNonNull(secureRandom); in NonPrivateObservationGenerator()
|
D | ObservationGeneratorFactory.java | 49 @NonNull SecureRandom secureRandom) { in ObservationGeneratorFactory() argument 54 mSecureRandom = requireNonNull(secureRandom); in ObservationGeneratorFactory()
|
D | PrivateObservationGenerator.java | 74 @NonNull SecureRandom secureRandom, in PrivateObservationGenerator() argument 82 this.mSecureRandom = requireNonNull(secureRandom); in PrivateObservationGenerator()
|
/packages/modules/IPsec/src/java/com/android/internal/net/eap/crypto/ |
D | TlsSessionFactory.java | 37 public TlsSession newInstance(X509Certificate serverCaCert, SecureRandom secureRandom) in newInstance() argument 39 return new TlsSession(serverCaCert, secureRandom); in newInstance()
|
D | TlsSession.java | 116 TlsSession(X509Certificate serverCaCert, SecureRandom secureRandom) in TlsSession() argument 118 mSecureRandom = secureRandom; in TlsSession() 121 mSslContext.init(null, mTrustManagers, secureRandom); in TlsSession() 135 SecureRandom secureRandom) { in TlsSession() argument 138 mSecureRandom = secureRandom; in TlsSession()
|
/packages/modules/AdServices/adservices/libraries/cobalt/tests/src/com/android/cobalt/observations/ |
D | ObservationGeneratorFactoryTest.java | 65 SecureRandom secureRandom = new FakeSecureRandom(); in setup() local 71 new PrivacyGenerator(secureRandom), in setup() 72 secureRandom); in setup()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/ |
D | AuctionServerPayloadFormatterExcessiveMaxSizeTest.java | 47 SecureRandom secureRandom = new SecureRandom(); in getRandomByteArray() local 49 secureRandom.nextBytes(result); in getRandomByteArray()
|
D | AuctionServerPayloadFormatterV0Test.java | 58 SecureRandom secureRandom = new SecureRandom(); in getRandomByteArray() local 60 secureRandom.nextBytes(result); in getRandomByteArray()
|
/packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/ |
D | EapSimMethodStateMachine.java | 99 SecureRandom secureRandom) { in EapSimMethodStateMachine() argument 104 secureRandom, in EapSimMethodStateMachine() local 113 SecureRandom secureRandom, in EapSimMethodStateMachine() argument 124 mSecureRandom = secureRandom; in EapSimMethodStateMachine()
|
D | EapMsChapV2MethodStateMachine.java | 197 EapMsChapV2Config eapMsChapV2Config, SecureRandom secureRandom) { in EapMsChapV2MethodStateMachine() argument 198 this(eapMsChapV2Config, secureRandom, new EapMsChapV2TypeDataDecoder()); in EapMsChapV2MethodStateMachine() 204 SecureRandom secureRandom, in EapMsChapV2MethodStateMachine() argument 207 this.mSecureRandom = secureRandom; in EapMsChapV2MethodStateMachine()
|
D | EapTtlsMethodStateMachine.java | 103 SecureRandom secureRandom) { in EapTtlsMethodStateMachine() argument 107 secureRandom, in EapTtlsMethodStateMachine() 117 SecureRandom secureRandom, in EapTtlsMethodStateMachine() argument 124 mSecureRandom = secureRandom; in EapTtlsMethodStateMachine()
|
D | EapAkaMethodStateMachine.java | 131 SecureRandom secureRandom) { in EapAkaMethodStateMachine() argument 138 secureRandom); in EapAkaMethodStateMachine() local 148 SecureRandom secureRandom) { in EapAkaMethodStateMachine() argument 156 mSecureRandom = secureRandom; in EapAkaMethodStateMachine()
|
D | EapStateMachine.java | 85 @NonNull SecureRandom secureRandom) { in EapStateMachine() argument 88 this.mSecureRandom = secureRandom; in EapStateMachine()
|
/packages/modules/Uwb/service/java/com/android/server/uwb/secure/csml/ |
D | CsmlUtil.java | 281 SecureRandom secureRandom = new SecureRandom(); in generate256BitRandomKeyInfo() local 283 secureRandom.nextBytes(keyBits256); in generate256BitRandomKeyInfo()
|
/packages/modules/AdServices/adservices/libraries/cobalt/java/com/android/cobalt/impl/ |
D | CobaltPeriodicJobImpl.java | 104 @NonNull SecureRandom secureRandom, in CobaltPeriodicJobImpl() argument 128 Objects.requireNonNull(secureRandom)); in CobaltPeriodicJobImpl()
|
/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/adselection/ |
D | AdSelectionManagerTest.java | 322 SecureRandom secureRandom = new SecureRandom(); in getRandomByteArray() local 324 secureRandom.nextBytes(result); in getRandomByteArray()
|
/packages/modules/Connectivity/thread/service/java/com/android/server/thread/ |
D | ThreadNetworkControllerService.java | 865 SecureRandom secureRandom) { 895 .setPskc(newRandomBytes(secureRandom, LENGTH_PSKC)) 896 .setNetworkKey(newRandomBytes(secureRandom, LENGTH_NETWORK_KEY))
|