Home
last modified time | relevance | path

Searched refs:conn_ref (Results 1 – 5 of 5) sorted by relevance

/Zephyr-latest/tests/bsim/bluetooth/host/misc/conn_stress/central/src/
Dmain.c85 struct bt_conn *conn_ref; member
105 memset(&info->conn_ref, 0, sizeof(info->conn_ref)); in clear_info()
137 if (conn_infos[i].conn_ref == NULL) { in get_new_conn_info_ref()
147 static struct conn_info *get_conn_info_ref(struct bt_conn *conn_ref) in get_conn_info_ref() argument
150 if (conn_ref == conn_infos[i].conn_ref) { in get_conn_info_ref()
321 if (conn_infos[i].conn_ref != NULL) { in check_if_peer_connected()
322 if (!bt_addr_le_cmp(bt_conn_get_dst(conn_infos[i].conn_ref), addr)) { in check_if_peer_connected()
412 __ASSERT_NO_MSG(conn_info_ref->conn_ref == NULL); in connected_cb()
414 conn_info_ref->conn_ref = conn_connecting; in connected_cb()
443 __ASSERT_NO_MSG(conn_info_ref->conn_ref != NULL); in disconnected()
/Zephyr-latest/tests/bluetooth/common/testlib/
DCMakeLists.txt20 src/conn_ref.c
/Zephyr-latest/tests/bluetooth/host/id/bt_id_add/src/
Dmain.c112 struct bt_conn conn_ref = {0}; in ZTEST() local
118 bt_conn_lookup_state_le_fake.return_val = &conn_ref; in ZTEST()
123 expect_single_call_bt_conn_unref(&conn_ref); in ZTEST()
/Zephyr-latest/tests/bsim/bluetooth/host/misc/conn_stress/peripheral/src/
Dmain.c74 struct bt_conn *conn_ref; member
143 conn_info.conn_ref = conn; in connected()
372 __ASSERT_NO_MSG(conn_info.conn_ref); in disconnect()
374 int err = bt_conn_disconnect(conn_info.conn_ref, in disconnect()
421 subscribe_to_service(conn_info.conn_ref); in test_peripheral_main()
/Zephyr-latest/tests/bluetooth/host/id/bt_id_del/src/
Dmain.c118 struct bt_conn conn_ref = {0}; in ZTEST() local
124 bt_conn_lookup_state_le_fake.return_val = &conn_ref; in ZTEST()
129 expect_single_call_bt_conn_unref(&conn_ref); in ZTEST()