Home
last modified time | relevance | path

Searched refs:SEM_TIMEOUT (Results 1 – 15 of 15) sorted by relevance

/Zephyr-latest/tests/bsim/bluetooth/mesh/src/
Dtest_proxy_sol.c23 #define SEM_TIMEOUT 6 /*seconds*/ macro
203 ASSERT_EQUAL(-EAGAIN, k_sem_take(&beacon_sem, K_SECONDS(SEM_TIMEOUT))); in test_tester_beacon_rcvd()
207 ASSERT_OK_MSG(k_sem_take(&beacon_sem, K_SECONDS(SEM_TIMEOUT)), in test_tester_beacon_rcvd()
218 ASSERT_EQUAL(-EAGAIN, k_sem_take(&beacon_sem, K_SECONDS(SEM_TIMEOUT))); in test_tester_immediate_replay_attack()
223 ASSERT_OK_MSG(k_sem_take(&beacon_sem, K_SECONDS(SEM_TIMEOUT)), in test_tester_immediate_replay_attack()
229 ASSERT_EQUAL(-EAGAIN, k_sem_take(&beacon_sem, K_SECONDS(SEM_TIMEOUT))); in test_tester_immediate_replay_attack()
234 ASSERT_EQUAL(-EAGAIN, k_sem_take(&beacon_sem, K_SECONDS(SEM_TIMEOUT))); in test_tester_immediate_replay_attack()
244 ASSERT_EQUAL(-EAGAIN, k_sem_take(&beacon_sem, K_SECONDS(SEM_TIMEOUT))); in test_tester_power_replay_attack()
252 ASSERT_EQUAL(-EAGAIN, k_sem_take(&beacon_sem, K_SECONDS(SEM_TIMEOUT))); in test_tester_power_replay_attack()
256 ASSERT_OK_MSG(k_sem_take(&beacon_sem, K_SECONDS(SEM_TIMEOUT)), in test_tester_power_replay_attack()
[all …]
Dtest_op_agg.c20 #define SEM_TIMEOUT K_SECONDS(10) macro
195 if (k_sem_take(&srv_suspend_sem, SEM_TIMEOUT)) { in confirm_agg_seq()
203 if (k_sem_take(&cli_suspend_sem, SEM_TIMEOUT)) { in confirm_agg_status()
Dtest_sar.c18 #define SEM_TIMEOUT K_SECONDS(25) macro
200 if (k_sem_take(&inst_suspend_sem, SEM_TIMEOUT)) { in cli_max_len_sdu_send()
220 if (k_sem_take(&inst_suspend_sem, SEM_TIMEOUT)) { in srv_max_len_sdu_receive()
/Zephyr-latest/tests/bsim/bluetooth/audio/src/
Dpbp_public_broadcast_sink_test.c37 #define SEM_TIMEOUT K_SECONDS(30) macro
356 err = k_sem_take(&sem_pa_synced, SEM_TIMEOUT); in test_main()
364 err = k_sem_take(&sem_base_received, SEM_TIMEOUT); in test_main()
379 err = k_sem_take(&sem_syncable, SEM_TIMEOUT); in test_main()
403 k_sem_take(&sem_pa_sync_lost, SEM_TIMEOUT); in test_main()
Dpbp_public_broadcast_source_test.c37 #define SEM_TIMEOUT K_SECONDS(2) macro
298 k_sem_take(&sem_started, SEM_TIMEOUT); in test_main()
311 k_sem_take(&sem_stopped, SEM_TIMEOUT); in test_main()
Dcap_commander_test.c42 #define SEM_TIMEOUT K_SECONDS(5) macro
728 const int err = k_sem_take(&sem_disconnected, SEM_TIMEOUT); in disconnect_acl()
760 const int err = k_sem_take(&sem_cas_discovered, SEM_TIMEOUT); in discover_cas()
791 const int err = k_sem_take(&sem_bass_discovered, SEM_TIMEOUT); in discover_bass()
853 const int err = k_sem_take(&sem_vcs_discovered, SEM_TIMEOUT); in discover_vcs()
879 const int err = k_sem_take(&sem_mics_discovered, SEM_TIMEOUT); in discover_mics()
/Zephyr-latest/samples/bluetooth/cap_initiator/src/
Dcap_initiator_unicast.c40 #define SEM_TIMEOUT K_SECONDS(5) macro
304 err = k_sem_take(&sem_proc, SEM_TIMEOUT); in discover_sinks()
328 err = k_sem_take(&sem_proc, SEM_TIMEOUT); in discover_sources()
432 err = k_sem_take(&sem_proc, SEM_TIMEOUT); in discover_cas()
670 err = k_sem_take(&sem_proc, SEM_TIMEOUT); in exchange_mtu()
678 err = k_sem_take(&sem_mtu_exchanged, SEM_TIMEOUT); in exchange_mtu()
698 err = k_sem_take(&sem_security_changed, SEM_TIMEOUT); in update_security()
773 err = k_sem_take(&peer.source_stream_sem, SEM_TIMEOUT); in reset_cap_initiator()
781 err = k_sem_take(&peer.sink_stream_sem, SEM_TIMEOUT); in reset_cap_initiator()
/Zephyr-latest/samples/bluetooth/ccp_call_control_client/src/
Dmain.c30 #define SEM_TIMEOUT K_SECONDS(10) macro
183 err = k_sem_take(&sem_security_updated, SEM_TIMEOUT); in scan_and_connect()
253 err = k_sem_take(&sem_ccp_action_completed, SEM_TIMEOUT); in discover_services()
/Zephyr-latest/samples/bluetooth/tmap_bmr/src/
Dbap_broadcast_sink.c29 #define SEM_TIMEOUT K_SECONDS(10) macro
367 err = k_sem_take(&sem_pa_synced, SEM_TIMEOUT); in bap_broadcast_sink_run()
375 err = k_sem_take(&sem_base_received, SEM_TIMEOUT); in bap_broadcast_sink_run()
389 k_sem_take(&sem_syncable, SEM_TIMEOUT); in bap_broadcast_sink_run()
/Zephyr-latest/samples/bluetooth/cap_acceptor/src/
Dmain.c39 #define SEM_TIMEOUT K_SECONDS(5) macro
198 err = k_sem_take(&peer.source_stream_sem, SEM_TIMEOUT); in reset_cap_acceptor()
206 err = k_sem_take(&peer.sink_stream_sem, SEM_TIMEOUT); in reset_cap_acceptor()
/Zephyr-latest/samples/bluetooth/bap_broadcast_sink/src/
Dmain.c42 #define SEM_TIMEOUT K_SECONDS(60) macro
1120 err = k_sem_take(&sem_broadcaster_found, SEM_TIMEOUT); in main()
1142 err = k_sem_take(&sem_pa_synced, SEM_TIMEOUT); in main()
1157 err = k_sem_take(&sem_base_received, SEM_TIMEOUT); in main()
1164 err = k_sem_take(&sem_syncable, SEM_TIMEOUT); in main()
1174 err = k_sem_take(&sem_broadcast_code_received, SEM_TIMEOUT); in main()
1181 err = k_sem_take(&sem_bis_sync_requested, SEM_TIMEOUT); in main()
1207 err = k_sem_take(&sem_big_synced, SEM_TIMEOUT); in main()
1217 err = k_sem_take(&sem_broadcast_sink_stopped, SEM_TIMEOUT); in main()
/Zephyr-latest/tests/kernel/mem_protect/sys_sem/src/
Dmain.c14 #define SEM_TIMEOUT (K_MSEC(100)) macro
150 sys_sem_take(&simple_sem, SEM_TIMEOUT); in ZTEST()
252 ret_value = sys_sem_take(&simple_sem, SEM_TIMEOUT); in ZTEST_USER()
278 ret_value = sys_sem_take(&simple_sem, SEM_TIMEOUT); in ZTEST_USER()
324 ret_value = sys_sem_take(&simple_sem, SEM_TIMEOUT); in ZTEST()
/Zephyr-latest/samples/bluetooth/pbp_public_broadcast_sink/src/
Dmain.c36 #define SEM_TIMEOUT K_SECONDS(10) macro
379 err = k_sem_take(&sem_base_received, SEM_TIMEOUT); in bap_broadcast_sink_run()
395 k_sem_take(&sem_syncable, SEM_TIMEOUT); in bap_broadcast_sink_run()
/Zephyr-latest/tests/kernel/semaphore/semaphore/src/
Dmain.c27 #define SEM_TIMEOUT (K_MSEC(100)) macro
323 expect_k_sem_take_nomsg(&msg_sema, SEM_TIMEOUT, -EAGAIN); in ZTEST_USER()
500 expect_k_sem_take_nomsg(&simple_sem, SEM_TIMEOUT, -EAGAIN); in ZTEST_USER()
535 expect_k_sem_take_nomsg(&simple_sem, SEM_TIMEOUT, 0); in ZTEST_USER()
590 expect_k_sem_take_nomsg(&simple_sem, SEM_TIMEOUT, 0); in ZTEST()
/Zephyr-latest/samples/bluetooth/ccp_call_control_server/src/
Dmain.c27 #define SEM_TIMEOUT K_SECONDS(5) macro