Searched refs:sRandom (Results 1 – 9 of 9) sorted by relevance
37 private static final Random sRandom = new Random(); field in ProvisionedKeyTest40 int length = 16 + sRandom.nextInt(112); in randBytes()42 sRandom.nextBytes(bytes); in randBytes()53 key.clientUid = sRandom.nextInt(); in randomKey()54 key.keyId = sRandom.nextInt(); in randomKey()
38 private static final Random sRandom = new Random(); field in JobSchedulingLogger125 return sRandom.nextInt(MAX_PERCENTAGE) < loggingRatio; in shouldLog()
74 private static final Random sRandom = new Random(); field in JobServiceLogger531 return sRandom.nextInt(MAX_PERCENTAGE) < loggingRatio; in shouldLog()
57 private static final SecureRandom sRandom = new SecureRandom(); field in PersistMmsAtomsStorage290 int insertAt = sRandom.nextInt(maxSize); in insertAtRandomPlace()294 int insertAt = sRandom.nextInt(storage_size); in insertAtRandomPlace()
63 public static Random sRandom = new Random(SystemClock.uptimeMillis()); field in SpeedMeasurementController321 sRandom.nextBytes(buffer); in run()400 sRandom.nextBytes(buffer); in run()
97 private static final Random sRandom = new Random(); field in SimContactDaoTests526 final int emailCount = sRandom.nextInt(10); in appendCreateContact()527 final int phoneCount = sRandom.nextInt(5); in appendCreateContact()746 AREA_CODES[sRandom.nextInt(AREA_CODES.length)], in randomPhone()747 sRandom.nextInt(100)); in randomPhone()752 1000 + sRandom.nextInt(1000)); in randomEmail()
90 private static final Random sRandom = new Random(); field in ApConfigUtil570 return availableSafeFreqs.get(sRandom.nextInt(availableSafeFreqs.size())); in chooseApChannel()574 sRandom.nextInt(availableUnsafeFreqs.size())); in chooseApChannel()
82 public static Random sRandom = new Random(SystemClock.uptimeMillis()); field in Helpers512 sequence += sRandom.nextInt(magnitude) + 1; in generateAvailableFilenameLocked()
275 return delay + Helpers.sRandom.nextInt((int) (delay / 2)); in fuzzDelay()