Home
last modified time | relevance | path

Searched full:bt_keys_get_addr (Results 1 – 13 of 13) sorted by relevance

/Zephyr-latest/tests/bluetooth/host/keys/bt_keys_get_addr/src/
Dmain.c66 * - A valid reference is returned by bt_keys_get_addr()
67 * - ID value matches the one passed to bt_keys_get_addr()
68 * - Address value matches the one passed to bt_keys_get_addr()
83 returned_key = bt_keys_get_addr(id, addr); in ZTEST()
87 "bt_keys_get_addr() failed to add key %d to the keys pool", i); in ZTEST()
89 "bt_keys_get_addr() returned a reference with an incorrect ID"); in ZTEST()
91 "bt_keys_get_addr() set incorrect address %s value, expected %s", in ZTEST()
97 * Test no equal references returned by bt_keys_get_addr()
113 "bt_keys_get_addr() returned unexpected reference at slot %u", i); in ZTEST()
137 * - A valid reference is returned by bt_keys_get_addr() that
[all …]
Dtest_suite_full_list_overwrite_oldest.c140 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()
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()
174 "bt_keys_get_addr() returned reference doesn't match expected one"); in ZTEST()
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()
208 "bt_keys_get_addr() returned reference doesn't match expected one"); in ZTEST()
246 returned_key = bt_keys_get_addr(id, addr); in ZTEST()
248 zassert_true(returned_key != NULL, "bt_keys_get_addr() returned a NULL reference"); in ZTEST()
[all …]
Dtest_suite_full_list_no_overwrite.c53 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()
Dtest_suite_full_list_invalid_values.c81 bt_keys_get_addr(id, addr); in ZTEST()
110 bt_keys_get_addr(id, addr); in ZTEST()
130 bt_keys_get_addr(0x00, NULL); in ZTEST()
/Zephyr-latest/tests/bluetooth/host/keys/bt_keys_store/src/
Dmain.c57 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()
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()
124 returned_key = bt_keys_get_addr(id, addr); in ZTEST()
125 zassert_true(returned_key != NULL, "bt_keys_get_addr() returned a non-valid reference"); in ZTEST()
158 returned_key = bt_keys_get_addr(id, addr); in ZTEST()
159 zassert_true(returned_key != NULL, "bt_keys_get_addr() returned a non-valid reference"); in ZTEST()
/Zephyr-latest/tests/bluetooth/host/keys/bt_keys_get_addr/
Dtestcase.yaml6 bluetooth.host.bt_keys_get_addr.default:
8 bluetooth.host.bt_keys_get_addr.keys_overwrite_oldest:
DCMakeLists.txt6 project(bt_keys_get_addr) project
/Zephyr-latest/tests/bluetooth/host/keys/bt_keys_clear/src/
Dtest_suite_bt_settings.c56 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()
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()
Dmain.c55 key_ref_to_clear = bt_keys_get_addr(id, addr); in ZTEST()
56 zassert_true(key_ref_to_clear != NULL, "bt_keys_get_addr() returned a non-valid reference"); in ZTEST()
101 key_ref_to_clear = bt_keys_get_addr(id, addr); in ZTEST()
102 zassert_true(key_ref_to_clear != NULL, "bt_keys_get_addr() returned a non-valid reference"); in ZTEST()
/Zephyr-latest/tests/bluetooth/host/keys/mocks/
Dkeys_help_utils.c35 refs[it] = bt_keys_get_addr(id, addr); in fill_key_pool_by_id_addr()
/Zephyr-latest/subsys/bluetooth/host/
Dkeys.c88 struct bt_keys *bt_keys_get_addr(uint8_t id, const bt_addr_le_t *addr) in bt_keys_get_addr() function
228 keys = bt_keys_get_addr(id, addr); in bt_keys_get_type()
406 keys = bt_keys_get_addr(id, &addr); in keys_set()
Dkeys.h124 struct bt_keys *bt_keys_get_addr(uint8_t id, const bt_addr_le_t *addr);
Dsmp.c663 conn->le.keys = bt_keys_get_addr(conn->id, &conn->le.dst); in update_debug_keys_check()
1056 keys = bt_keys_get_addr(conn->id, &addr); in smp_br_distribute_keys()
2901 conn->le.keys = bt_keys_get_addr(conn->id, &conn->le.dst); in smp_send_security_req()
2953 conn->le.keys = bt_keys_get_addr(conn->id, &conn->le.dst); in smp_pairing_req()
3147 conn->le.keys = bt_keys_get_addr(conn->id, &conn->le.dst); in smp_send_pairing_req()
5983 conn->le.keys = bt_keys_get_addr(conn->id, &conn->le.dst); in bt_smp_update_keys()