Home
last modified time | relevance | path

Searched refs:Random (Results 1 – 25 of 51) sorted by relevance

123

/cts/tests/tests/rscpp/src/android/cts/rscpp/
DRSUtils.java20 import java.util.Random;
30 Random r = new Random(seed); in genRandom()
38 Random r = new Random(seed); in genRandom()
50 Random r = new Random(seed); in genRandom()
58 Random r = new Random(seed); in genRandom()
71 Random r = new Random(seed); in genRandom()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DAllocationCopyPaddedTest.java22 import java.util.Random;
26 Random random = new Random(0x172d8ab9); in test_AllocationPadded_Byte3_1D()
53 Random random = new Random(0x172d8ab9); in test_AllocationPadded_Byte3_2D()
81 Random random = new Random(0x172d8ab9); in test_AllocationPadded_Byte3_3D()
110 Random random = new Random(0x172d8ab9); in test_AllocationPadded_Short3_1D()
140 Random random = new Random(0x172d8ab9); in test_AllocationPadded_Short3_2D()
171 Random random = new Random(0x172d8ab9); in test_AllocationPadded_Short3_3D()
203 Random random = new Random(0x172d8ab9); in test_AllocationPadded_Int3_1D()
233 Random random = new Random(0x172d8ab9); in test_AllocationPadded_Int3_2D()
264 Random random = new Random(0x172d8ab9); in test_AllocationPadded_Int3_3D()
[all …]
DAllocationCopyToTest.java22 import java.util.Random;
28 Random random = new Random(0x172d8ab9); in test_Allocationcopy1DRangeTo_Byte()
62 Random random = new Random(0x172d8ab9); in test_Allocationcopy1DRangeTo_Short()
99 Random random = new Random(0x172d8ab9); in test_Allocationcopy1DRangeTo_Int()
136 Random random = new Random(0x172d8ab9); in test_Allocationcopy1DRangeTo_Float()
173 Random random = new Random(0x172d8ab9); in test_Allocationcopy1DRangeTo_Long()
210 Random random = new Random(0x172d8ab9); in test_Allocationcopy2DRangeTo_Byte()
241 Random random = new Random(0x172d8ab9); in test_Allocationcopy2DRangeTo_Short()
275 Random random = new Random(0x172d8ab9); in test_Allocationcopy2DRangeTo_Int()
309 Random random = new Random(0x172d8ab9); in test_Allocationcopy2DRangeTo_Float()
[all …]
DGetAllocationTest.java22 import java.util.Random;
27 Random random = new Random(0x827492ab); in testGetAllocation()
DrsAllocationCopyTest.java22 import java.util.Random;
28 Random random = new Random(0x172d8ab9); in test_rsAllocationCopy1D_Byte()
73 Random random = new Random(0x172d8ab9); in test_rsAllocationCopy1D_Short()
120 Random random = new Random(0x172d8ab9); in test_rsAllocationCopy1D_Int()
167 Random random = new Random(0x172d8ab9); in test_rsAllocationCopy1D_Float()
215 Random random = new Random(0x172d8ab9); in test_rsAllocationCopy1D_Long()
263 Random random = new Random(0x172d8ab9); in test_rsAllocationCopy2D_Byte()
317 Random random = new Random(0x172d8ab9); in test_rsAllocationCopy2D_Short()
373 Random random = new Random(0x172d8ab9); in test_rsAllocationCopy2D_Int()
429 Random random = new Random(0x172d8ab9); in test_rsAllocationCopy2D_Float()
[all …]
DSendToClientBlockingTest.java22 import java.util.Random;
28 private Random random;
36 random = new Random(); in setUp()
DAllocationResize.java23 import java.util.Random;
46 Random random = new Random(0x12345678); in testResize()
DAllocationCopy2DRangeTest.java22 import java.util.Random;
31 Random random = new Random(0x172d8ab9); in testAllocationCopy2DRange()
DRSUtils.java23 import java.util.Random;
50 Random r = new Random(seed); in genRandomDoubles()
101 Random r = new Random(seed); in genRandomFloats()
151 Random r = new Random(seed); in genRandomInts()
167 Random r = new Random(seed); in genRandomLongs()
DRsUnpackColor8888Test.java23 import java.util.Random;
41 Random r = new Random(0x128fa817); in testRsUnpackColor8888RGB()
DSendToClient.java19 import java.util.Random;
28 private static Random random = new Random();
DGetElementAt.java23 import java.util.Random;
48 Random random = new Random(0x12345678); in setupArrays()
DAtomicTest.java18 import java.util.Random;
259 Random r = new Random(78); in testAnd()
292 Random r = new Random(78); in testUAnd()
325 Random r = new Random(78); in testOr()
358 Random r = new Random(78); in testUOr()
DIntrinsicHistogram.java61 java.util.Random r = new java.util.Random(); in testNorm()
181 java.util.Random r = new java.util.Random(); in testDot()
DIntrinsicLut.java34 java.util.Random r = new java.util.Random(100); in createTest()
/cts/tests/tests/media/src/android/media/cts/
DMediaPlayerFlakyNetworkTest.java39 import java.util.Random;
124 Random random = new Random(seed); in doPlayStreams()
136 private String getRandomTestVideo(Random random, String[] videos) { in getRandomTestVideo()
157 Random random = new Random(1); in doAsyncPrepareAndRelease()
167 Random random = new Random(1); in doRandomOperations()
238 final Random random = new Random(seed); in createHttpServer()
283 private final Random mRandom;
286 public FlakyHttpServerConnection(Random random, float probability) { in FlakyHttpServerConnection()
DMediaRandomTest.java30 import java.util.Random;
200 Random r = new Random(seed); in testPlayerRandomAction()
269 Random r = new Random(seed); in testRecorderRandomAction()
/cts/tests/tests/renderscriptlegacy/src/android/renderscriptlegacy/cts/
DRSUtils.java23 import java.util.Random;
50 Random r = new Random(seed); in genRandomDoubles()
101 Random r = new Random(seed); in genRandomFloats()
151 Random r = new Random(seed); in genRandomInts()
167 Random r = new Random(seed); in genRandomLongs()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/tech/
DMifareUltralightTagTester.java24 import java.util.Random;
50 Random random = new Random(); in writeTag()
DNdefTagTester.java31 import java.util.Random;
66 Random random = new Random(); in writeTag()
99 private NdefRecord createRandomMimeRecord(Random random) {
/cts/apps/CtsVerifier/src/com/android/cts/verifier/admin/
DPolicySerializationTestActivity.java40 import java.util.Random;
119 Random random = new Random(); in generateRandomPolicy()
243 void setRandomExpectedValue(Random random); in setRandomExpectedValue()
278 public final void setRandomExpectedValue(Random random) { in setRandomExpectedValue()
282 protected abstract T getRandomExpectedValue(Random random); in getRandomExpectedValue()
394 protected Integer getRandomExpectedValue(Random random) { in getRandomExpectedValue()
441 protected Integer getRandomExpectedValue(Random random) { in getRandomExpectedValue()
465 protected Integer getRandomExpectedValue(Random random) { in getRandomExpectedValue()
488 protected Long getRandomExpectedValue(Random random) { in getRandomExpectedValue()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DCommon.java7 import java.util.Random;
134 Random generator = new Random(seed); in order()
/cts/suite/cts/deviceTests/filesystemperf/src/com/android/cts/filesystemperf/
DFileUtil.java26 import java.util.Random;
41 private static final Random mRandom = new Random(0);
276 Random random = new Random(0); in doRandomReadTest()
330 Random random = new Random(0); in doRandomWriteTest()
/cts/tests/tests/tv/src/android/media/tv/cts/
DBundledTvInputServiceTest.java35 import java.util.Random;
161 Random random = new Random(); in testTuneStress()
/cts/tests/tests/content/src/android/content/cts/
DSharedPreferencesTest.java33 import java.util.Random;
238 Random rand = new Random(); in testTorture()
277 Random rand = new Random(); in testTorture2()

123