Home
last modified time | relevance | path

Searched refs:rng (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/keystore/java/android/security/keystore/
DKeyStoreCryptoOperationUtils.java98 static byte[] getRandomBytesToMixIntoKeystoreRng(SecureRandom rng, int sizeBytes) { in getRandomBytesToMixIntoKeystoreRng() argument
102 if (rng == null) { in getRandomBytesToMixIntoKeystoreRng()
103 rng = getRng(); in getRandomBytesToMixIntoKeystoreRng()
106 rng.nextBytes(result); in getRandomBytesToMixIntoKeystoreRng()
/frameworks/base/core/tests/coretests/src/android/app/
DDownloadManagerBaseTest.java309 protected byte[] generateData(int size, DataType type, Random rng) { in generateData() argument
321 if (rng == null) { in generateData()
322 rng = new LoggingRng(); in generateData()
326 result[i] = (byte) (min + rng.nextInt(max - min + 1)); in generateData()
613 Random rng = new LoggingRng(); in createFileOnSD() local
614 byte[] chunkSizeData = generateData(nextChunkSize, type, rng); in createFileOnSD()
621 randomData = generateData(nextChunkSize, type, rng); in createFileOnSD()
/frameworks/base/core/java/android/content/pm/
DVerifierDeviceIdentity.java89 static VerifierDeviceIdentity generate(Random rng) { in generate() argument
90 long identity = rng.nextLong(); in generate()
/frameworks/base/core/tests/coretests/src/android/util/
DBase64Test.java315 Random rng = new Random(32176L); in testInputStream() local
355 int l = writeLengths[rng.nextInt(writeLengths.length)]; in testInputStream()
394 int l = writeLengths[rng.nextInt(writeLengths.length)]; in testInputStream()
430 Random rng = new Random(32176L); in testOutputStream() local
470 int l = writeLengths[rng.nextInt(writeLengths.length)]; in testOutputStream()
513 int l = writeLengths[rng.nextInt(writeLengths.length)]; in testOutputStream()
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...