Home
last modified time | relevance | path

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

/packages/apps/Contacts/tests/src/com/android/contacts/database/
DSimContactDaoTests.java97 private static final Random sRandom = new Random(); field in SimContactDaoTests
526 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()
/packages/services/Car/tests/usb/AoapHostApp/src/com/google/android/car/usb/aoap/host/
DSpeedMeasurementController.java61 public static Random sRandom = new Random(SystemClock.uptimeMillis()); field in SpeedMeasurementController
295 sRandom.nextBytes(buffer); in run()
374 sRandom.nextBytes(buffer); in run()
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DApConfigUtil.java70 private static final Random sRandom = new Random(); field in ApConfigUtil
441 return availableSafeFreqs.get(sRandom.nextInt(availableSafeFreqs.size())); in chooseApChannel()
445 sRandom.nextInt(availableUnsafeFreqs.size())); in chooseApChannel()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DHelpers.java78 public static Random sRandom = new Random(SystemClock.uptimeMillis()); field in Helpers
492 sequence += sRandom.nextInt(magnitude) + 1; in generateAvailableFilenameLocked()
DDownloadInfo.java275 return delay + Helpers.sRandom.nextInt((int) (delay / 2)); in fuzzDelay()