Home
last modified time | relevance | path

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

12

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DBinaryDictionaryTests.java258 final long seed = System.currentTimeMillis(); in testRandomlyAddUnigramWord() local
263 final Random random = new Random(seed); in testRandomlyAddUnigramWord()
336 final long seed = System.currentTimeMillis(); in testRandomlyAddBigramWords() local
337 final Random random = new Random(seed); in testRandomlyAddBigramWords()
476 final long seed = System.currentTimeMillis(); in testAddBigramWordsAndFlashWithGC() local
477 final Random random = new Random(seed); in testAddBigramWordsAndFlashWithGC()
539 final long seed = System.currentTimeMillis(); in testRandomOperationsAndFlashWithGC() local
540 final Random random = new Random(seed); in testRandomOperationsAndFlashWithGC()
624 final long seed = System.currentTimeMillis(); in testAddManyUnigramsAndFlushWithGC() local
625 final Random random = new Random(seed); in testAddManyUnigramsAndFlushWithGC()
[all …]
DLatinImeStressTests.java31 final long seed = System.currentTimeMillis(); in testSwitchLanguagesAndInputLatinRandomCodePoints() local
32 final Random random = new Random(seed); in testSwitchLanguagesAndInputLatinRandomCodePoints()
48 final long seed = System.currentTimeMillis(); in testSwitchLanguagesAndInputRandomCodePoints() local
49 final Random random = new Random(seed); in testSwitchLanguagesAndInputRandomCodePoints()
/packages/modules/IPsec/src/java/com/android/internal/net/eap/crypto/
DFips186_2Prf.java45 public byte[] getRandom(byte[] seed, int outputLenBytes) { in getRandom() argument
46 if (seed.length != SEED_LEN_BYTES) { in getRandom()
50 BigInteger xkey = unsignedByteArrayToBigInteger(seed); in getRandom()
/packages/apps/Gallery2/jni/filters/
Dkmeans.h89 unsigned int seed) { in initialPickHeuristicRandom() argument
93 srand(seed); in initialPickHeuristicRandom()
210 int iterations, unsigned int seed){ in runKMeans() argument
213 initialPickHeuristicRandom<T>(k, values, len, dimension, stride, initialPicks, seed); in runKMeans()
Dkmeans.cc35 jint swidth, jint sheight, jint p, jint seed) in JNIFUNCF() argument
54 unsigned int s = seed; in JNIFUNCF()
/packages/inputmethods/LatinIME/tools/dicttool/tests/com/android/inputmethod/latin/makedict/
DFusionDictionaryTest.java38 private void prepare(final long seed) { in prepare() argument
39 System.out.println("Seed is " + seed); in prepare()
40 final Random random = new Random(seed); in prepare()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/crypto/
DFips186_2PrfTest.java60 byte[] seed = TestUtils.hexStringToByteArray(SEED); in testFips186_2Prf()
61 byte[] actual = mFipsPrf.getRandom(seed, 40); in testFips186_2Prf()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/
DMobileDataSliceTest.java164 final boolean seed = true; in isMobileDataEnabled_mobileDataEnabled()
165 doReturn(seed).when(mTelephonyManager).isDataEnabled(); in isMobileDataEnabled_mobileDataEnabled()
169 assertThat(isMobileDataEnabled).isEqualTo(seed); in isMobileDataEnabled_mobileDataEnabled()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/testmode/
DDeterministicSecureRandom.java106 public void setSeed(byte[] seed) { in setSeed() argument
111 public void setSeed(long seed) { in setSeed() argument
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
Dunittest.h96 Random(unsigned seed = 0) : mSeed(seed) {} in mSeed() argument
/packages/inputmethods/LatinIME/tools/dicttool/tests/com/android/inputmethod/latin/dicttool/
DBinaryDictOffdeviceUtilsTests.java60 public BinaryDictOffdeviceUtilsTests(final long seed, final int maxUnigrams) { in BinaryDictOffdeviceUtilsTests() argument
62 mRandom = new Random(seed); in BinaryDictOffdeviceUtilsTests()
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DPhotoSource.java265 public void setSeed(long seed) { in setSeed() argument
266 mRNG.setSeed(seed); in setSeed()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DBinaryDictDecoderEncoderTests.java73 public BinaryDictDecoderEncoderTests(final long seed, final int maxUnigrams) { in BinaryDictDecoderEncoderTests() argument
76 Log.e(TAG, "Testing dictionary: seed is " + seed); in BinaryDictDecoderEncoderTests()
77 mRandom = new Random(seed); in BinaryDictDecoderEncoderTests()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DImageFilterKMeans.java51 int swidth, int sheight, int p, int seed); in nativeApplyFilter() argument
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpPacket.java589 private int checksum(ByteBuffer buf, int seed, int start, int end) { in checksum() argument
590 int sum = seed; in checksum()
/packages/services/Car/tests/BugReportApp/libs/
Djackson-core-2.9.9.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/LICENSE META-INF ...
/packages/apps/TV/libs/m2/
Dauto-common-0.10.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/ ...
Ddagger-android-processor-2.23.jarjava/dagger/android/processor/META-INF/gradle/incremental.annotation.processors ...
Ddagger-spi-2.23.jardagger/spi/package-info.class package-info.java package dagger.spi abstract ...
Dguava-28.0-android.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
Dguava-28.0-jre.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
Ddagger-compiler-2.23.jarjava/dagger/internal/codegen/META-INF/gradle/incremental.annotation.processors ...
/packages/services/Telecomm/libs/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/apps/TV/libs/
Dgoogle-java-format-1.7-all-deps.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/apps/Messaging/build/gcheckstyle/
Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com ...

12