Home
last modified time | relevance | path

Searched refs:aging_counter (Results 1 – 6 of 6) sorted by relevance

/Zephyr-latest/subsys/bluetooth/host/classic/
Dkeys_br.c72 if (current->aging_counter < key->aging_counter) { in bt_keys_get_link_key()
86 key->aging_counter = ++aging_counter_val; in bt_keys_get_link_key()
212 if (aging_counter_val < link_key->aging_counter) { in link_key_set()
213 aging_counter_val = link_key->aging_counter; in link_key_set()
236 link_key->aging_counter = ++aging_counter_val; in bt_keys_link_key_update_usage()
239 LOG_DBG("Aging counter for %s is set to %u", bt_addr_str(addr), link_key->aging_counter); in bt_keys_link_key_update_usage()
/Zephyr-latest/tests/bluetooth/host/keys/bt_keys_update_usage/src/
Dtest_suite_save_aging_counter.c65 old_aging_counter = expected_updated_keys->aging_counter; in ZTEST()
72 zassert_true(expected_updated_keys->aging_counter > (old_aging_counter), in ZTEST()
Dmain.c126 old_aging_counter = expected_updated_keys->aging_counter; in ZTEST()
130 zassert_true(expected_updated_keys->aging_counter > (old_aging_counter), in ZTEST()
/Zephyr-latest/subsys/bluetooth/host/
Dkeys.c123 if ((oldest == NULL) || (current->aging_counter < oldest->aging_counter)) { in bt_keys_get_addr()
147 keys->aging_counter = ++aging_counter_val; in bt_keys_get_addr()
431 if (aging_counter_val < keys->aging_counter) { in keys_set()
432 aging_counter_val = keys->aging_counter; in keys_set()
479 keys->aging_counter = ++aging_counter_val; in bt_keys_update_usage()
482 LOG_DBG("Aging counter for %s is set to %u", bt_addr_le_str(addr), keys->aging_counter); in bt_keys_update_usage()
Dkeys.h83 uint32_t aging_counter; member
218 uint32_t aging_counter; member
/Zephyr-latest/tests/bluetooth/host/keys/bt_keys_get_addr/src/
Dtest_suite_full_list_overwrite_oldest.c238 returned_keys_refs[1]->aging_counter = bt_keys_get_aging_counter_val(); in ZTEST()