/frameworks/base/core/tests/coretests/src/android/database/ |
D | NewDatabasePerformanceTests.java | 26 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 …]
|
D | DatabasePerformanceTests.java | 31 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/ |
D | UT_alloc_copyPadded.java | 22 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 …]
|
D | UT_alloc_copy.java | 22 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 …]
|
D | UT_reduce_backward.java | 30 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()
|
D | UT_reduce.java | 30 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/ |
D | UT_alloc_copyPadded.java | 22 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 …]
|
D | UT_alloc_copy.java | 22 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/ |
D | TextUtils.java | 18 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/ |
D | UT_reduce_backward.java | 30 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/ |
D | RandomScheduler.java | 20 import java.util.Random; 31 private Random mRand = new Random();
|
/frameworks/volley/src/test/java/com/android/volley/utils/ |
D | CacheTestUtils.java | 7 import java.util.Random; 19 Random random = new Random(); in makeRandomCacheEntry()
|
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/ |
D | WapPushTest.java | 37 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/ |
D | MediaPlayerInvokeTest.java | 32 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/ |
D | FakeView.java | 19 import java.util.Random; 50 final Random mRandom = new Random();
|
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/dirlist/ |
D | TestModel.java | 25 import java.util.Random; 46 Random rand = new Random(); in update()
|
/frameworks/base/packages/DocumentsUI/perf-tests/src/com/android/documentsui/ |
D | StressProvider.java | 41 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/ |
D | FileBridgeTest.java | 31 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/ |
D | ApConfigUtil.java | 26 import java.util.Random; 43 private static final Random sRandom = new Random();
|
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
D | BitwiseStreamsTest.java | 28 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/ |
D | BlackWhiteFilter.java | 29 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/ |
D | ListThrasher.java | 32 import java.util.Random; 40 Random mRandomizer = new Random();
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/ |
D | Cat.java | 27 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/ |
D | GridThrasher.java | 33 import java.util.Random; 42 Random mRandomizer = new Random();
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | GpsXtraDownloader.java | 26 import java.util.Random; 77 Random random = new Random(); in GpsXtraDownloader()
|