/packages/providers/MediaProvider/tests/src/com/android/providers/media/ |
D | TranscodeHelperTest.java | 104 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/ |
D | HmacSha256Test.java | 60 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
|
D | AesCtrMultipleBlockEncryptionTest.java | 162 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/ |
D | FusionDictionaryTest.java | 40 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/ |
D | kll.h | 77 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
|
D | compactor_stack.h | 82 RandomGenerator* random() { in random() function
|
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/ |
D | CodePointUtils.java | 72 @Nonnull final Random random) { in generateCodePointSet() 98 public static String generateWord(@Nonnull final Random random, in generateWord()
|
/packages/modules/Bluetooth/system/gd/security/ |
D | pairing_handler_le_secure_connections.cc | 259 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/ |
D | LatinImeStressTests.java | 32 final Random random = new Random(seed); in testSwitchLanguagesAndInputLatinRandomCodePoints() local 49 final Random random = new Random(seed); in testSwitchLanguagesAndInputRandomCodePoints() local
|
D | BinaryDictionaryTests.java | 263 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/ |
D | UserHistoryDictionaryTests.java | 133 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
|
D | UserHistoryDictionaryTestsHelper.java | 78 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/ |
D | compactor_stack_test.cpp | 157 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/ |
D | simple_philox.cc | 21 namespace random { namespace
|
D | random.cc | 23 namespace random { namespace
|
/packages/providers/MediaProvider/src/com/android/providers/media/metrics/ |
D | TranscodeMetrics.java | 87 Random random = new Random(System.currentTimeMillis()); in doRandomSampling() local 126 Random random = new Random(System.currentTimeMillis()); in checkAndLimitStatsDataSizeAfterAddition() local
|
/packages/modules/StatsD/lib/libkll/ |
D | compactor_stack.cpp | 27 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/ |
D | CpimUtils.java | 48 Random random = new Random(); in generateImdnMessageId() local
|
/packages/apps/DocumentsUI/perf-tests/src/com/android/documentsui/ |
D | StressProvider.java | 235 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/ |
D | MatrixTest.java | 119 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/ |
D | MsrpUtils.java | 25 private static final SecureRandom random = new SecureRandom(); field in MsrpUtils
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/utils/ |
D | IkeSpiGenerator.java | 34 SecureRandom random = randomnessFactory.getRandom(); in IkeSpiGenerator() local
|
/packages/modules/Bluetooth/system/stack/btm/ |
D | btm_ble_addr.cc | 45 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/ |
D | IkeNoncePayload.java | 74 SecureRandom random = randomnessFactory.getRandom(); in IkeNoncePayload() local
|
/packages/apps/Gallery2/src/com/android/photos/data/ |
D | AlbumSetLoader.java | 39 double random = Math.random(); in createRandomRow() local
|