Home
last modified time | relevance | path

Searched refs:interval_random_part_max_ms (Results 1 – 2 of 2) sorted by relevance

/system/bt/stack/btm/
Dbtm_ble_addr.cc99 const uint64_t interval_random_part_max_ms = (8 * 60 * 1000); in btm_get_next_private_addrress_interval_ms() local
101 return interval_min_ms + std::rand() % interval_random_part_max_ms; in btm_get_next_private_addrress_interval_ms()
/system/bt/gd/hci/
Dle_address_manager.cc298 auto interval_random_part_max_ms = maximum_rotation_time_ - minimum_rotation_time_; in get_next_private_address_interval_ms() local
299 auto random_ms = std::chrono::milliseconds(os::GenerateRandom()) % (interval_random_part_max_ms); in get_next_private_address_interval_ms()