Home
last modified time | relevance | path

Searched refs:srand (Results 1 – 21 of 21) sorted by relevance

/system/bt/gd/security/
Dpairing_handler_le_legacy.cc129 Octet16 mrand, srand; in DoLegacyStage2() local
168 srand = std::get<PairingRandomView>(random_pkt).GetRandomValue(); in DoLegacyStage2()
174 srand, in DoLegacyStage2()
189 srand = GenerateRandom<16>(); in DoLegacyStage2()
196 srand, in DoLegacyStage2()
238 SendL2capPacket(i, PairingRandomBuilder::Create(srand)); in DoLegacyStage2()
244 return crypto_toolbox::s1(tk, mrand, srand); in DoLegacyStage2()
Decdh_keys.cc41 std::srand(std::time(nullptr)); in GenerateRandom()
/system/chre/util/tests/
Dheap_test.cc30 std::srand(0xcafe); in TEST()
71 std::srand(0xcafe); in TEST()
/system/extras/multinetwork/
Ddnschk.cpp47 srand((unsigned long)time); in main()
Dcommon.cpp115 srand((unsigned long)time); in parseArguments()
/system/update_engine/payload_consumer/
Dextent_reader_unittest.cc51 srand(time(nullptr)); in SetUp()
156 srand(time(nullptr)); in TEST_F()
Dcached_file_descriptor_unittest.cc113 srand(time(nullptr)); in TEST_F()
/system/bt/gd/security/test/
Decdh_keys_test.cc47 std::srand(std::time(nullptr)); in TEST_F()
/system/extras/tests/ext4/
Drand_emmc_perf.c255 srand(seed); in main()
/system/tools/hidl/test/lazy_test/
Dhidl_lazy_test.cpp171 srand(time(nullptr)); in main()
/system/tools/aidl/tests/lazy_test/
Dmain.cpp212 srand(time(nullptr)); in main()
/system/logging/logd/
DSerializedFlushToStateTest.cpp193 srand(1); in TEST_F()
DLogBufferTest.cpp272 srand(1); in GenerateRandomLogMessages()
/system/libhwbinder/vts/performance/
DBenchmark_throughput.cpp203 srand(num); in worker_fx()
/system/keymaster/tests/
Dkey_blob_test.cpp302 srand(now); in TEST_F()
Dandroid_keymaster_messages_test.cpp909 srand(now); in parse_garbage()
/system/gatekeeper/tests/
Dgatekeeper_messages_test.cpp39 srand(size); in make_buffer()
/system/bt/stack/btm/
Dbtm_devctl.cc196 std::srand(std::time(nullptr)); in BTM_reset_complete()
/system/nvram/messages/tests/
Dnvram_messages_test.cpp400 srand(0); in TEST()
/system/extras/ioshark/
Dioshark_bench.c498 srand(gettid()); in io_thread()
/system/core/fs_mgr/libsnapshot/
Dcow_snapuserd_test.cpp734 std::srand(std::time(nullptr)); in MergeInterruptRandomly()