Home
last modified time | relevance | path

Searched refs:seed (Results 1 – 17 of 17) sorted by relevance

/cts/suite/cts/deviceTests/browserbench/assets/octane/
Dbase.js92 var seed = 49734321;
95 seed = ((seed + 0x7ed55d16) + (seed << 12)) & 0xffffffff;
96 seed = ((seed ^ 0xc761c23c) ^ (seed >>> 19)) & 0xffffffff;
97 seed = ((seed + 0x165667b1) + (seed << 5)) & 0xffffffff;
98 seed = ((seed + 0xd3a2646c) ^ (seed << 9)) & 0xffffffff;
99 seed = ((seed + 0xfd7046c5) + (seed << 3)) & 0xffffffff;
100 seed = ((seed ^ 0xb55a4f09) ^ (seed >>> 16)) & 0xffffffff;
101 return (seed & 0xfffffff) / 0x10000000;
/cts/tests/tests/rscpp/src/android/cts/rscpp/
DRSUtils.java29 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/
DCalendarTest.java140 String account, int seed) { in getNewCalendarValues() argument
141 String seedString = Long.toString(seed); in getNewCalendarValues()
155 values.put(Calendars.CALENDAR_ACCESS_LEVEL, (seed % 8) * 100); in getNewCalendarValues()
157 values.put(Calendars.CALENDAR_COLOR, 0xff000000 + seed); in getNewCalendarValues()
158 values.put(Calendars.VISIBLE, seed % 2); in getNewCalendarValues()
161 values.put(Calendars.CALENDAR_TIME_ZONE, TIME_ZONES[seed % TIME_ZONES.length]); in getNewCalendarValues()
162 values.put(Calendars.CAN_ORGANIZER_RESPOND, seed % 2); in getNewCalendarValues()
163 values.put(Calendars.CAN_MODIFY_TIME_ZONE, seed % 2); in getNewCalendarValues()
183 ContentValues original, int seed) { in getUpdateCalendarValuesWithOriginal() argument
185 String seedString = Long.toString(seed); in getUpdateCalendarValuesWithOriginal()
[all …]
/cts/tests/tests/renderscriptlegacy/src/android/renderscriptlegacy/cts/
DRSUtils.java48 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/
DRSUtils.java48 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 …]
DRSBaseCompute.java110 int size, long seed, boolean includeExtremes) { in createRandomAllocation() argument
119 RSUtils.genRandomDoubles(seed, min, max, inArray, includeExtremes); in createRandomAllocation()
126 RSUtils.genRandomFloats(seed, min, max, inArray, includeExtremes); in createRandomAllocation()
130 RSUtils.genRandomLongs(seed, inArray, true, 63); in createRandomAllocation()
134 RSUtils.genRandomLongs(seed, inArray, false, 64); in createRandomAllocation()
138 RSUtils.genRandomInts(seed, inArray, true, 31); in createRandomAllocation()
142 RSUtils.genRandomInts(seed, inArray, false, 32); in createRandomAllocation()
146 RSUtils.genRandomShorts(seed, inArray, true, 15); in createRandomAllocation()
150 RSUtils.genRandomShorts(seed, inArray, false, 16); in createRandomAllocation()
154 RSUtils.genRandomBytes(seed, inArray, true, 7); in createRandomAllocation()
[all …]
DRsPackColorTo8888Test.java68 private void float3input(long seed, int testId) { in float3input() argument
74 RSUtils.genRandomFloats(seed, 0.0f, 1.0f, inArray, false); in float3input()
95 private void float4input(long seed, int testId) { in float4input() argument
101 RSUtils.genRandomFloats(seed, 0.0f, 1.0f, inArray, false); in float4input()
/cts/tests/tests/media/src/android/media/cts/
DMediaRandomTest.java198 long seed = System.currentTimeMillis(); in testPlayerRandomAction() local
199 Log.v(TAG, "seed = " + seed); in testPlayerRandomAction()
200 Random r = new Random(seed); in testPlayerRandomAction()
267 long seed = System.currentTimeMillis(); in testRecorderRandomAction() local
268 Log.v(TAG, "seed = " + seed); in testRecorderRandomAction()
269 Random r = new Random(seed); in testRecorderRandomAction()
DMediaPlayerFlakyNetworkTest.java117 private void doPlayStreams(int seed, float probability) throws Throwable { in doPlayStreams() argument
124 Random random = new Random(seed); in doPlayStreams()
125 createHttpServer(seed, probability); in doPlayStreams()
237 private void createHttpServer(int seed, final float probability) throws Throwable { in createHttpServer() argument
238 final Random random = new Random(seed); in createHttpServer()
/cts/tests/tests/keystore/src/android/keystore/cts/
DCountingSecureRandom.java60 public synchronized void setSeed(byte[] seed) { in setSeed() argument
66 public void setSeed(long seed) { in setSeed() argument
DECCurves.java113 byte[] seed) { in createNistPCurveSpec() argument
115 EllipticCurve curve = new EllipticCurve(field, a, b, seed); in createNistPCurveSpec()
DTestUtils.java572 static byte[] generateLargeKatMsg(byte[] seed, int msgSizeBytes) throws Exception { in generateLargeKatMsg() argument
578 seed = digest.digest(seed); in generateLargeKatMsg()
579 int chunkSize = Math.min(seed.length, resultRemaining); in generateLargeKatMsg()
580 System.arraycopy(seed, 0, result, resultOffset, chunkSize); in generateLargeKatMsg()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DCommon.java133 long seed = 0; in order() local
134 Random generator = new Random(seed); in order()
/cts/suite/cts/deviceTests/simplecpu/jni/
DCpuNativeJni.cpp169 template <typename T> void randomInitArray(T* array, int len, unsigned int seed) in randomInitArray() argument
171 srand(seed); in randomInitArray()
/cts/tests/tests/hardware/src/android/hardware/cts/
DSensorManagerStaticTest.java559 TestDataGenerator(long seed) { in TestDataGenerator() argument
560 mRandom = new Random(seed); in TestDataGenerator()
/cts/suite/cts/deviceTests/browserbench/assets/octane/js/
Djquery.js3865 var Sizzle = function( selector, context, results, seed ) { argument
3905 set = posProcess( parts[0] + parts[1], context, seed );
3919 set = posProcess( selector, set, seed );
3926 if ( !seed && parts.length > 1 && context.nodeType === 9 && !contextXML &&
3936 ret = seed ?
3937 { expr: parts.pop(), set: makeArray(seed) } :
4005 Sizzle( extra, origContext, results, seed );
4987 Sizzle = function( query, context, extra, seed ) { argument
4992 if ( !seed && !Sizzle.isXML(context) ) {
5069 return oldSizzle(query, context, extra, seed);
[all …]
/cts/tools/dex-tools/dex/
Dclasses0.out.dex33456 long seed
36407 private final byte[] seed
76732 private transient int[] seed
98005 private byte[] seed
99447 private byte[] seed
99572 private byte[] seed
99636 byte[] seed
99671 byte[] seed