/Zephyr-Core-3.7.0/tests/bsim/bluetooth/host/att/eatt/src/ |
D | common.c | 18 static volatile bool is_connected; variable 42 is_connected = true; in connected() 55 is_connected = false; in disconnected() 120 while (!is_connected) { in central_setup_and_connect() 148 while (!is_connected) { in peripheral_setup_and_connect() 160 while (is_connected) { in wait_for_disconnect() 174 while (is_connected) { in disconnect()
|
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/host/l2cap/send_on_connect/src/ |
D | main_l2cap_send_on_connect.c | 18 CREATE_FLAG(is_connected); 135 SET_FLAG(is_connected); in connected() 147 UNSET_FLAG(is_connected); in disconnected() 196 WAIT_FOR_FLAG_SET(is_connected); in test_peripheral_main() 202 WAIT_FOR_FLAG_UNSET(is_connected); in test_peripheral_main() 221 WAIT_FOR_FLAG_SET(is_connected); in test_central_main() 234 WAIT_FOR_FLAG_UNSET(is_connected); in test_central_main()
|
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/host/l2cap/split/dut/src/ |
D | main.c | 21 DEFINE_FLAG(is_connected); 136 SET_FLAG(is_connected); in connected() 147 UNSET_FLAG(is_connected); in disconnected() 191 UNSET_FLAG(is_connected); in connect() 198 WAIT_FOR_FLAG(is_connected); in connect() 205 SET_FLAG(is_connected); in disconnect_device() 211 WAIT_FOR_FLAG_UNSET(is_connected); in disconnect_device()
|
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/host/misc/disconnect/dut/src/ |
D | main.c | 26 DEFINE_FLAG(is_connected); 51 SET_FLAG(is_connected); in connected() 63 UNSET_FLAG(is_connected); in disconnected() 130 UNSET_FLAG(is_connected); in connect() 136 WAIT_FOR_FLAG(is_connected); in connect() 260 WAIT_FOR_FLAG_UNSET(is_connected); in test_procedure_0()
|
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/host/l2cap/credits/src/ |
D | main.c | 16 CREATE_FLAG(is_connected); 181 SET_FLAG(is_connected); in connected() 192 UNSET_FLAG(is_connected); in disconnected() 204 SET_FLAG(is_connected); in disconnect_device() 210 WAIT_FOR_FLAG_UNSET(is_connected); in disconnect_device() 244 WAIT_FOR_FLAG_SET(is_connected); in test_peripheral_main() 310 UNSET_FLAG(is_connected); in connect_peripheral() 317 WAIT_FOR_FLAG_SET(is_connected); in connect_peripheral() 386 WAIT_FOR_FLAG_UNSET(is_connected); in test_central_main()
|
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/host/misc/hfc/src/ |
D | main.c | 28 DEFINE_FLAG(is_connected); 57 SET_FLAG(is_connected); in connected() 68 UNSET_FLAG(is_connected); in disconnected() 118 UNSET_FLAG(is_connected); in connect_as_peripheral() 124 WAIT_FOR_FLAG(is_connected); in connect_as_peripheral() 144 UNSET_FLAG(is_connected); in connect_as_central() 150 WAIT_FOR_FLAG(is_connected); in connect_as_central() 293 WAIT_FOR_FLAG_UNSET(is_connected); in disconnect()
|
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/host/l2cap/credits_seg_recv/src/ |
D | main.c | 14 CREATE_FLAG(is_connected); 198 SET_FLAG(is_connected); in connected() 209 UNSET_FLAG(is_connected); in disconnected() 221 SET_FLAG(is_connected); in disconnect_device() 227 WAIT_FOR_FLAG_UNSET(is_connected); in disconnect_device() 262 WAIT_FOR_FLAG_SET(is_connected); in test_peripheral_main() 328 UNSET_FLAG(is_connected); in connect_peripheral() 335 WAIT_FOR_FLAG_SET(is_connected); in connect_peripheral() 425 WAIT_FOR_FLAG_UNSET(is_connected); in test_central_main()
|
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/host/l2cap/many_conns/src/ |
D | main.c | 16 CREATE_FLAG(is_connected); 205 SET_FLAG(is_connected); in connected() 216 UNSET_FLAG(is_connected); in disconnected() 229 SET_FLAG(is_connected); in disconnect_device() 235 WAIT_FOR_FLAG_UNSET(is_connected); in disconnect_device() 263 WAIT_FOR_FLAG_SET(is_connected); in test_peripheral_main() 276 WAIT_FOR_FLAG_UNSET(is_connected); in test_peripheral_main() 314 UNSET_FLAG(is_connected); in connect_peripheral() 321 WAIT_FOR_FLAG_SET(is_connected); in connect_peripheral()
|
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/host/l2cap/stress/src/ |
D | main.c | 16 CREATE_FLAG(is_connected); 263 SET_FLAG(is_connected); in connected() 274 UNSET_FLAG(is_connected); in disconnected() 287 SET_FLAG(is_connected); in disconnect_device() 293 WAIT_FOR_FLAG_UNSET(is_connected); in disconnect_device() 327 WAIT_FOR_FLAG_SET(is_connected); in test_peripheral_main() 340 WAIT_FOR_FLAG_UNSET(is_connected); in test_peripheral_main() 384 UNSET_FLAG(is_connected); in connect_peripheral() 391 WAIT_FOR_FLAG_SET(is_connected); in connect_peripheral()
|
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/host/l2cap/userdata/src/ |
D | main_l2cap_userdata.c | 23 CREATE_FLAG(is_connected); 125 SET_FLAG(is_connected); in connected() 137 UNSET_FLAG(is_connected); in disconnected() 184 WAIT_FOR_FLAG_SET(is_connected); in test_peripheral_main() 237 WAIT_FOR_FLAG_SET(is_connected); in test_central_main()
|
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/host/att/pipeline/dut/src/ |
D | main.c | 30 DEFINE_FLAG(is_connected); 55 SET_FLAG(is_connected); in connected() 66 UNSET_FLAG(is_connected); in disconnected() 134 UNSET_FLAG(is_connected); in connecc() 141 WAIT_FOR_FLAG(is_connected); in connecc() 155 UNSET_FLAG(is_connected); in connect() 161 WAIT_FOR_FLAG(is_connected); in connect()
|
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/host/att/sequential/dut/src/ |
D | main.c | 25 DEFINE_FLAG(is_connected); 54 SET_FLAG(is_connected); in connected() 66 UNSET_FLAG(is_connected); in disconnected() 133 UNSET_FLAG(is_connected); in connect() 139 WAIT_FOR_FLAG(is_connected); in connect()
|
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/host/l2cap/general/src/ |
D | main_l2cap_ecred.c | 57 CREATE_FLAG(is_connected); 331 SET_FLAG(is_connected); in connected() 349 UNSET_FLAG(is_connected); in disconnected() 460 WAIT_FOR_FLAG_SET(is_connected); in test_peripheral_main() 498 WAIT_FOR_FLAG_UNSET(is_connected); in test_peripheral_main() 553 WAIT_FOR_FLAG_SET(is_connected); in test_central_main()
|
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/host/att/pipeline/tester/src/ |
D | main.c | 40 DEFINE_FLAG(is_connected); 145 SET_FLAG(is_connected); in handle_meta_event() 319 UNSET_FLAG(is_connected); in recv() 607 WAIT_FOR_FLAG(is_connected); in test_procedure_0() 640 WAIT_FOR_FLAG(is_connected); in test_procedure_1() 651 while (TEST_FLAG(is_connected)) { in test_procedure_1()
|
/Zephyr-Core-3.7.0/subsys/net/lib/sockets/ |
D | socketpair.c | 615 bool is_connected; in spair_read() local 649 is_connected = sock_is_connected(spair); in spair_read() 653 if (!is_connected) { in spair_read() 735 if (is_connected) { in spair_read() 1068 bool is_connected; in spair_sendmsg() local 1079 is_connected = sock_is_connected(spair); in spair_sendmsg() 1080 avail = is_connected ? spair_write_avail(spair) : 0; in spair_sendmsg() 1089 if (!is_connected) { in spair_sendmsg()
|
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/audio/src/ |
D | tbs_test.c | 27 CREATE_FLAG(is_connected); 110 SET_FLAG(is_connected); in connected() 355 WAIT_FOR_COND(is_connected); in test_main()
|
D | tbs_client_test.c | 30 CREATE_FLAG(is_connected); 340 is_connected = true; in connected() 509 WAIT_FOR_COND(is_connected); in test_main()
|
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/host/l2cap/split/tester/src/ |
D | main.c | 30 DEFINE_FLAG(is_connected); 130 SET_FLAG(is_connected); in handle_meta_event() 275 UNSET_FLAG(is_connected); in recv() 619 WAIT_FOR_FLAG(is_connected); in test_procedure_0() 641 WAIT_FOR_FLAG_UNSET(is_connected); in test_procedure_0()
|
/Zephyr-Core-3.7.0/drivers/modem/ |
D | modem_socket.h | 49 bool is_connected; member
|
D | quectel-bg9x.c | 557 if (!sock->is_connected) { in offload_sendto() 708 if (sock->is_connected == true) { in offload_connect() 779 sock->is_connected = true; in offload_connect() 804 if (sock->is_connected) { in offload_close()
|
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/host/misc/disconnect/tester/src/ |
D | main.c | 41 DEFINE_FLAG(is_connected); 137 SET_FLAG(is_connected); in handle_meta_event() 273 UNSET_FLAG(is_connected); in recv() 554 WAIT_FOR_FLAG(is_connected); in test_procedure_0()
|
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/host/att/sequential/tester/src/ |
D | main.c | 39 DEFINE_FLAG(is_connected); 141 SET_FLAG(is_connected); in handle_meta_event() 295 UNSET_FLAG(is_connected); in recv() 604 WAIT_FOR_FLAG(is_connected); in test_procedure_0()
|
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/host/misc/hfc_multilink/tester/src/ |
D | tester.c | 34 DEFINE_FLAG(is_connected); 145 SET_FLAG(is_connected); in handle_meta_event() 287 UNSET_FLAG(is_connected); in recv() 646 WAIT_FOR_FLAG(is_connected); in entrypoint_tester()
|
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/ll/advx/src/ |
D | main.c | 105 static bool volatile is_scanned, is_connected, is_disconnected; variable 116 is_connected = true; in connected() 196 while (!is_connected) { in test_advx_main() 347 is_connected = false; in test_advx_main() 365 while (!is_connected) { in test_advx_main() 1342 while (!is_connected) { in test_scanx_main() 1353 is_connected = false; in test_scanx_main() 1417 while (!is_connected) { in test_scanx_main()
|
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/host/misc/conn_stress/central/src/ |
D | main.c | 158 static bool is_connected(struct bt_conn *conn) in is_connected() function 170 if (is_connected(conn)) { in get_connected_conn_info_ref() 222 __ASSERT_NO_MSG(!is_connected(conn)); in discover_func()
|