Home
last modified time | relevance | path

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

123456

/frameworks/base/core/tests/coretests/src/android/database/
DNewDatabasePerformanceTests.java26 import java.util.Random;
114 Random random = new Random(42); in setUp()
146 Random random = new Random(42); in setUp()
180 Random random = new Random(42); in setUp()
219 Random random = new Random(42); in setUp()
256 Random random = new Random(42); in setUp()
294 Random random = new Random(42); in setUp()
331 Random random = new Random(42); in setUp()
370 Random random = new Random(42); in setUp()
411 Random random = new Random(42); in setUp()
[all …]
DDatabasePerformanceTests.java31 import java.util.Random;
205 Random random = new Random(42); in setUp()
238 Random random = new Random(42); in setUp()
273 Random random = new Random(42); in setUp()
313 Random random = new Random(42); in setUp()
351 Random random = new Random(42); in setUp()
390 Random random = new Random(42); in setUp()
428 Random random = new Random(42); in setUp()
468 Random random = new Random(42); in setUp()
510 Random random = new Random(42); in setUp()
[all …]
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
DUT_alloc_copyPadded.java22 import java.util.Random;
83 Random random = new Random(0x172d8ab9); in testAllocation_Byte3_1D()
114 Random random = new Random(0x172d8ab9); in testAllocation_Byte3_2D()
146 Random random = new Random(0x172d8ab9); in testAllocation_Byte3_3D()
179 Random random = new Random(0x172d8ab9); in testAllocation_Short3_1D()
213 Random random = new Random(0x172d8ab9); in testAllocation_Short3_2D()
248 Random random = new Random(0x172d8ab9); in testAllocation_Short3_3D()
284 Random random = new Random(0x172d8ab9); in testAllocation_Int3_1D()
318 Random random = new Random(0x172d8ab9); in testAllocation_Int3_2D()
353 Random random = new Random(0x172d8ab9); in testAllocation_Int3_3D()
[all …]
DUT_alloc_copy.java22 import java.util.Random;
58 Random random = new Random(0x172d8ab9); in allocation_copy1DRangeTo_Byte()
97 Random random = new Random(0x172d8ab9); in allocation_copy1DRangeTo_Short()
139 Random random = new Random(0x172d8ab9); in allocation_copy1DRangeTo_Int()
181 Random random = new Random(0x172d8ab9); in allocation_copy1DRangeTo_Float()
223 Random random = new Random(0x172d8ab9); in allocation_copy1DRangeTo_Long()
265 Random random = new Random(0x172d8ab9); in allocation_copy2DRangeTo_Byte()
300 Random random = new Random(0x172d8ab9); in allocation_copy2DRangeTo_Short()
338 Random random = new Random(0x172d8ab9); in allocation_copy2DRangeTo_Int()
376 Random random = new Random(0x172d8ab9); in allocation_copy2DRangeTo_Float()
[all …]
DUT_reduce_backward.java30 import java.util.Random;
41 (new Random(seed)).nextBytes(array); in createInputArrayByte()
46 Random rand = new Random(seed); in createInputArrayFloat()
54 Random rand = new Random(seed); in createInputArrayInt()
62 Random rand = new Random(seed); in createInputArrayInt()
157 input[(new Random(6)).nextInt(inputLen)] = 0; in fz()
176 inputArray[(new Random(8)).nextInt(inputLen)] = 0; in fz2()
201 inputArray[(new Random(10)).nextInt(inputLen)] = 0; in fz3()
DUT_reduce.java30 import java.util.Random;
41 (new Random(seed)).nextBytes(array); in createInputArrayByte()
46 Random rand = new Random(seed); in createInputArrayFloat()
54 Random rand = new Random(seed); in createInputArrayInt()
62 Random rand = new Random(seed); in createInputArrayInt()
157 input[(new Random(6)).nextInt(inputLen)] = 0; in fz()
176 inputArray[(new Random(8)).nextInt(inputLen)] = 0; in fz2()
201 inputArray[(new Random(10)).nextInt(inputLen)] = 0; in fz3()
/frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/
DUT_alloc_copyPadded.java22 import java.util.Random;
83 Random random = new Random(0x172d8ab9); in testAllocation_Byte3_1D()
114 Random random = new Random(0x172d8ab9); in testAllocation_Byte3_2D()
146 Random random = new Random(0x172d8ab9); in testAllocation_Byte3_3D()
179 Random random = new Random(0x172d8ab9); in testAllocation_Short3_1D()
213 Random random = new Random(0x172d8ab9); in testAllocation_Short3_2D()
248 Random random = new Random(0x172d8ab9); in testAllocation_Short3_3D()
284 Random random = new Random(0x172d8ab9); in testAllocation_Int3_1D()
318 Random random = new Random(0x172d8ab9); in testAllocation_Int3_2D()
353 Random random = new Random(0x172d8ab9); in testAllocation_Int3_3D()
[all …]
DUT_alloc_copy.java22 import java.util.Random;
58 Random random = new Random(0x172d8ab9); in allocation_copy1DRangeTo_Byte()
97 Random random = new Random(0x172d8ab9); in allocation_copy1DRangeTo_Short()
139 Random random = new Random(0x172d8ab9); in allocation_copy1DRangeTo_Int()
181 Random random = new Random(0x172d8ab9); in allocation_copy1DRangeTo_Float()
223 Random random = new Random(0x172d8ab9); in allocation_copy1DRangeTo_Long()
265 Random random = new Random(0x172d8ab9); in allocation_copy2DRangeTo_Byte()
300 Random random = new Random(0x172d8ab9); in allocation_copy2DRangeTo_Short()
338 Random random = new Random(0x172d8ab9); in allocation_copy2DRangeTo_Int()
376 Random random = new Random(0x172d8ab9); in allocation_copy2DRangeTo_Float()
[all …]
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DTextUtils.java18 import java.util.Random;
27 private static String randomWord(Random random, int length) { in randomWord()
39 Random random = new Random(0); in buildSimpleStringList()
68 Random random = new Random(0); in buildParagraphListWithHitPercentage()
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
DUT_reduce_backward.java30 import java.util.Random;
41 (new Random(seed)).nextBytes(array); in createInputArrayByte()
46 Random rand = new Random(seed); in createInputArrayFloat()
54 Random rand = new Random(seed); in createInputArrayInt()
62 Random rand = new Random(seed); in createInputArrayInt()
173 input[(new Random(6)).nextInt(inputLen)] = 0; in fz()
192 inputArray[(new Random(8)).nextInt(inputLen)] = 0; in fz2()
217 inputArray[(new Random(10)).nextInt(inputLen)] = 0; in fz3()
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DRandomScheduler.java20 import java.util.Random;
31 private Random mRand = new Random();
/frameworks/volley/src/test/java/com/android/volley/utils/
DCacheTestUtils.java7 import java.util.Random;
19 Random random = new Random(); in makeRandomCacheEntry()
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/
DWapPushTest.java37 import java.util.Random;
878 protected void createRandomWspHeader(byte[] arr, Random rd, int headerStart, in createRandomWspHeader()
1087 protected void createRandomWspHeaderStrAppId(byte[] arr, Random rd, int headerStart, in createRandomWspHeaderStrAppId()
1328 Random rd = new Random(); in createPDU()
1353 rd = new Random(); in createPDU()
1377 rd = new Random(); in createPDU()
1401 rd = new Random(); in createPDU()
1425 rd = new Random(); in createPDU()
1458 rd = new Random(); in createPDU()
1861 Random rd = new Random(); in testDecoder1()
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
DMediaPlayerInvokeTest.java32 import java.util.Random;
38 private Random rnd;
42 rnd = new Random(Calendar.getInstance().getTimeInMillis()); in MediaPlayerInvokeTest()
/frameworks/base/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/
DFakeView.java19 import java.util.Random;
50 final Random mRandom = new Random();
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/dirlist/
DTestModel.java25 import java.util.Random;
46 Random rand = new Random(); in update()
/frameworks/base/packages/DocumentsUI/perf-tests/src/com/android/documentsui/
DStressProvider.java41 import java.util.Random;
235 final Random random = new Random(index); in createRandomId()
245 final Random random = new Random(index); in createRandomSize()
250 final Random random = new Random(index); in createRandomTime()
/frameworks/base/core/tests/coretests/src/android/os/
DFileBridgeTest.java31 import java.util.Random;
132 final Random r = new Random(); in testRandomWrite()
149 new Random().nextBytes(test); in testGiantWrite()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DApConfigUtil.java26 import java.util.Random;
43 private static final Random sRandom = new Random();
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DBitwiseStreamsTest.java28 import java.util.Random;
95 Random random = new Random(); in testFive()
139 Random random = new Random(); in testExpandArray()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
DBlackWhiteFilter.java29 import java.util.Random;
43 private Random mRandom;
87 mRandom = new Random(new Date().getTime()); in BlackWhiteFilter()
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListThrasher.java32 import java.util.Random;
40 Random mRandomizer = new Random();
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
DCat.java27 import java.util.Random;
35 private Random mNotSoRandom;
41 private synchronized Random notSoRandom(long seed) { in notSoRandom()
43 mNotSoRandom = new Random(); in notSoRandom()
49 public static final float frandrange(Random r, float a, float b) { in frandrange()
53 public static final Object choose(Random r, Object...l) { in choose()
57 public static final int chooseP(Random r, int[] a) { in chooseP()
135 final Random nsr = notSoRandom(seed); in Cat()
/frameworks/base/core/tests/coretests/src/android/widget/gridview/
DGridThrasher.java33 import java.util.Random;
42 Random mRandomizer = new Random();
/frameworks/base/services/core/java/com/android/server/location/
DGpsXtraDownloader.java26 import java.util.Random;
77 Random random = new Random(); in GpsXtraDownloader()

123456