/cts/tests/tests/rscpp/src/android/cts/rscpp/ |
D | RSUtils.java | 29 public static void genRandom(long seed, int factor, int offset, float array[]) { in genRandom() argument 30 Random r = new Random(seed); in genRandom() 36 public static void genRandom(long seed, int factor, int offset, float array[], in genRandom() argument 38 Random r = new Random(seed); in genRandom() 49 public static void genRandom(long seed, int max, int factor, int offset, int array[]) { in genRandom() argument 50 Random r = new Random(seed); in genRandom() 56 public static void genRandom(long seed, int factor, int offset, int array[], in genRandom() argument 58 Random r = new Random(seed); in genRandom() 69 public static void genRandom(long seed, int max, int factor, int offset, int array[], in genRandom() argument 71 Random r = new Random(seed); in genRandom()
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | CalendarTest.java | 141 String account, int seed) { in getNewCalendarValues() argument 142 String seedString = Long.toString(seed); in getNewCalendarValues() 156 values.put(Calendars.CALENDAR_ACCESS_LEVEL, (seed % 8) * 100); in getNewCalendarValues() 158 values.put(Calendars.CALENDAR_COLOR, 0xff000000 + seed); in getNewCalendarValues() 159 values.put(Calendars.VISIBLE, seed % 2); in getNewCalendarValues() 162 values.put(Calendars.CALENDAR_TIME_ZONE, TIME_ZONES[seed % TIME_ZONES.length]); in getNewCalendarValues() 163 values.put(Calendars.CAN_ORGANIZER_RESPOND, seed % 2); in getNewCalendarValues() 164 values.put(Calendars.CAN_MODIFY_TIME_ZONE, seed % 2); in getNewCalendarValues() 184 ContentValues original, int seed) { in getUpdateCalendarValuesWithOriginal() argument 186 String seedString = Long.toString(seed); in getUpdateCalendarValuesWithOriginal() [all …]
|
/cts/tests/tests/renderscriptlegacy/src/android/renderscriptlegacy/cts/ |
D | RSUtils.java | 48 public static void genRandomDoubles(long seed, double min, double max, double array[], in genRandomDoubles() argument 50 Random r = new Random(seed); in genRandomDoubles() 99 public static void genRandomFloats(long seed, float min, float max, float array[], in genRandomFloats() argument 101 Random r = new Random(seed); in genRandomFloats() 150 public static void genRandomInts(long seed, int min, int max, int array[]) { in genRandomInts() argument 151 Random r = new Random(seed); in genRandomInts() 164 public static void genRandomLongs(long seed, long array[], boolean signed, int numberOfBits) { in genRandomLongs() argument 167 Random r = new Random(seed); in genRandomLongs() 187 public static void genRandomInts(long seed, int array[], boolean signed, int numberOfBits) { in genRandomInts() argument 189 genRandomLongs(seed, longs, signed, numberOfBits); in genRandomInts() [all …]
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | RSUtils.java | 70 public static void genRandomDoubles(long seed, double min, double max, double array[], in genRandomDoubles() argument 72 Random r = new Random(seed); in genRandomDoubles() 121 public static void genRandomFloats(long seed, float min, float max, float array[], in genRandomFloats() argument 123 Random r = new Random(seed); in genRandomFloats() 168 public static void genRandomFloat16s(long seed, double minDoubleValue, double maxDoubleValue, in genRandomFloat16s() argument 218 Random r = new Random(seed); in genRandomFloat16s() 255 public static void genRandomInts(long seed, int min, int max, int array[]) { in genRandomInts() argument 256 Random r = new Random(seed); in genRandomInts() 269 public static void genRandomLongs(long seed, long array[], boolean signed, int numberOfBits) { in genRandomLongs() argument 272 Random r = new Random(seed); in genRandomLongs() [all …]
|
D | RSBaseCompute.java | 112 int size, long seed, boolean includeExtremes) { in createRandomAllocation() argument 121 RSUtils.genRandomDoubles(seed, min, max, inArray, includeExtremes); in createRandomAllocation() 128 RSUtils.genRandomFloats(seed, min, max, inArray, includeExtremes); in createRandomAllocation() 134 RSUtils.genRandomFloat16s(seed, min, max, inArray, includeExtremes); in createRandomAllocation() 138 RSUtils.genRandomLongs(seed, inArray, true, 63); in createRandomAllocation() 142 RSUtils.genRandomLongs(seed, inArray, false, 64); in createRandomAllocation() 146 RSUtils.genRandomInts(seed, inArray, true, 31); in createRandomAllocation() 150 RSUtils.genRandomInts(seed, inArray, false, 32); in createRandomAllocation() 154 RSUtils.genRandomShorts(seed, inArray, true, 15); in createRandomAllocation() 158 RSUtils.genRandomShorts(seed, inArray, false, 16); in createRandomAllocation() [all …]
|
D | RsPackColorTo8888Test.java | 74 private void float3input(long seed, int testId) { in float3input() argument 80 RSUtils.genRandomFloats(seed, 0.0f, 1.0f, inArray, false); in float3input() 104 private void float4input(long seed, int testId) { in float4input() argument 110 RSUtils.genRandomFloats(seed, 0.0f, 1.0f, inArray, false); in float4input()
|
D | ReduceTest.java | 135 private static byte[] createInputArrayByte(int len, int seed) { in createInputArrayByte() argument 137 (new Random(seed)).nextBytes(array); in createInputArrayByte() 141 private static short[] createInputArrayHalf(int len, int seed) { in createInputArrayHalf() argument 143 RSUtils.genRandomFloat16s(seed, Double.NEGATIVE_INFINITY, Double.POSITIVE_INFINITY, array, in createInputArrayHalf() 148 private static float[] createInputArrayFloat(int len, int seed) { in createInputArrayFloat() argument 149 Random rand = new Random(seed); in createInputArrayFloat() 156 private static int[] createInputArrayInt(int len, int seed) { in createInputArrayInt() argument 157 Random rand = new Random(seed); in createInputArrayInt() 164 private static int[] createInputArrayInt(int len, int seed, int eltRange) { in createInputArrayInt() argument 165 Random rand = new Random(seed); in createInputArrayInt()
|
D | DebugContext.java | 110 int size, Function<RenderScript, Type.Builder> TB, long seed) { in SetupAllocationCopyTests() argument 118 RN = new Random(seed); in SetupAllocationCopyTests()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaRandomTest.java | 200 long seed = System.currentTimeMillis(); in testPlayerRandomAction() local 201 Log.v(TAG, "seed = " + seed); in testPlayerRandomAction() 202 Random r = new Random(seed); in testPlayerRandomAction() 269 long seed = System.currentTimeMillis(); in testRecorderRandomAction() local 270 Log.v(TAG, "seed = " + seed); in testRecorderRandomAction() 271 Random r = new Random(seed); in testRecorderRandomAction()
|
D | MediaPlayerFlakyNetworkTest.java | 112 private void doPlayStreams(int seed, float probability) throws Throwable { in doPlayStreams() argument 119 Random random = new Random(seed); in doPlayStreams() 120 createHttpServer(seed, probability); in doPlayStreams() 232 private void createHttpServer(int seed, final float probability) throws Throwable { in createHttpServer() argument 233 final Random random = new Random(seed); in createHttpServer()
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | CountingSecureRandom.java | 60 public synchronized void setSeed(byte[] seed) { in setSeed() argument 66 public void setSeed(long seed) { in setSeed() argument
|
D | ECCurves.java | 113 byte[] seed) { in createNistPCurveSpec() argument 115 EllipticCurve curve = new EllipticCurve(field, a, b, seed); in createNistPCurveSpec()
|
D | TestUtils.java | 592 static byte[] generateLargeKatMsg(byte[] seed, int msgSizeBytes) throws Exception { in generateLargeKatMsg() argument 598 seed = digest.digest(seed); in generateLargeKatMsg() 599 int chunkSize = Math.min(seed.length, resultRemaining); in generateLargeKatMsg() 600 System.arraycopy(seed, 0, result, resultOffset, chunkSize); in generateLargeKatMsg()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | Common.java | 133 long seed = 0; in order() local 134 Random generator = new Random(seed); in order()
|
/cts/tests/simplecpu/jni/ |
D | CpuNativeJni.cpp | 169 template <typename T> void randomInitArray(T* array, int len, unsigned int seed) in randomInitArray() argument 171 srand(seed); in randomInitArray()
|
/cts/tests/sensor/src/android/hardware/cts/ |
D | SensorManagerStaticTest.java | 559 TestDataGenerator(long seed) { in TestDataGenerator() argument 560 mRandom = new Random(seed); in TestDataGenerator()
|
/cts/tests/tests/os/src/android/os/storage/cts/ |
D | StorageManagerTest.java | 297 TestProxyFileDescriptorCallback(int size, String seed) { in TestProxyFileDescriptorCallback() argument 298 final byte[] seedBytes = seed.getBytes(); in TestProxyFileDescriptorCallback()
|
/cts/tests/libcore/javautilcollections/libs/ |
D | guava-20.0.jar | META-INF/MANIFEST.MF
META-INF/
META-INF/maven/
META- ... |