Home
last modified time | relevance | path

Searched refs:rand2 (Results 1 – 3 of 3) sorted by relevance

/system/netd/server/
DClatdControllerTest.cpp139 uint16_t rand2 = (rand >> 16) & 0xffff; in TEST_F() local
140 std::string v6PrefixStr = StringPrintf("2001:db8:%x:%x", rand1, rand2); in TEST_F()
141 std::string v6InterfaceAddrStr = StringPrintf("%s::%x:%x", v6PrefixStr.c_str(), rand2, rand1); in TEST_F()
142 std::string nat64PrefixStr = StringPrintf("2001:db8:%x:%x::", rand2, rand1); in TEST_F()
/system/bt/stack/btm/
Dbtm_ble.cc2003 static void btm_ble_reset_id_impl(const Octet16& rand1, const Octet16& rand2) { in btm_ble_reset_id_impl() argument
2025 btm_cb.devcb.ble_encryption_key_value = rand2; in btm_ble_reset_id_impl()
2031 Octet16 rand2; member
2049 memcpy(tmp.rand2.data(), rand, BT_OCTET8_LEN); in btm_ble_reset_id()
2052 memcpy(tmp.rand2.data() + 8, rand, BT_OCTET8_LEN); in btm_ble_reset_id()
2054 btm_ble_reset_id_impl(tmp.rand1, tmp.rand2); in btm_ble_reset_id()
/system/security/keystore2/src/
Ddatabase.rs3306 let rand2 = random(); in test_mocked_random() localVariable
3308 if rand1 == rand2 { in test_mocked_random()
3309 assert_eq!(rand2 + 1, rand3); in test_mocked_random()
3311 assert_eq!(rand1 + 1, rand2); in test_mocked_random()
3312 assert_eq!(rand2, rand3); in test_mocked_random()