Home
last modified time | relevance | path

Searched refs:returned_keys_refs (Results 1 – 12 of 12) sorted by relevance

/Zephyr-latest/tests/bluetooth/host/keys/bt_keys_foreach_bond/src/
Dmain.c26 static struct bt_keys *returned_keys_refs[CONFIG_BT_MAX_PAIRED]; variable
29 BUILD_ASSERT(ARRAY_SIZE(testing_id_addr_pair_lut) == ARRAY_SIZE(returned_keys_refs));
35 ARRAY_SIZE(testing_id_addr_pair_lut), returned_keys_refs); in type_not_set_ts_setup()
79 ARRAY_SIZE(testing_id_addr_pair_lut), returned_keys_refs); in type_set_ts_setup()
83 for (uint32_t i = 0; i < ARRAY_SIZE(returned_keys_refs); i++) { in type_set_ts_setup()
84 returned_keys_refs[i]->keys |= BT_KEYS_ALL; in type_set_ts_setup()
/Zephyr-latest/tests/bluetooth/host/keys/bt_keys_find_irk/src/
Dmain.c46 static struct bt_keys *returned_keys_refs[CONFIG_BT_MAX_PAIRED]; variable
49 BUILD_ASSERT(ARRAY_SIZE(testing_id_addr_type_lut) == ARRAY_SIZE(returned_keys_refs));
120 testing_id_addr_type_lut, ARRAY_SIZE(testing_id_addr_type_lut), returned_keys_refs); in rpa_resolving_ts_setup()
127 for (size_t it = 0; it < ARRAY_SIZE(returned_keys_refs); it++) { in rpa_resolving_ts_setup()
128 returned_keys_refs[it]->irk.val[0] = it; in rpa_resolving_ts_setup()
201 expected_key_ref = returned_keys_refs[it]; in ZTEST()
237 testing_id_addr_type_lut, ARRAY_SIZE(testing_id_addr_type_lut), returned_keys_refs); in no_resolving_ts_setup()
244 for (size_t it = 0; it < ARRAY_SIZE(returned_keys_refs); it++) { in no_resolving_ts_setup()
245 returned_keys_refs[it]->irk.val[0] = it; in no_resolving_ts_setup()
249 for (size_t it = 0; it < ARRAY_SIZE(returned_keys_refs); it++) { in no_resolving_ts_setup()
[all …]
/Zephyr-latest/tests/bluetooth/host/keys/bt_keys_get_addr/src/
Dmain.c28 struct bt_keys *returned_keys_refs[CONFIG_BT_MAX_PAIRED]; variable
33 BUILD_ASSERT(ARRAY_SIZE(testing_id_addr_pair_lut) == ARRAY_SIZE(returned_keys_refs));
84 returned_keys_refs[i] = returned_key; in ZTEST()
109 for (uint32_t i = 0; i < ARRAY_SIZE(returned_keys_refs); i++) { in ZTEST()
110 struct bt_keys *returned_ref = returned_keys_refs[i]; in ZTEST()
123 ARRAY_SIZE(testing_id_addr_pair_lut), returned_keys_refs); in test_case_setup()
155 expected_key_ref = returned_keys_refs[i]; in ZTEST()
Dtest_suite_full_list_no_overwrite.c18 extern struct bt_keys *returned_keys_refs[CONFIG_BT_MAX_PAIRED];
28 ARRAY_SIZE(testing_id_addr_pair_lut), returned_keys_refs); in test_case_setup()
Dtest_suite_full_list_overwrite_oldest.c20 extern struct bt_keys *returned_keys_refs[CONFIG_BT_MAX_PAIRED];
112 ARRAY_SIZE(testing_id_addr_pair_lut), returned_keys_refs); in test_case_setup()
173 zassert_true(returned_key == returned_keys_refs[expected_oldest_params_ref_idx], in ZTEST()
207 zassert_true(returned_key == returned_keys_refs[expected_oldest_params_ref_idx], in ZTEST()
238 returned_keys_refs[1]->aging_counter = bt_keys_get_aging_counter_val(); in ZTEST()
249 zassert_true(returned_key == returned_keys_refs[expected_oldest_params_ref_idx], in ZTEST()
Dtest_suite_full_list_invalid_values.c21 extern struct bt_keys *returned_keys_refs[CONFIG_BT_MAX_PAIRED];
51 ARRAY_SIZE(testing_id_addr_pair_lut), returned_keys_refs); in test_case_setup()
/Zephyr-latest/tests/bluetooth/host/keys/bt_keys_update_usage/src/
Dmain.c35 struct bt_keys *returned_keys_refs[CONFIG_BT_MAX_PAIRED]; variable
41 BUILD_ASSERT(ARRAY_SIZE(testing_id_addr_pair_lut) == ARRAY_SIZE(returned_keys_refs));
47 ARRAY_SIZE(testing_id_addr_pair_lut), returned_keys_refs); in tc_setup()
51 last_keys_updated = returned_keys_refs[CONFIG_BT_MAX_PAIRED - 1]; in tc_setup()
125 expected_updated_keys = returned_keys_refs[it]; in ZTEST()
Dtest_suite_save_aging_counter.c25 extern struct bt_keys *returned_keys_refs[CONFIG_BT_MAX_PAIRED];
33 ARRAY_SIZE(testing_id_addr_pair_lut), returned_keys_refs); in tc_setup()
64 expected_updated_keys = returned_keys_refs[it]; in ZTEST()
/Zephyr-latest/tests/bluetooth/host/keys/bt_keys_foreach_type/src/
Dmain.c40 static struct bt_keys *returned_keys_refs[CONFIG_BT_MAX_PAIRED]; variable
43 BUILD_ASSERT(ARRAY_SIZE(testing_id_addr_type_lut) == ARRAY_SIZE(returned_keys_refs));
45 BUILD_ASSERT(ARRAY_SIZE(testing_id_addr_type_no_type_lut) == ARRAY_SIZE(returned_keys_refs));
52 returned_keys_refs); in type_not_set_ts_setup()
95 ARRAY_SIZE(testing_id_addr_type_lut), returned_keys_refs); in type_set_ts_setup()
/Zephyr-latest/tests/bluetooth/host/keys/bt_keys_find_addr/src/
Dmain.c35 static struct bt_keys *returned_keys_refs[CONFIG_BT_MAX_PAIRED]; variable
38 BUILD_ASSERT(ARRAY_SIZE(testing_id_addr_pair_lut) == ARRAY_SIZE(returned_keys_refs));
76 ARRAY_SIZE(testing_id_addr_pair_lut), returned_keys_refs); in filled_list_ts_setup()
102 expected_key_ref = returned_keys_refs[i]; in ZTEST()
/Zephyr-latest/tests/bluetooth/host/keys/bt_keys_get_type/src/
Dmain.c33 static struct bt_keys *returned_keys_refs[CONFIG_BT_MAX_PAIRED]; variable
36 BUILD_ASSERT(ARRAY_SIZE(testing_id_addr_type_lut) == ARRAY_SIZE(returned_keys_refs));
51 testing_id_addr_type_lut, ARRAY_SIZE(testing_id_addr_type_lut), returned_keys_refs); in full_list_ts_setup()
90 returned_keys_refs[i] = returned_key; in ZTEST()
152 expected_key_ref = returned_keys_refs[i]; in ZTEST()
/Zephyr-latest/tests/bluetooth/host/keys/bt_keys_find/src/
Dmain.c31 static struct bt_keys *returned_keys_refs[CONFIG_BT_MAX_PAIRED]; variable
34 BUILD_ASSERT(ARRAY_SIZE(testing_id_addr_type_lut) == ARRAY_SIZE(returned_keys_refs));
72 testing_id_addr_type_lut, ARRAY_SIZE(testing_id_addr_type_lut), returned_keys_refs); in filled_list_ts_setup()
104 expected_key_ref = returned_keys_refs[it]; in ZTEST()