Home
last modified time | relevance | path

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

123

/frameworks/base/core/tests/coretests/src/android/database/
DNewDatabasePerformanceTests.java181 Random random = new Random(42); in prepareForTest() local
209 Random random = new Random(42); in prepareForTest() local
238 Random random = new Random(42); in prepareForTest() local
274 Random random = new Random(42); in prepareForTest() local
309 Random random = new Random(42); in prepareForTest() local
343 Random random = new Random(42); in prepareForTest() local
378 Random random = new Random(42); in prepareForTest() local
414 Random random = new Random(42); in prepareForTest() local
453 Random random = new Random(42); in prepareForTest() local
499 Random random = new Random(42); in prepareForTest() local
[all …]
DDatabaseCursorTest.java239 Random random = new Random(System.currentTimeMillis()); in testLargeField() local
320 Random random = new Random(System.currentTimeMillis()); in testManyRowsTxt() local
353 Random random = new Random(System.currentTimeMillis()); in testManyRowsTxtLong() local
/frameworks/rs/tests/java_api/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/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
DUT_alloc_copyPadded.java86 Random random = new Random(0x172d8ab9); in testAllocation_Byte3_1D() local
117 Random random = new Random(0x172d8ab9); in testAllocation_Byte3_2D() local
149 Random random = new Random(0x172d8ab9); in testAllocation_Byte3_3D() local
182 Random random = new Random(0x172d8ab9); in testAllocation_Short3_1D() local
216 Random random = new Random(0x172d8ab9); in testAllocation_Short3_2D() local
251 Random random = new Random(0x172d8ab9); in testAllocation_Short3_3D() local
287 Random random = new Random(0x172d8ab9); in testAllocation_Int3_1D() local
321 Random random = new Random(0x172d8ab9); in testAllocation_Int3_2D() local
356 Random random = new Random(0x172d8ab9); in testAllocation_Int3_3D() local
392 Random random = new Random(0x172d8ab9); in testAllocation_Float3_1D() local
[all …]
DUT_alloc_copy.java62 Random random = new Random(0x172d8ab9); in allocation_copy1DRangeTo_Byte() local
101 Random random = new Random(0x172d8ab9); in allocation_copy1DRangeTo_Short() local
143 Random random = new Random(0x172d8ab9); in allocation_copy1DRangeTo_Int() local
185 Random random = new Random(0x172d8ab9); in allocation_copy1DRangeTo_Float() local
227 Random random = new Random(0x172d8ab9); in allocation_copy1DRangeTo_Long() local
269 Random random = new Random(0x172d8ab9); in allocation_copy2DRangeTo_Byte() local
304 Random random = new Random(0x172d8ab9); in allocation_copy2DRangeTo_Short() local
342 Random random = new Random(0x172d8ab9); in allocation_copy2DRangeTo_Int() local
380 Random random = new Random(0x172d8ab9); in allocation_copy2DRangeTo_Float() local
418 Random random = new Random(0x172d8ab9); in allocation_copy2DRangeTo_Long() local
[all …]
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
DUT_alloc_copyPadded.java84 Random random = new Random(0x172d8ab9); in testAllocation_Byte3_1D() local
115 Random random = new Random(0x172d8ab9); in testAllocation_Byte3_2D() local
147 Random random = new Random(0x172d8ab9); in testAllocation_Byte3_3D() local
180 Random random = new Random(0x172d8ab9); in testAllocation_Short3_1D() local
214 Random random = new Random(0x172d8ab9); in testAllocation_Short3_2D() local
249 Random random = new Random(0x172d8ab9); in testAllocation_Short3_3D() local
285 Random random = new Random(0x172d8ab9); in testAllocation_Int3_1D() local
319 Random random = new Random(0x172d8ab9); in testAllocation_Int3_2D() local
354 Random random = new Random(0x172d8ab9); in testAllocation_Int3_3D() local
390 Random random = new Random(0x172d8ab9); in testAllocation_Float3_1D() local
[all …]
DUT_alloc_copy.java60 Random random = new Random(0x172d8ab9); in allocation_copy1DRangeTo_Byte() local
99 Random random = new Random(0x172d8ab9); in allocation_copy1DRangeTo_Short() local
141 Random random = new Random(0x172d8ab9); in allocation_copy1DRangeTo_Int() local
183 Random random = new Random(0x172d8ab9); in allocation_copy1DRangeTo_Float() local
225 Random random = new Random(0x172d8ab9); in allocation_copy1DRangeTo_Long() local
267 Random random = new Random(0x172d8ab9); in allocation_copy2DRangeTo_Byte() local
302 Random random = new Random(0x172d8ab9); in allocation_copy2DRangeTo_Short() local
340 Random random = new Random(0x172d8ab9); in allocation_copy2DRangeTo_Int() local
378 Random random = new Random(0x172d8ab9); in allocation_copy2DRangeTo_Float() local
416 Random random = new Random(0x172d8ab9); in allocation_copy2DRangeTo_Long() local
[all …]
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DTextUtils.java40 private static String randomWord(Random random, int length) { in randomWord()
53 private static String randomWordFromStringSet(Random random, int length, String[] stringSet) { in randomWordFromStringSet()
80 Random random = new Random(0); in buildSimpleStringList() local
89 final Random random = new Random(0); in buildStringListFromUnicodeSet() local
108 final Random random = new Random(0); in buildLongStringList() local
144 Random random = new Random(0); in buildParagraphListWithHitPercentage() local
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/
DUtils.java29 public static String getRandomWord(Random random, int length) { in getRandomWord()
40 Random random = new Random(0); in buildStringList() local
71 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()
144 protected void engineInit(SecureRandom random) { in engineInit()
150 protected void engineInit(int keySize, SecureRandom random) { in engineInit()
156 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()
/frameworks/base/core/tests/coretests/src/android/app/usage/
DEventListTest.java68 final Random random = new Random(128); in testInsertsSortedRandom() local
78 final Random random = new Random(256); in testInsertsSortedWithDuplicates() local
/frameworks/ml/nn/common/random/
Dsimple_philox.cc21 namespace random { namespace
Drandom.cc23 namespace random { namespace
/frameworks/base/apct-tests/perftests/core/src/android/text/
DNonEditableTextGenerator.java25 public NonEditableTextGenerator(Random random) { in NonEditableTextGenerator()
105 public RandomCharSequenceGenerator(Random random) { in RandomCharSequenceGenerator()
/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
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DMatrixTest.java119 public Matrix generatePermutationMatrix(int size, Random random) { in generatePermutationMatrix()
189 Random random = new Random(); in testCopy() local
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityStartControllerTests.java73 final Random random = new Random(); in testPendingActivityLaunches() local
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/testing/
DRandomInputStream.java39 public RandomInputStream(Random random, int sizeBytes) { in RandomInputStream()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/
DLocationUtils.java34 public static Location createLocation(String provider, Random random) { in createLocation()
/frameworks/base/core/java/com/android/internal/ml/clustering/
DKMeans.java44 public KMeans(Random random) { in KMeans()
47 public KMeans(Random random, int maxIterations, float convergenceEpsilon) { in KMeans()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DVerifierDeviceIdentityTest.java157 MockRandom random = new MockRandom(); in testVerifierDeviceIdentity_Generate_MinValue() local
168 MockRandom random = new MockRandom(); in testVerifierDeviceIdentity_Generate_Random() local
/frameworks/base/tests/net/common/java/android/net/
DIpPrefixTest.java295 Random random = new Random(); in testHashCode() local
/frameworks/base/core/java/android/privacy/internal/rappor/
DRapporEncoder.java67 final Random random; in RapporEncoder() local

123