/Zephyr-latest/tests/bsim/bluetooth/mesh/src/ |
D | test_proxy_sol.c | 23 #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 …]
|
D | test_op_agg.c | 20 #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()
|
D | test_sar.c | 18 #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/ |
D | pbp_public_broadcast_sink_test.c | 37 #define SEM_TIMEOUT K_SECONDS(30) macro 343 err = k_sem_take(&sem_pa_synced, SEM_TIMEOUT); in test_main() 351 err = k_sem_take(&sem_base_received, SEM_TIMEOUT); in test_main() 366 err = k_sem_take(&sem_syncable, SEM_TIMEOUT); in test_main() 390 k_sem_take(&sem_pa_sync_lost, SEM_TIMEOUT); in test_main()
|
D | pbp_public_broadcast_source_test.c | 36 #define SEM_TIMEOUT K_SECONDS(2) macro 324 k_sem_take(&sem_started, SEM_TIMEOUT); in test_main() 337 k_sem_take(&sem_stopped, SEM_TIMEOUT); in test_main()
|
D | cap_commander_test.c | 41 #define SEM_TIMEOUT K_SECONDS(5) macro 685 const int err = k_sem_take(&sem_disconnected, SEM_TIMEOUT); in disconnect_acl() 717 const int err = k_sem_take(&sem_cas_discovered, SEM_TIMEOUT); in discover_cas() 748 const int err = k_sem_take(&sem_bass_discovered, SEM_TIMEOUT); in discover_bass() 810 const int err = k_sem_take(&sem_vcs_discovered, SEM_TIMEOUT); in discover_vcs() 836 const int err = k_sem_take(&sem_mics_discovered, SEM_TIMEOUT); in discover_mics()
|
/Zephyr-latest/samples/bluetooth/cap_initiator/src/ |
D | cap_initiator_unicast.c | 40 #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() 669 err = k_sem_take(&sem_proc, SEM_TIMEOUT); in exchange_mtu() 677 err = k_sem_take(&sem_mtu_exchanged, SEM_TIMEOUT); in exchange_mtu() 697 err = k_sem_take(&sem_security_changed, SEM_TIMEOUT); in update_security() 772 err = k_sem_take(&peer.source_stream_sem, SEM_TIMEOUT); in reset_cap_initiator() 780 err = k_sem_take(&peer.sink_stream_sem, SEM_TIMEOUT); in reset_cap_initiator()
|
/Zephyr-latest/samples/bluetooth/tmap_bmr/src/ |
D | bap_broadcast_sink.c | 29 #define SEM_TIMEOUT K_SECONDS(10) macro 357 err = k_sem_take(&sem_pa_synced, SEM_TIMEOUT); in bap_broadcast_sink_run() 365 err = k_sem_take(&sem_base_received, SEM_TIMEOUT); in bap_broadcast_sink_run() 379 k_sem_take(&sem_syncable, SEM_TIMEOUT); in bap_broadcast_sink_run()
|
/Zephyr-latest/samples/bluetooth/cap_acceptor/src/ |
D | main.c | 38 #define SEM_TIMEOUT K_SECONDS(5) macro 197 err = k_sem_take(&peer.source_stream_sem, SEM_TIMEOUT); in reset_cap_acceptor() 205 err = k_sem_take(&peer.sink_stream_sem, SEM_TIMEOUT); in reset_cap_acceptor()
|
/Zephyr-latest/tests/kernel/mem_protect/sys_sem/src/ |
D | main.c | 14 #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/ |
D | main.c | 36 #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/samples/bluetooth/bap_broadcast_sink/src/ |
D | main.c | 50 #define SEM_TIMEOUT K_SECONDS(60) macro 1558 err = k_sem_take(&sem_broadcaster_found, SEM_TIMEOUT); in main() 1580 err = k_sem_take(&sem_pa_synced, SEM_TIMEOUT); in main() 1595 err = k_sem_take(&sem_base_received, SEM_TIMEOUT); in main() 1602 err = k_sem_take(&sem_syncable, SEM_TIMEOUT); in main() 1612 err = k_sem_take(&sem_broadcast_code_received, SEM_TIMEOUT); in main() 1619 err = k_sem_take(&sem_bis_sync_requested, SEM_TIMEOUT); in main() 1645 err = k_sem_take(&sem_big_synced, SEM_TIMEOUT); in main() 1655 err = k_sem_take(&sem_broadcast_sink_stopped, SEM_TIMEOUT); in main()
|
/Zephyr-latest/tests/kernel/semaphore/semaphore/src/ |
D | main.c | 27 #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()
|