/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/ |
D | OldSHA1PRNGSecureRandomTest.java | 129 sr.setSeed(myBytes); in testNextBytesbyteArray02() 130 sr2.setSeed(myBytes); in testNextBytesbyteArray02() 288 sr1.setSeed(myBytes); in testNextBytesbyteArray04() 289 sr2.setSeed(myBytes); in testNextBytesbyteArray04() 313 sr.setSeed(null); in testSetSeedbyteArray01() 335 sr.setSeed(seed); in testSetSeedbyteArray02() 336 sr.setSeed(seed); in testSetSeedbyteArray02() 337 sr2.setSeed(seed); in testSetSeedbyteArray02() 373 sr.setSeed(seed); in testSetSeedbyteArray03() 374 sr.setSeed(new byte[0]); in testSetSeedbyteArray03() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | RandomTest.java | 50 r.setSeed(1337); in test_setSeed() 52 r2.setSeed(1337); in test_setSeed() 239 random1.setSeed(1337); in test_setSeedJ() 240 random2.setSeed(1337); in test_setSeedJ() 241 random3.setSeed(5000); in test_setSeedJ() 254 random3.setSeed(1337); in test_setSeedJ()
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | SecureRandom2Test.java | 214 new SecureRandom().setSeed(SEED_BYTES); in test_setSeed$B() 220 new SecureRandom().setSeed(null); in test_setSeed$B() 233 new SecureRandom().setSeed(SEED_VALUE); in test_setSeedJ() 239 new SecureRandom().setSeed(-1); in test_setSeedJ() 303 sr1.setSeed(seed1); in testSetSeedComplimentsAfterFirstRandomNumber()
|
/libcore/ojluni/src/main/java/java/security/ |
D | SecureRandom.java | 203 private void getDefaultPRNG(boolean setSeed, byte[] seed) { in getDefaultPRNG() argument 213 if (setSeed) { in getDefaultPRNG() 435 synchronized public void setSeed(byte[] seed) { in setSeed() method in SecureRandom 453 public void setSeed(long seed) { in setSeed() method in SecureRandom
|
/libcore/luni/src/test/java/libcore/java/security/ |
D | SecureRandomTest.java | 85 sr.setSeed(STATIC_SEED_BYTES); in test_SecureRandom() 90 sr.setSeed(STATIC_SEED_LONG); in test_SecureRandom()
|
/libcore/luni/src/test/java/tests/java/security/ |
D | SecureRandomTest.java | 73 sr.setSeed(12345); in testSetSeedlong() 252 sr.setSeed(b); in testSetSeedbyteArray()
|
/libcore/luni/src/test/java/tests/security/ |
D | SecureRandomTest.java | 67 random.setSeed(System.currentTimeMillis()+counter); in getRandomBytes()
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | CollectionsBenchmark.java | 72 random.setSeed(0); in buildList()
|
/libcore/ojluni/src/main/java/java/util/ |
D | Random.java | 141 setSeed(seed); in Random() 168 synchronized public void setSeed(long seed) { in setSeed() method in Random
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | Random.java | 50 public synchronized void setSeed(long seed) { in setSeed() method in Random
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | ThreadLocalRandomTest.java | 54 ThreadLocalRandom.current().setSeed(17); in testSetSeed()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | RandomTest.java | 33 @Override public synchronized void setSeed(long seed) { state = Long.toString(seed); } in test_subclassing() method in RandomTest.MyRandom
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Math.java | 780 RandomNumberGeneratorHolder.randomNumberGenerator.setSeed(seed); in setRandomSeedInternal()
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | ThreadLocalRandom.java | 183 public void setSeed(long seed) { in setSeed() method in ThreadLocalRandom
|