Searched refs:rng (Results 1 – 5 of 5) sorted by relevance
98 static byte[] getRandomBytesToMixIntoKeystoreRng(SecureRandom rng, int sizeBytes) { in getRandomBytesToMixIntoKeystoreRng() argument102 if (rng == null) { in getRandomBytesToMixIntoKeystoreRng()103 rng = getRng(); in getRandomBytesToMixIntoKeystoreRng()106 rng.nextBytes(result); in getRandomBytesToMixIntoKeystoreRng()
309 protected byte[] generateData(int size, DataType type, Random rng) { in generateData() argument321 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() local614 byte[] chunkSizeData = generateData(nextChunkSize, type, rng); in createFileOnSD()621 randomData = generateData(nextChunkSize, type, rng); in createFileOnSD()
89 static VerifierDeviceIdentity generate(Random rng) { in generate() argument90 long identity = rng.nextLong(); in generate()
315 Random rng = new Random(32176L); in testInputStream() local355 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() local470 int l = writeLengths[rng.nextInt(writeLengths.length)]; in testOutputStream()513 int l = writeLengths[rng.nextInt(writeLengths.length)]; in testOutputStream()
META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...