HomeSort by relevance Sort by last modified time
    Searched full:random (Results 51 - 75 of 1680) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/icu4c/test/intltest/
dtfmtrtts.h 47 * Return a random uint32_t
50 // The portable IntlTest::random() function has sufficient
52 return ((uint32_t) (IntlTest::random() * (1<<16))) |
53 (((uint32_t) (IntlTest::random() * (1<<16))) << 16);
57 * Return a random double 0 <= x <= 1.0
65 * Return a random value from -range..+range (closed).
  /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
KeyGeneratorSpiTest.java 55 protected void engineInit(SecureRandom random) {
56 super.engineInit(random);
60 protected void engineInit(AlgorithmParameterSpec params, SecureRandom random)
62 super.engineInit(params, random);
66 protected void engineInit(int keysize, SecureRandom random) {
67 super.engineInit(keysize, random);
  /development/cmds/monkey/src/com/android/commands/monkey/
MonkeySourceRandom.java 28 import java.util.Random;
202 private Random mRandom;
235 public MonkeySourceRandom(Random random, ArrayList<ComponentName> MainApps,
237 // default values for random distributions
250 mRandom = random;
252 mQ = new MonkeyEventQueue(random, throttle, randomizeThrottle);
359 * Generates a random motion event. This method counts a down, move, and up as multiple events.
365 * TODO: More useful than the random walk here would be to pick a single random directio
    [all...]
  /external/stlport/test/eh/
random_number.h 21 // Return a random number in the given range.
24 // default base for random container sizes
  /external/webkit/JavaScriptCore/tests/mozilla/ecma_2/Statements/
try-004.js 23 TryToCatch( "Thrower(\"some random exception\")", "Caught some random exception" );
  /bionic/libc/kernel/common/linux/
etherdevice.h 17 #include <linux/random.h>
  /development/ndk/platforms/android-3/include/linux/
etherdevice.h 17 #include <linux/random.h>
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
MediaPlayerInvokeTest.java 32 import java.util.Random;
38 private Random rnd;
42 rnd = new Random(Calendar.getInstance().getTimeInMillis());
57 // Generate a random number, sends it to the ping test player.
  /libcore/luni/src/main/java/java/security/
AlgorithmParameterGeneratorSpi.java 43 * @param random
46 protected abstract void engineInit(int size, SecureRandom random);
54 * @param random
60 SecureRandom random) throws InvalidAlgorithmParameterException;
KeyPairGeneratorSpi.java 49 * @param random
52 public abstract void initialize(int keysize, SecureRandom random);
60 * @param random
65 public void initialize(AlgorithmParameterSpec params, SecureRandom random)
  /libcore/luni/src/test/resources/
blob.c 1 /* Some random file. */
  /prebuilt/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/
etherdevice.h 17 #include <linux/random.h>
  /prebuilt/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/linux/
etherdevice.h 17 #include <linux/random.h>
  /prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-arm/usr/include/linux/
etherdevice.h 17 #include <linux/random.h>
  /prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/linux/
etherdevice.h 17 #include <linux/random.h>
  /prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-arm/usr/include/linux/
etherdevice.h 17 #include <linux/random.h>
  /prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/linux/
etherdevice.h 17 #include <linux/random.h>
  /device/samsung/crespo/alsa-lib/test/
pcm_min.c 2 * This extra small demo sends a random samples to your speakers.
10 unsigned char buffer[16*1024]; /* some random data */
20 buffer[i] = random() & 0xff;
  /external/bouncycastle/src/main/java/org/bouncycastle/crypto/generators/
DHKeyGeneratorHelper.java 20 BigInteger calculatePrivate(DHParameters dhParams, SecureRandom random)
27 return new BigInteger(limit, random).setBit(limit - 1);
44 return BigIntegers.createRandomInRange(min, max, random);
  /external/dropbear/
random.c 43 /* The basic setup is we read some data from /dev/(u)random or prngd and hash it
67 dropbear_exit("couldn't open random device");
79 dropbear_exit("couldn't open random device");
84 dropbear_exit("couldn't open random device");
95 /* read the actual random data */
112 dropbear_log(LOG_INFO, "Warning: Reading the random source seems to have blocked.\nIf you experience problems, you probably need to find a better entropy source.");
121 dropbear_exit("error reading random source");
129 /* initialise the prng from /dev/(u)random or prngd */
155 /* hash the current random pool with some unique identifiers
157 * the random pools for fork()ed processes. *
    [all...]
  /libcore/luni/src/main/java/javax/crypto/
KeyGenerator.java 203 * @param random
204 * the randomness source for any random bytes.
209 public final void init(AlgorithmParameterSpec params, SecureRandom random)
211 spiImpl.engineInit(params, random);
231 * @param random
232 * the randomness source for any random bytes.
234 public final void init(int keysize, SecureRandom random) {
235 spiImpl.engineInit(keysize, random);
242 * @param random
243 * the randomness source for any random bytes
    [all...]
  /libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/
RandomBitsSupplier.java 32 * to system means for generating true random bits. <BR>
34 * The source for true random bits is one of Linux's devices "/dev/urandom" or
35 * "/dev/random" depends on which one is available; if both the first is used. <BR>
94 // // access /dev/*random, so try to fall back to using the system random() API
117 * On platforms with "random" devices available,
118 * the method reads random bytes from the device. <BR>
135 // the below case should not occur because /dev/random or /dev/urandom is a special file
161 // * On platforms with no "random" devices available, this native
162 // * method uses system API calls to generate random numbers<BR
    [all...]
  /libcore/luni/src/test/java/libcore/java/util/
RandomTest.java 19 import java.util.Random;
24 // Ensure that Random's constructors call setSeed by emulating the active ingredient
27 class MyRandom extends Random {
  /frameworks/base/tests/CoreTests/android/core/
InetAddrTest.java 23 import java.util.Random;
84 Random random = new Random(); local
87 int index = random.nextInt(HOSTS.length);
  /libcore/luni/src/test/java/libcore/java/util/zip/
ZipFileTest.java 25 import java.util.Random;
64 * Compresses a single random file into a .zip archive.
71 ZipEntry entry = new ZipEntry("random");
75 Random random = new Random(); local
77 random.nextBytes(writeBuffer);

Completed in 470 milliseconds

1 23 4 5 6 7 8 91011>>