Home
last modified time | relevance | path

Searched defs:random (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/database/
DNewDatabasePerformanceTests.java114 Random random = new Random(42); in setUp() local
146 Random random = new Random(42); in setUp() local
180 Random random = new Random(42); in setUp() local
219 Random random = new Random(42); in setUp() local
256 Random random = new Random(42); in setUp() local
294 Random random = new Random(42); in setUp() local
331 Random random = new Random(42); in setUp() local
370 Random random = new Random(42); in setUp() local
411 Random random = new Random(42); in setUp() local
462 Random random = new Random(42); in setUp() local
[all …]
DDatabasePerformanceTests.java205 Random random = new Random(42); in setUp() local
238 Random random = new Random(42); in setUp() local
273 Random random = new Random(42); in setUp() local
313 Random random = new Random(42); in setUp() local
351 Random random = new Random(42); in setUp() local
390 Random random = new Random(42); in setUp() local
428 Random random = new Random(42); in setUp() local
468 Random random = new Random(42); in setUp() local
510 Random random = new Random(42); in setUp() local
562 Random random = new Random(42); in setUp() local
[all …]
DDatabaseCursorTest.java241 Random random = new Random(System.currentTimeMillis()); in testLargeField() local
322 Random random = new Random(System.currentTimeMillis()); in testManyRowsTxt() local
355 Random random = new Random(System.currentTimeMillis()); in testManyRowsTxtLong() local
/frameworks/base/keystore/java/android/security/
DAndroidKeyPairGenerator.java188 public void initialize(int keysize, SecureRandom random) { in initialize()
193 public void initialize(AlgorithmParameterSpec params, SecureRandom random) in initialize()
/frameworks/base/tests/CoreTests/android/core/
DInetAddrTest.java84 Random random = new Random(); in testInetAddr() local
DHeapTest.java160 Random random = new Random(); in xxtestSoftRefPartialClean() local
/frameworks/volley/tests/src/com/android/volley/utils/
DCacheTestUtils.java19 Random random = new Random(); in makeRandomCacheEntry() local
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
DBitwiseStreamsTest.java95 Random random = new Random(); in testFive() local
139 Random random = new Random(); in testExpandArray() local
DFileRotatorTest.java340 final Random random = new Random(); in testFuzz() local
/frameworks/base/core/java/android/util/
DMathUtils.java159 public static int random(int howbig) { in random() method in MathUtils
163 public static int random(int howsmall, int howbig) { in random() method in MathUtils
168 public static float random(float howbig) { in random() method in MathUtils
172 public static float random(float howsmall, float howbig) { in random() method in MathUtils
/frameworks/base/core/tests/coretests/src/android/content/pm/
DVerifierDeviceIdentityTest.java154 MockRandom random = new MockRandom(); in testVerifierDeviceIdentity_Generate_MinValue() local
165 MockRandom random = new MockRandom(); in testVerifierDeviceIdentity_Generate_Random() local
/frameworks/base/core/tests/coretests/src/android/net/
DIpPrefixTest.java215 Random random = new Random(); in testHashCode() local
/frameworks/base/tests/BandwidthTests/src/com/android/tests/bandwidthenforcement/
DBandwidthEnforcementTestService.java185 final Random random = new Random(); in buildDnsQuery() local
/frameworks/base/services/core/java/com/android/server/location/
DGpsXtraDownloader.java87 Random random = new Random(); in GpsXtraDownloader() local
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DAdapterHelperTest.java758 Random random = new Random(System.nanoTime()); in testRandom() local
770 public void randomTest(Random random, int opCount) { in randomTest()
817 int nextInt(Random random, int n) { in nextInt()
DOpReorderTest.java43 static Random random = new Random(System.nanoTime()); field in OpReorderTest
261 int nextInt(Random random, int n) { in nextInt()
/frameworks/volley/tests/src/com/android/volley/
DRequestQueueTest.java55 Random random = new Random(); in makeRequests() local
/frameworks/base/core/tests/coretests/src/android/os/
DPerformanceCollectorTest.java375 Random random = new Random(); in workForRandomPeriod() local
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java574 final SecureRandom random = new SecureRandom(); in ensureAndroidIdIsSet() local
/frameworks/av/drm/drmserver/
DDrmManager.cpp57 int random = rand(); in addUniqueId() local
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
DTestService.java1144 Random random = new Random(0); in onInit() local
/frameworks/base/services/core/java/com/android/server/content/
DSyncManager.java495 Random random = new Random(SystemClock.elapsedRealtime()); in jitterize() local
DSyncStorageEngine.java1849 Random random = new Random(System.currentTimeMillis()); in readAccountInfoLocked() local
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupManagerService.java8479 Random random = new Random(); in startBackupAlarmsLocked() local