Home
last modified time | relevance | path

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

12

/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.java242 Random random = new Random(System.currentTimeMillis()); in testLargeField() local
323 Random random = new Random(System.currentTimeMillis()); in testManyRowsTxt() local
356 Random random = new Random(System.currentTimeMillis()); in testManyRowsTxtLong() local
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
DUT_alloc_copyPadded.java83 Random random = new Random(0x172d8ab9); in testAllocation_Byte3_1D() local
114 Random random = new Random(0x172d8ab9); in testAllocation_Byte3_2D() local
146 Random random = new Random(0x172d8ab9); in testAllocation_Byte3_3D() local
179 Random random = new Random(0x172d8ab9); in testAllocation_Short3_1D() local
213 Random random = new Random(0x172d8ab9); in testAllocation_Short3_2D() local
248 Random random = new Random(0x172d8ab9); in testAllocation_Short3_3D() local
284 Random random = new Random(0x172d8ab9); in testAllocation_Int3_1D() local
318 Random random = new Random(0x172d8ab9); in testAllocation_Int3_2D() local
353 Random random = new Random(0x172d8ab9); in testAllocation_Int3_3D() local
389 Random random = new Random(0x172d8ab9); in testAllocation_Float3_1D() local
[all …]
DUT_alloc_copy.java58 Random random = new Random(0x172d8ab9); in allocation_copy1DRangeTo_Byte() local
97 Random random = new Random(0x172d8ab9); in allocation_copy1DRangeTo_Short() local
139 Random random = new Random(0x172d8ab9); in allocation_copy1DRangeTo_Int() local
181 Random random = new Random(0x172d8ab9); in allocation_copy1DRangeTo_Float() local
223 Random random = new Random(0x172d8ab9); in allocation_copy1DRangeTo_Long() local
265 Random random = new Random(0x172d8ab9); in allocation_copy2DRangeTo_Byte() local
300 Random random = new Random(0x172d8ab9); in allocation_copy2DRangeTo_Short() local
338 Random random = new Random(0x172d8ab9); in allocation_copy2DRangeTo_Int() local
376 Random random = new Random(0x172d8ab9); in allocation_copy2DRangeTo_Float() local
414 Random random = new Random(0x172d8ab9); in allocation_copy2DRangeTo_Long() local
[all …]
/frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/
DUT_alloc_copyPadded.java83 Random random = new Random(0x172d8ab9); in testAllocation_Byte3_1D() local
114 Random random = new Random(0x172d8ab9); in testAllocation_Byte3_2D() local
146 Random random = new Random(0x172d8ab9); in testAllocation_Byte3_3D() local
179 Random random = new Random(0x172d8ab9); in testAllocation_Short3_1D() local
213 Random random = new Random(0x172d8ab9); in testAllocation_Short3_2D() local
248 Random random = new Random(0x172d8ab9); in testAllocation_Short3_3D() local
284 Random random = new Random(0x172d8ab9); in testAllocation_Int3_1D() local
318 Random random = new Random(0x172d8ab9); in testAllocation_Int3_2D() local
353 Random random = new Random(0x172d8ab9); in testAllocation_Int3_3D() local
389 Random random = new Random(0x172d8ab9); in testAllocation_Float3_1D() local
[all …]
DUT_alloc_copy.java58 Random random = new Random(0x172d8ab9); in allocation_copy1DRangeTo_Byte() local
97 Random random = new Random(0x172d8ab9); in allocation_copy1DRangeTo_Short() local
139 Random random = new Random(0x172d8ab9); in allocation_copy1DRangeTo_Int() local
181 Random random = new Random(0x172d8ab9); in allocation_copy1DRangeTo_Float() local
223 Random random = new Random(0x172d8ab9); in allocation_copy1DRangeTo_Long() local
265 Random random = new Random(0x172d8ab9); in allocation_copy2DRangeTo_Byte() local
300 Random random = new Random(0x172d8ab9); in allocation_copy2DRangeTo_Short() local
338 Random random = new Random(0x172d8ab9); in allocation_copy2DRangeTo_Int() local
376 Random random = new Random(0x172d8ab9); in allocation_copy2DRangeTo_Float() local
414 Random random = new Random(0x172d8ab9); in allocation_copy2DRangeTo_Long() local
[all …]
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DTextUtils.java27 private static String randomWord(Random random, int length) { in randomWord()
39 Random random = new Random(0); in buildSimpleStringList() local
68 Random random = new Random(0); in buildParagraphListWithHitPercentage() local
/frameworks/base/keystore/java/android/security/keystore/
DAndroidKeyStoreKeyGeneratorSpi.java51 protected void engineInit(AlgorithmParameterSpec params, SecureRandom random) in engineInit()
138 protected void engineInit(SecureRandom random) { in engineInit()
144 protected void engineInit(int keySize, SecureRandom random) { in engineInit()
150 protected void engineInit(AlgorithmParameterSpec params, SecureRandom random) in engineInit()
DAndroidKeyStoreCipherSpiBase.java100 protected final void engineInit(int opmode, Key key, SecureRandom random) in engineInit()
123 SecureRandom random) throws InvalidKeyException, InvalidAlgorithmParameterException { in engineInit()
141 SecureRandom random) throws InvalidKeyException, InvalidAlgorithmParameterException { in engineInit()
157 private void init(int opmode, Key key, SecureRandom random) throws InvalidKeyException { in init()
DAndroidKeyStoreKeyPairGeneratorSpi.java177 public void initialize(int keysize, SecureRandom random) { in initialize()
185 public void initialize(AlgorithmParameterSpec params, SecureRandom random) in initialize()
DAndroidKeyStoreSignatureSpiBase.java81 protected final void engineInitSign(PrivateKey privateKey, SecureRandom random) in engineInitSign()
/frameworks/volley/src/test/java/com/android/volley/utils/
DCacheTestUtils.java19 Random random = new Random(); in makeRandomCacheEntry() local
/frameworks/base/core/tests/utiltests/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/packages/DocumentsUI/perf-tests/src/com/android/documentsui/
DStressProvider.java235 final Random random = new Random(index); in createRandomId() local
245 final Random random = new Random(index); in createRandomSize() local
250 final Random random = new Random(index); in createRandomTime() local
/frameworks/base/core/java/android/util/
DMathUtils.java188 public static int random(int howbig) { in random() method in MathUtils
192 public static int random(int howsmall, int howbig) { in random() method in MathUtils
197 public static float random(float howbig) { in random() method in MathUtils
201 public static float random(float howsmall, float howbig) { in random() method in MathUtils
/frameworks/base/services/core/java/com/android/server/location/
DGpsXtraDownloader.java77 Random random = new Random(); in GpsXtraDownloader() local
/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/tests/BandwidthTests/src/com/android/tests/bandwidthenforcement/
DBandwidthEnforcementTestService.java185 final Random random = new Random(); in buildDnsQuery() local
/frameworks/base/core/tests/coretests/src/android/net/
DIpPrefixTest.java247 Random random = new Random(); in testHashCode() local
/frameworks/support/v7/recyclerview/jvm-tests/src/android/support/v7/widget/
DAdapterHelperTest.java844 Random random = new Random(System.nanoTime()); in testRandom() local
856 public void randomTest(Random random, int opCount) { in randomTest()
910 int nextInt(Random random, int n) { in nextInt()
DOpReorderTest.java50 static Random random = new Random(System.nanoTime()); field in OpReorderTest
279 int nextInt(Random random, int n) { in nextInt()
/frameworks/support/v7/recyclerview/jvm-tests/src/android/support/v7/util/
DSortedListTest.java197 Random random = new Random(System.nanoTime()); in testRandom() local
291 Random random = new Random(System.nanoTime()); in shuffle() local
/frameworks/base/core/java/org/apache/http/conn/ssl/
DSSLSocketFactory.java187 final SecureRandom random, in SSLSocketFactory()

12