Home
last modified time | relevance | path

Searched refs:is_connected (Results 1 – 25 of 29) sorted by relevance

12

/Zephyr-latest/tests/bsim/bluetooth/host/att/eatt/src/
Dcommon.c18 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-latest/tests/bsim/bluetooth/host/l2cap/send_on_connect/src/
Dmain_l2cap_send_on_connect.c18 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-latest/tests/bsim/bluetooth/host/l2cap/split/dut/src/
Dmain.c21 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-latest/tests/bsim/bluetooth/host/misc/disconnect/dut/src/
Dmain.c26 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-latest/tests/bsim/bluetooth/host/l2cap/credits/src/
Dmain.c16 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()
239 WAIT_FOR_FLAG_SET(is_connected); in test_peripheral_main()
305 UNSET_FLAG(is_connected); in connect_peripheral()
312 WAIT_FOR_FLAG_SET(is_connected); in connect_peripheral()
381 WAIT_FOR_FLAG_UNSET(is_connected); in test_central_main()
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/credits_seg_recv/src/
Dmain.c14 CREATE_FLAG(is_connected);
192 SET_FLAG(is_connected); in connected()
203 UNSET_FLAG(is_connected); in disconnected()
215 SET_FLAG(is_connected); in disconnect_device()
221 WAIT_FOR_FLAG_UNSET(is_connected); in disconnect_device()
252 WAIT_FOR_FLAG_SET(is_connected); in test_peripheral_main()
318 UNSET_FLAG(is_connected); in connect_peripheral()
325 WAIT_FOR_FLAG_SET(is_connected); in connect_peripheral()
415 WAIT_FOR_FLAG_UNSET(is_connected); in test_central_main()
/Zephyr-latest/tests/bsim/bluetooth/host/misc/hfc/src/
Dmain.c28 DEFINE_FLAG(is_connected);
57 SET_FLAG(is_connected); in connected()
68 UNSET_FLAG(is_connected); in disconnected()
114 UNSET_FLAG(is_connected); in connect_as_peripheral()
120 WAIT_FOR_FLAG(is_connected); in connect_as_peripheral()
140 UNSET_FLAG(is_connected); in connect_as_central()
146 WAIT_FOR_FLAG(is_connected); in connect_as_central()
289 WAIT_FOR_FLAG_UNSET(is_connected); in disconnect()
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/many_conns/src/
Dmain.c16 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()
258 WAIT_FOR_FLAG_SET(is_connected); in test_peripheral_main()
271 WAIT_FOR_FLAG_UNSET(is_connected); in test_peripheral_main()
309 UNSET_FLAG(is_connected); in connect_peripheral()
316 WAIT_FOR_FLAG_SET(is_connected); in connect_peripheral()
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/stress/src/
Dmain.c16 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()
322 WAIT_FOR_FLAG_SET(is_connected); in test_peripheral_main()
335 WAIT_FOR_FLAG_UNSET(is_connected); in test_peripheral_main()
379 UNSET_FLAG(is_connected); in connect_peripheral()
386 WAIT_FOR_FLAG_SET(is_connected); in connect_peripheral()
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/userdata/src/
Dmain_l2cap_userdata.c23 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-latest/tests/bsim/bluetooth/host/att/pipeline/dut/src/
Dmain.c30 DEFINE_FLAG(is_connected);
55 SET_FLAG(is_connected); in connected()
66 UNSET_FLAG(is_connected); in disconnected()
129 UNSET_FLAG(is_connected); in connecc()
136 WAIT_FOR_FLAG(is_connected); in connecc()
150 UNSET_FLAG(is_connected); in connect()
156 WAIT_FOR_FLAG(is_connected); in connect()
/Zephyr-latest/tests/bsim/bluetooth/host/att/sequential/dut/src/
Dmain.c25 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-latest/tests/bsim/bluetooth/host/l2cap/general/src/
Dmain_l2cap_ecred.c57 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-latest/tests/bsim/bluetooth/host/att/pipeline/tester/src/
Dmain.c41 DEFINE_FLAG(is_connected);
146 SET_FLAG(is_connected); in handle_meta_event()
320 UNSET_FLAG(is_connected); in recv()
608 WAIT_FOR_FLAG(is_connected); in test_procedure_0()
641 WAIT_FOR_FLAG(is_connected); in test_procedure_1()
652 while (TEST_FLAG(is_connected)) { in test_procedure_1()
/Zephyr-latest/subsys/net/lib/sockets/
Dsocketpair.c615 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-latest/tests/bsim/bluetooth/host/l2cap/reassembly/peer/src/
Dpeer.c43 DEFINE_FLAG(is_connected);
137 SET_FLAG(is_connected); in handle_meta_event()
250 UNSET_FLAG(is_connected); in recv()
439 WAIT_FOR_FLAG_UNSET(is_connected); in disconnect()
591 WAIT_FOR_FLAG(is_connected); in run_test_iteration()
/Zephyr-latest/tests/bsim/bluetooth/audio/src/
Dtbs_test.c27 CREATE_FLAG(is_connected);
110 SET_FLAG(is_connected); in connected()
418 WAIT_FOR_COND(is_connected); in test_main()
Dtbs_client_test.c30 CREATE_FLAG(is_connected);
340 is_connected = true; in connected()
514 WAIT_FOR_COND(is_connected); in test_main()
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/split/tester/src/
Dmain.c31 DEFINE_FLAG(is_connected);
131 SET_FLAG(is_connected); in handle_meta_event()
276 UNSET_FLAG(is_connected); in recv()
620 WAIT_FOR_FLAG(is_connected); in test_procedure_0()
642 WAIT_FOR_FLAG_UNSET(is_connected); in test_procedure_0()
/Zephyr-latest/drivers/modem/
Dmodem_socket.h49 bool is_connected; member
/Zephyr-latest/tests/bsim/bluetooth/host/misc/disconnect/tester/src/
Dmain.c42 DEFINE_FLAG(is_connected);
138 SET_FLAG(is_connected); in handle_meta_event()
274 UNSET_FLAG(is_connected); in recv()
555 WAIT_FOR_FLAG(is_connected); in test_procedure_0()
/Zephyr-latest/tests/bsim/bluetooth/host/att/sequential/tester/src/
Dmain.c40 DEFINE_FLAG(is_connected);
142 SET_FLAG(is_connected); in handle_meta_event()
296 UNSET_FLAG(is_connected); in recv()
605 WAIT_FOR_FLAG(is_connected); in test_procedure_0()
/Zephyr-latest/tests/bsim/bluetooth/host/misc/hfc_multilink/tester/src/
Dtester.c35 DEFINE_FLAG(is_connected);
146 SET_FLAG(is_connected); in handle_meta_event()
288 UNSET_FLAG(is_connected); in recv()
647 WAIT_FOR_FLAG(is_connected); in entrypoint_tester()
/Zephyr-latest/tests/bsim/bluetooth/ll/advx/src/
Dmain.c106 static bool volatile is_scanned, is_connected, is_disconnected; variable
117 is_connected = true; in connected()
197 while (!is_connected) { in test_advx_main()
348 is_connected = false; in test_advx_main()
366 while (!is_connected) { in test_advx_main()
1343 while (!is_connected) { in test_scanx_main()
1354 is_connected = false; in test_scanx_main()
1418 while (!is_connected) { in test_scanx_main()
/Zephyr-latest/tests/bsim/bluetooth/host/misc/conn_stress/central/src/
Dmain.c158 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()

12