Home
last modified time | relevance | path

Searched defs:random (Results 1 – 25 of 66) sorted by relevance

123

/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DTranscodeHelperTest.java104 Random random = new Random(System.currentTimeMillis()); in testDoesNotTranscodeForMediaProvider() local
116 Random random = new Random(System.currentTimeMillis()); in testDoesNotTranscodeForSystemProcesses() local
125 Random random = new Random(System.currentTimeMillis()); in testDoesNotTranscodeIfAppAcceptsOriginalFormat() local
138 Random random = new Random(System.currentTimeMillis()); in testDoesNotTranscodeIfAppExtraMediaCapabilitiesHevc_supported() local
154 Random random = new Random(System.currentTimeMillis()); in testTranscodesIfAppExtraMediaCapabilitiesHevc_unsupported() local
/packages/modules/Connectivity/nearby/tests/unit/src/com/android/server/nearby/common/bluetooth/fastpair/
DHmacSha256Test.java60 Random random = new Random(0xFE2C); in compareResultWithOurImplementation_mustBeIdentical() local
90 Random random = new Random(0x1237); in inputTwoIdenticalArrays_compareTwoHmacMustReturnTrue() local
101 Random random = new Random(0xff); in inputTwoRandomArrays_compareTwoHmacMustReturnFalse() local
DAesCtrMultipleBlockEncryptionTest.java162 SecureRandom random = new SecureRandom(); in decryptEncryptedRandomDataForCertainAmount_mustEqualToOriginalData() local
181 SecureRandom random = new SecureRandom(); in twoDistinctEncryptionOnSameRandomData_mustBeDifferentResult() local
/packages/inputmethods/LatinIME/tools/dicttool/tests/com/android/inputmethod/latin/makedict/
DFusionDictionaryTest.java40 final Random random = new Random(seed); in prepare() local
48 private String generateWord(final Random random) { in generateWord()
64 private void generateWords(final int number, final Random random) { in generateWords()
/packages/modules/StatsD/lib/libkll/include/
Dkll.h77 KllQuantile(int64_t inv_eps, int64_t inv_delta, int k, RandomGenerator* random) in KllQuantile()
129 void set_random(RandomGenerator* random) { in set_random()
141 RandomGenerator* random() const { in random() function
Dcompactor_stack.h82 RandomGenerator* random() { in random() function
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/
DCodePointUtils.java72 @Nonnull final Random random) { in generateCodePointSet()
98 public static String generateWord(@Nonnull final Random random, in generateWord()
/packages/modules/Bluetooth/system/gd/security/
Dpairing_handler_le_secure_connections.cc259 auto random = WaitPairingRandom(); in SecureConnectionsOutOfBand() local
270 auto random = WaitPairingRandom(); in SecureConnectionsOutOfBand() local
345 auto random = WaitPairingRandom(); in SecureConnectionsPasskeyEntry() local
374 auto random = WaitPairingRandom(); in SecureConnectionsPasskeyEntry() local
451 auto random = WaitPairingRandom(); in SecureConnectionsJustWorks() local
475 auto random = WaitPairingRandom(); in SecureConnectionsJustWorks() local
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DLatinImeStressTests.java32 final Random random = new Random(seed); in testSwitchLanguagesAndInputLatinRandomCodePoints() local
49 final Random random = new Random(seed); in testSwitchLanguagesAndInputRandomCodePoints() local
DBinaryDictionaryTests.java263 final Random random = new Random(seed); in testRandomlyAddUnigramWord() local
337 final Random random = new Random(seed); in testRandomlyAddBigramWords() local
477 final Random random = new Random(seed); in testAddBigramWordsAndFlashWithGC() local
540 final Random random = new Random(seed); in testRandomOperationsAndFlashWithGC() local
625 final Random random = new Random(seed); in testAddManyUnigramsAndFlushWithGC() local
668 final Random random = new Random(seed); in testUnigramAndBigramCount() local
715 final Random random = new Random(seed); in testGetWordProperties() local
801 final Random random = new Random(seed); in testIterateAllWords() local
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/personalization/
DUserHistoryDictionaryTests.java133 final Random random = new Random(123456); in doTestRandomWords() local
168 final Random random = new Random(123456); in doTestStressTestForSwitchingLanguagesAndAddingWords() local
224 final Random random = new Random(123456); in doTestAddManyWords() local
DUserHistoryDictionaryTestsHelper.java78 final int numberOfWords, final Random random, final boolean checkContents, in addAndWriteRandomWords()
123 public static List<String> generateWords(final int numberOfWords, final Random random) { in generateWords()
/packages/modules/StatsD/lib/libkll/tests/
Dcompactor_stack_test.cpp157 MTRandomGenerator random(10); in TEST_F() local
193 MTRandomGenerator random(rd()); in TEST_P() local
227 MTRandomGenerator random = MTRandomGenerator(seed); in TEST_P() local
279 MTRandomGenerator random = MTRandomGenerator(seed); in TEST_P() local
292 MTRandomGenerator random = MTRandomGenerator(seed); in TEST_P() local
/packages/modules/NeuralNetworks/common/random/
Dsimple_philox.cc21 namespace random { namespace
Drandom.cc23 namespace random { namespace
/packages/providers/MediaProvider/src/com/android/providers/media/metrics/
DTranscodeMetrics.java87 Random random = new Random(System.currentTimeMillis()); in doRandomSampling() local
126 Random random = new Random(System.currentTimeMillis()); in checkAndLimitStatsDataSizeAfterAddition() local
/packages/modules/StatsD/lib/libkll/
Dcompactor_stack.cpp27 CompactorStack::CompactorStack(int64_t inv_eps, int64_t inv_delta, RandomGenerator* random) in CompactorStack()
31 CompactorStack::CompactorStack(int64_t inv_eps, int64_t inv_delta, int k, RandomGenerator* random) in CompactorStack()
/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/src/com/android/libraries/rcs/simpleclient/protocol/cpim/
DCpimUtils.java48 Random random = new Random(); in generateImdnMessageId() local
/packages/apps/DocumentsUI/perf-tests/src/com/android/documentsui/
DStressProvider.java235 final Random random = new Random(index); in createRandomId() local
245 final Random random = new Random(index); in createRandomSize() local
250 final Random random = new Random(index); in createRandomTime() local
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
DMatrixTest.java119 public Matrix generatePermutationMatrix(int size, Random random) { in generatePermutationMatrix()
189 Random random = new Random(); in testCopy() local
/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/src/com/android/libraries/rcs/simpleclient/protocol/msrp/
DMsrpUtils.java25 private static final SecureRandom random = new SecureRandom(); field in MsrpUtils
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/utils/
DIkeSpiGenerator.java34 SecureRandom random = randomnessFactory.getRandom(); in IkeSpiGenerator() local
/packages/modules/Bluetooth/system/stack/btm/
Dbtm_ble_addr.cc45 BT_OCTET8 random) { in generate_rpa_from_irk_and_rand()
77 [](base::Callback<void(const RawAddress&)> cb, BT_OCTET8 random) { in btm_gen_resolvable_private_addr()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeNoncePayload.java74 SecureRandom random = randomnessFactory.getRandom(); in IkeNoncePayload() local
/packages/apps/Gallery2/src/com/android/photos/data/
DAlbumSetLoader.java39 double random = Math.random(); in createRandomRow() local

123