Home
last modified time | relevance | path

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

/Zephyr-latest/tests/bluetooth/host/keys/bt_keys_store/src/
Dmain.c52 struct bt_keys *returned_key; in ZTEST() local
57 returned_key = bt_keys_get_addr(id, addr); in ZTEST()
58 zassert_true(returned_key != NULL, "bt_keys_get_addr() returned a non-valid reference"); in ZTEST()
63 returned_code = bt_keys_store(returned_key); in ZTEST()
67 expect_single_call_bt_settings_store_keys(returned_key->storage_start); in ZTEST()
86 struct bt_keys *returned_key; in ZTEST() local
91 returned_key = bt_keys_get_addr(id, addr); in ZTEST()
92 zassert_true(returned_key != NULL, "bt_keys_get_addr() returned a non-valid reference"); in ZTEST()
97 returned_code = bt_keys_store(returned_key); in ZTEST()
101 expect_single_call_bt_settings_store_keys(returned_key->storage_start); in ZTEST()
[all …]
/Zephyr-latest/tests/bluetooth/host/keys/bt_keys_clear/src/
Dtest_suite_bt_settings.c49 struct bt_keys *returned_key, *find_returned_ref; in ZTEST() local
56 returned_key = bt_keys_get_addr(id, addr); in ZTEST()
57 zassert_true(returned_key != NULL, "bt_keys_get_addr() returned a non-valid reference"); in ZTEST()
60 bt_keys_clear(returned_key); in ZTEST()
63 zassert_mem_equal(returned_key, &empty_key, sizeof(struct bt_keys), in ZTEST()
87 struct bt_keys *returned_key, *find_returned_ref; in ZTEST() local
94 returned_key = bt_keys_get_addr(id, addr); in ZTEST()
95 zassert_true(returned_key != NULL, "bt_keys_get_addr() returned a non-valid reference"); in ZTEST()
98 bt_keys_clear(returned_key); in ZTEST()
101 zassert_mem_equal(returned_key, &empty_key, sizeof(struct bt_keys), in ZTEST()
/Zephyr-latest/tests/bluetooth/host/keys/bt_keys_get_type/src/
Dmain.c76 struct bt_keys *returned_key; in ZTEST() local
89 returned_key = bt_keys_get_type(type, id, addr); in ZTEST()
90 returned_keys_refs[i] = returned_key; in ZTEST()
92 zassert_true(returned_key != NULL, in ZTEST()
94 zassert_true(returned_key->id == id, in ZTEST()
96 zassert_true(returned_key->keys == type, in ZTEST()
98 zassert_true(!bt_addr_le_cmp(&returned_key->addr, addr), in ZTEST()
100 bt_addr_le_str(&returned_key->addr), bt_addr_le_str(addr)); in ZTEST()
115 struct bt_keys *returned_key; in ZTEST() local
120 returned_key = bt_keys_get_type(type, id, addr); in ZTEST()
[all …]
/Zephyr-latest/tests/bluetooth/host/keys/bt_keys_get_addr/src/
Dmain.c73 struct bt_keys *returned_key; in ZTEST() local
83 returned_key = bt_keys_get_addr(id, addr); in ZTEST()
84 returned_keys_refs[i] = returned_key; in ZTEST()
86 zassert_true(returned_key != NULL, in ZTEST()
88 zassert_true(returned_key->id == id, in ZTEST()
90 zassert_true(!bt_addr_le_cmp(&returned_key->addr, addr), in ZTEST()
92 bt_addr_le_str(&returned_key->addr), bt_addr_le_str(addr)); in ZTEST()
144 struct bt_keys *returned_key, *expected_key_ref; in ZTEST() local
154 returned_key = bt_keys_get_addr(id, addr); in ZTEST()
157 zassert_true(returned_key != NULL, in ZTEST()
[all …]
Dtest_suite_full_list_overwrite_oldest.c133 struct bt_keys *returned_key; in ZTEST() local
140 returned_key = bt_keys_get_addr(id, addr); in ZTEST()
142 zassert_true(returned_key == NULL, "bt_keys_get_addr() returned a non-NULL reference"); in ZTEST()
160 struct bt_keys *returned_key; in ZTEST() local
170 returned_key = bt_keys_get_addr(id, addr); in ZTEST()
172 zassert_true(returned_key != NULL, "bt_keys_get_addr() returned a NULL reference"); in ZTEST()
173 zassert_true(returned_key == returned_keys_refs[expected_oldest_params_ref_idx], in ZTEST()
194 struct bt_keys *returned_key; in ZTEST() local
204 returned_key = bt_keys_get_addr(id, addr); in ZTEST()
206 zassert_true(returned_key != NULL, "bt_keys_get_addr() returned a NULL reference"); in ZTEST()
[all …]
Dtest_suite_full_list_no_overwrite.c49 struct bt_keys *returned_key; in ZTEST() local
53 returned_key = bt_keys_get_addr(id, addr); in ZTEST()
57 zassert_true(returned_key == NULL, "bt_keys_get_addr() returned a non-NULL reference"); in ZTEST()