Home
last modified time | relevance | path

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

/system/bt/gd/security/
Dpairing_handler_le_legacy.cc128 Octet16 mrand, srand; in DoLegacyStage2() local
167 srand = std::get<PairingRandomView>(random_pkt).GetRandomValue(); in DoLegacyStage2()
173 srand, in DoLegacyStage2()
188 srand = GenerateRandom<16>(); in DoLegacyStage2()
195 srand, in DoLegacyStage2()
237 SendL2capPacket(i, PairingRandomBuilder::Create(srand)); in DoLegacyStage2()
243 return crypto_toolbox::s1(tk, mrand, srand); in DoLegacyStage2()
Decdh_keys.cc40 std::srand(std::time(nullptr)); in GenerateRandom()
/system/chre/util/tests/
Dheap_test.cc30 std::srand(0xcafe); in TEST()
70 std::srand(0xcafe); in TEST()
/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/tools/hidl/test/lazy_test/
Dhidl_lazy_test.cpp155 srand(time(nullptr)); in main()
/system/extras/tests/ext4/
Drand_emmc_perf.c255 srand(seed); in main()
/system/tools/aidl/tests/lazy_test/
Dmain.cpp198 srand(time(nullptr)); in main()
/system/core/logd/
DSerializedFlushToStateTest.cpp191 srand(1); in TEST_F()
DLogBufferTest.cpp303 srand(1); in TEST_P()
/system/libhwbinder/vts/performance/
DBenchmark_throughput.cpp203 srand(num); in worker_fx()
/system/keymaster/tests/
Dkey_blob_test.cpp295 srand(now); in TEST_F()
Dandroid_keymaster_messages_test.cpp674 srand(now); in parse_garbage()
/system/gatekeeper/tests/
Dgatekeeper_messages_test.cpp39 srand(size); in make_buffer()
/system/bt/stack/btm/
Dbtm_devctl.cc202 std::srand(std::time(nullptr)); in 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()