/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
H A D | noise_gen_amrwb.cpp | 47 int16 * seed seed for the random ng 112 int16 noise_gen_amrwb(int16 * seed) argument 114 /* int16 seed = 21845; */ 115 *seed = (int16)fxp_mac_16by16(*seed, 31821, 13849L); 117 return (*seed);
|
H A D | e_pv_amrwbdec.h | 106 int16 seed; /* random memory for frame erasure */ member in struct:__anon542
|
H A D | lagconceal.cpp | 51 int16 * seed, 143 int16 * seed, 222 D = noise_gen_amrwb(seed); /* D={-1, ...,1} */ 307 D = noise_gen_amrwb(seed); /* D={-1,.., 1} */ 138 lagconceal( int16 gain_hist[], int16 lag_hist[], int16 * T0, int16 * old_T0, int16 * seed, int16 unusable_frame ) argument
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
H A D | random.c | 27 Word16 Random(Word16 * seed) argument 29 /* static Word16 seed = 21845; */ 30 *seed = (Word16)(L_add((L_mult(*seed, 31821) >> 1), 13849L)); 31 return (*seed);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/util/ |
H A D | DynamicIdMap.java | 34 public DynamicIdMap(int seed) { argument 35 mDynamicSeed = seed; 38 public void reset(int seed) { argument 41 mDynamicSeed = seed;
|
/frameworks/base/services/net/java/android/net/util/ |
H A D | IpUtils.java | 43 * payload) on the specified portion of a ByteBuffer. The seed 46 private static int checksum(ByteBuffer buf, int seed, int start, int end) { argument 47 int sum = seed;
|
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/util/ |
H A D | DiffUtilActivity.java | 134 private List<String> createRandomCheeseList(List<String> seed, int iterations) { argument 136 output.addAll(seed);
|
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/util/ |
H A D | DiffUtilActivity.java | 134 private List<String> createRandomCheeseList(List<String> seed, int iterations) { argument 136 output.addAll(seed);
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
H A D | ScanResults.java | 92 * seed value and test method name and class (annotated with @Test). This method will be 95 * @param seed combined with a hash of the test method this seeds the random number generator 100 private static ScanDetail[] generateNativeResults(boolean needIE, int seed, int... freqs) { argument 102 // Seed the results based on the provided seed as well as the test method name 104 Random r = new Random(seed + WifiTestUtil.getTestMethod().hashCode()); 132 public static ScanDetail[] generateNativeResults(int seed, int... freqs) { argument 133 return generateNativeResults(true, seed, freqs);
|
/frameworks/rs/tests/java_api/RSTest_CompatLib/src/com/android/rs/test/ |
H A D | UT_reduce.java | 39 private byte[] createInputArrayByte(int len, int seed) { argument 41 (new Random(seed)).nextBytes(array); 45 private float[] createInputArrayFloat(int len, int seed) { argument 46 Random rand = new Random(seed); 53 private int[] createInputArrayInt(int len, int seed) { argument 54 Random rand = new Random(seed); 61 private int[] createInputArrayInt(int len, int seed, int eltRange) { argument 62 Random rand = new Random(seed);
|
H A D | UT_reduce_backward.java | 39 private byte[] createInputArrayByte(int len, int seed) { argument 41 (new Random(seed)).nextBytes(array); 45 private float[] createInputArrayFloat(int len, int seed) { argument 46 Random rand = new Random(seed); 53 private int[] createInputArrayInt(int len, int seed) { argument 54 Random rand = new Random(seed); 61 private int[] createInputArrayInt(int len, int seed, int eltRange) { argument 62 Random rand = new Random(seed);
|
/frameworks/rs/tests/java_api/RsTest/src/com/android/rs/test/ |
H A D | UT_reduce_backward.java | 45 private byte[] createInputArrayByte(int len, int seed) { argument 47 (new Random(seed)).nextBytes(array); 51 private float[] createInputArrayFloat(int len, int seed) { argument 52 Random rand = new Random(seed); 59 private int[] createInputArrayInt(int len, int seed) { argument 60 Random rand = new Random(seed); 67 private int[] createInputArrayInt(int len, int seed, int eltRange) { argument 68 Random rand = new Random(seed);
|
H A D | UT_reduce.java | 143 private byte[] createInputArrayByte(int len, int seed) { argument 145 (new Random(seed)).nextBytes(array); 158 private float[] createInputArrayFloat(int len, int seed) { argument 159 return createInputArrayFloat(len, new Random(seed)); 162 private float[] createInputArrayFloatWithInfs(int len, int infs, int seed) { argument 163 Random rand = new Random(seed); 170 private int[] createInputArrayInt(int len, int seed) { argument 171 Random rand = new Random(seed); 178 private int[] createInputArrayInt(int len, int seed, int eltRange) { argument 179 Random rand = new Random(seed); 287 addint1D_array(RenderScript RS, ScriptC_reduce s, int seed, int[] size) argument 296 addint1D(RenderScript RS, ScriptC_reduce s, int seed, int[] size) argument 324 addint2D(RenderScript RS, ScriptC_reduce s, int seed, int[] size) argument 357 addint3D(RenderScript RS, ScriptC_reduce s, int seed, int[] size) argument 505 findMinAbsBool(RenderScript RS, ScriptC_reduce s, int seed, int[] size) argument 510 findMinAbsBoolInf(RenderScript RS, ScriptC_reduce s, int seed, int[] size) argument 515 findMinAbsNaN(RenderScript RS, ScriptC_reduce s, int seed, int[] size) argument 520 findMinAbsNaNInf(RenderScript RS, ScriptC_reduce s, int seed, int[] size) argument 547 findMinAndMax_array(RenderScript RS, ScriptC_reduce s, int seed, int[] size) argument 562 findMinAndMax(RenderScript RS, ScriptC_reduce s, int seed, int[] size) argument 636 findMinMat(RenderScript RS, int seed, int[] inputSize, int matSize, Element matElement, ReduceFindMinMat reduction) argument 668 findMinMat2(RenderScript RS, ScriptC_reduce s, int seed, int[] size) argument 673 findMinMat4(RenderScript RS, ScriptC_reduce s, int seed, int[] size) argument 687 fz_array(RenderScript RS, ScriptC_reduce s, int seed, int size[]) argument 702 fz(RenderScript RS, ScriptC_reduce s, int seed, int size[]) argument 738 fz2(RenderScript RS, ScriptC_reduce s, int seed, int size[]) argument 782 fz3(RenderScript RS, ScriptC_reduce s, int seed, int[] size) argument 855 histogram_array(RenderScript RS, ScriptC_reduce s, int seed, int size[]) argument 866 histogram(RenderScript RS, ScriptC_reduce s, int seed, int size[]) argument 937 mode_array(RenderScript RS, ScriptC_reduce s, int seed, int size[]) argument 968 sumgcd(RenderScript RS, ScriptC_reduce s, int seed, int size[]) argument 1043 run(RenderScript RS, ScriptC_reduce s, int seed, int[] size) argument 1080 public final int seed; field in class:UT_reduce.TestDescription 1100 run(TestDescription td, RenderScript RS, ScriptC_reduce s, int seed, int[] size) argument [all...] |
/frameworks/compile/mclinker/include/mcld/ADT/ |
H A D | StringHash.h | 126 const uint32_t seed = 131; local 130 hash_val = (hash_val * seed) + pKey[i];
|
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcStress.cpp | 203 void initFrames(unsigned int seed); 532 // sets the seed on each pass. Defensively set it here 551 void initFrames(unsigned int seed) argument 558 if (verbose) { testPrintI("initFrames seed: %u", seed); } 559 srand48(seed);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | StreamingTextView.java | 237 public DottySpan(int seed, int pos) { argument 238 mSeed = seed;
|
/frameworks/av/media/libstagefright/omx/tests/ |
H A D | OMXHarness.cpp | 821 " -s(eed) Set the random seed\n" 840 unsigned long seed = 0xdeadbeef; local 851 fprintf(stderr, "Malformed seed.\n"); 855 seed = x; 877 "with \"%s -s %lu\"\n", me, seed); 879 srand(seed);
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/ |
H A D | Cat.java | 45 private synchronized Random notSoRandom(long seed) { argument 48 mNotSoRandom.setSeed(seed); 141 public Cat(Context context, long seed) { argument 143 mSeed = seed; 148 final Random nsr = notSoRandom(seed);
|
/frameworks/rs/script_api/ |
H A D | GenerateTestFiles.cpp | 108 void writeJavaRandomCompatibleFloatAllocation(const string& dataType, const string& seed, 112 void writeJavaRandomCompatibleIntegerAllocation(const string& dataType, const string& seed, 322 const string seed = hashString(mJavaCheckMethodName + param.javaAllocName); local 326 writeJavaRandomCompatibleFloatAllocation(dataType, seed, vectorSize, 330 writeJavaRandomCompatibleIntegerAllocation(dataType, seed, vectorSize, 336 << vectorSize << ", " << seed << ", " << param.minValue << ", " << param.maxValue 343 << ", " << seed << ", false)"; local 349 const string& dataType, const string& seed, char vectorSize, 352 << "(mRS, Element.DataType." << dataType << ", " << vectorSize << ", " << seed << ", "; local 381 const string& dataType, const string& seed, cha 348 writeJavaRandomCompatibleFloatAllocation( const string& dataType, const string& seed, char vectorSize, const NumericalType& compatibleType, const NumericalType& generatedType) const argument 380 writeJavaRandomCompatibleIntegerAllocation( const string& dataType, const string& seed, char vectorSize, const NumericalType& compatibleType, const NumericalType& generatedType) const argument 384 << "(mRS, Element.DataType." << dataType << ", " << vectorSize << ", " << seed << ", "; local [all...] |
/frameworks/base/core/tests/coretests/src/android/app/ |
H A D | DownloadManagerBaseTest.java | 109 * Creates RNG with self-generated seed value. 118 * Creats RNG with given initial seed value 120 * @param seed The initial seed value 122 public LoggingRng(long seed) { argument 123 super(seed); 124 Log.i(LOG_TAG, "Seeding RNG with value: " + seed);
|
/frameworks/native/opengl/tests/angeles/ |
H A D | demo.c | 46 static void seedRandom(unsigned long seed) argument 48 sRandomSeed = seed;
|
/frameworks/base/core/java/android/content/res/ |
H A D | AssetManager.java | 314 /*package*/ final void makeStringBlocks(StringBlock[] seed) { argument 315 final int seedNum = (seed != null) ? seed.length : 0; 322 mStringBlocks[i] = seed[i];
|
/frameworks/base/services/net/java/android/net/dhcp/ |
H A D | DhcpPacket.java | 380 // needed to seed the IP checksum. 481 * payload) on the specified portion of a ByteBuffer. The seed 484 private int checksum(ByteBuffer buf, int seed, int start, int end) { argument 485 int sum = seed;
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | AlarmManagerService.java | 379 Batch(Alarm seed) { argument 380 start = seed.whenElapsed; 381 end = seed.maxWhenElapsed; 382 flags = seed.flags; 383 alarms.add(seed);
|
/frameworks/data-binding/prebuilds/1.0-rc0/ |
H A D | databinding-studio-bundle.jar | META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ... |