Home
last modified time | relevance | path

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

/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/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/
DMobileDataSliceTest.java165 final boolean seed = true; in isMobileDataEnabled_mobileDataEnabled()
166 doReturn(seed).when(mTelephonyManager).isDataEnabled(); in isMobileDataEnabled_mobileDataEnabled()
170 assertThat(isMobileDataEnabled).isEqualTo(seed); in isMobileDataEnabled_mobileDataEnabled()
/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/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.java54 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/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...
Dnb_wordlist.combined.gz1dictionary=main:nb,locale=nb,description=Norsk bokmål,date=1393228136 ...