Home
last modified time | relevance | path

Searched refs:WAIT_FOR_COND (Results 1 – 13 of 13) sorted by relevance

/Zephyr-latest/tests/bsim/bluetooth/audio/src/
Dmicp_mic_ctlr_test.c232 WAIT_FOR_COND(g_cb); in test_aics()
242 WAIT_FOR_COND(g_cb); in test_aics()
254 WAIT_FOR_COND(g_cb && expected_input_type == g_aics_input_type); in test_aics()
264 WAIT_FOR_COND(g_cb); in test_aics()
274 WAIT_FOR_COND(g_cb); in test_aics()
285 WAIT_FOR_COND(g_aics_input_mute == expected_input_mute && in test_aics()
297 WAIT_FOR_COND(g_aics_input_mute == expected_input_mute && in test_aics()
309 WAIT_FOR_COND(g_aics_mode == expected_mode && g_cb && g_write_complete); in test_aics()
320 WAIT_FOR_COND(g_aics_mode == expected_mode && g_cb && g_write_complete); in test_aics()
331 WAIT_FOR_COND(g_aics_gain == expected_gain && g_cb && g_write_complete); in test_aics()
[all …]
Dmicp_mic_dev_test.c147 WAIT_FOR_COND(expected_aics_active == g_aics_active); in test_aics_server_only()
157 WAIT_FOR_COND(expected_aics_active == g_aics_active); in test_aics_server_only()
167 WAIT_FOR_COND(g_cb); in test_aics_server_only()
177 WAIT_FOR_COND(g_cb); in test_aics_server_only()
189 WAIT_FOR_COND(g_cb && expected_input_type == g_aics_input_type); in test_aics_server_only()
199 WAIT_FOR_COND(g_cb); in test_aics_server_only()
209 WAIT_FOR_COND(g_cb); in test_aics_server_only()
220 WAIT_FOR_COND(g_cb && expected_input_mute == g_aics_input_mute); in test_aics_server_only()
231 WAIT_FOR_COND(g_cb && expected_input_mute == g_aics_input_mute); in test_aics_server_only()
242 WAIT_FOR_COND(g_cb && expected_mode == g_aics_mode); in test_aics_server_only()
[all …]
Dvcp_vol_rend_test.c219 WAIT_FOR_COND(expected_aics_active == g_aics_active); in test_aics_deactivate()
243 WAIT_FOR_COND(expected_aics_active == g_aics_active); in test_aics_activate()
268 WAIT_FOR_COND(g_cb); in test_aics_state_get()
293 WAIT_FOR_COND(g_cb); in aics_gain_setting_get()
319 WAIT_FOR_COND(expected_input_type == g_aics_input_type); in aics_type_get()
344 WAIT_FOR_COND(g_cb); in aics_status_get()
369 WAIT_FOR_COND(g_cb); in aics_get_description()
394 WAIT_FOR_COND(expected_input_mute == g_aics_input_mute); in test_aics_mute()
419 WAIT_FOR_COND(expected_input_mute == g_aics_input_mute); in test_aics_unmute()
444 WAIT_FOR_COND(expected_mode == g_aics_mode); in test_aics_automatic_gain_set()
[all …]
Dvcp_vol_ctlr_test.c295 WAIT_FOR_COND(g_cb); in test_aics_state_get()
320 WAIT_FOR_COND(g_cb); in aics_gain_setting_get()
346 WAIT_FOR_COND(expected_input_type == g_aics_input_type); in aics_type_get()
371 WAIT_FOR_COND(g_cb); in aics_status_get()
396 WAIT_FOR_COND(g_cb); in aics_get_description()
422 WAIT_FOR_COND(g_write_complete && expected_input_mute == g_aics_input_mute); in test_aics_mute()
448 WAIT_FOR_COND(g_write_complete && expected_input_mute == g_aics_input_mute); in test_aics_unmute()
474 WAIT_FOR_COND(g_write_complete && expected_mode == g_aics_mode); in test_aics_automatic_gain_set()
500 WAIT_FOR_COND(g_write_complete && expected_mode == g_aics_mode); in test_aics_manual_gain_set()
526 WAIT_FOR_COND(g_write_complete && expected_gain == g_aics_gain); in test_aics_gain_set()
[all …]
Dcsip_set_coordinator_test.c266 WAIT_FOR_COND(ordered_access_locked); in ordered_access()
268 WAIT_FOR_COND(ordered_access_unlocked); in ordered_access()
284 WAIT_FOR_COND(discovered); in discover_csis()
321 WAIT_FOR_COND(members_found == 1U); in connect_set()
363 WAIT_FOR_COND(members_found == primary_inst->info.set_size); in connect_set()
367 WAIT_FOR_COND(discover_timed_out); in connect_set()
442 WAIT_FOR_COND(set_locked); in test_main()
460 WAIT_FOR_COND(set_unlocked); in test_main()
480 WAIT_FOR_COND(set_locked); in test_main()
494 WAIT_FOR_COND(set_unlocked); in test_main()
Dcsip_set_member_test.c126 WAIT_FOR_COND(g_locked); in test_main()
128 WAIT_FOR_COND(!g_locked); in test_main()
130 WAIT_FOR_COND(g_locked); in test_main()
132 WAIT_FOR_COND(!g_locked); in test_main()
160 WAIT_FOR_COND(g_locked); in test_force_release()
Dtbs_client_test.c479 WAIT_FOR_COND(discovery_complete); in discover_tbs()
503 WAIT_FOR_COND(bt_init); in test_main()
511 WAIT_FOR_COND(is_connected); in test_main()
531 WAIT_FOR_COND(call_state == BT_TBS_CALL_STATE_REMOTELY_HELD); in test_main()
543 WAIT_FOR_COND(call_state == BT_TBS_CALL_STATE_LOCALLY_HELD); in test_main()
551 WAIT_FOR_COND(call_state == BT_TBS_CALL_STATE_ACTIVE); in test_main()
561 WAIT_FOR_COND(read_complete); in test_main()
Dhas_client_test.c136 WAIT_FOR_COND(g_preset_switched); in test_preset_switch()
153 WAIT_FOR_COND(g_preset_switched); in test_preset_next()
170 WAIT_FOR_COND(g_preset_switched); in test_preset_prev()
187 WAIT_FOR_COND(g_service_discovered); in discover_has()
221 WAIT_FOR_COND(g_preset_switched); in test_main()
229 WAIT_FOR_COND(g_preset_1_found); in test_main()
230 WAIT_FOR_COND(g_preset_5_found); in test_main()
658 WAIT_FOR_COND(security_level == BT_SECURITY_L2); in test_gatt_client()
Dtbs_test.c418 WAIT_FOR_COND(is_connected); in test_main()
420 WAIT_FOR_COND(call_placed); in test_main()
435 WAIT_FOR_COND(call_held); in test_main()
Dcommon.h79 #define WAIT_FOR_COND(cond) while (!(cond)) { k_sleep(K_MSEC(1)); } macro
Dmcc_test.c2606 WAIT_FOR_COND(default_conn == NULL); in test_main()
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/
Dmesh_test.h126 #define WAIT_FOR_COND(cond, wait) \ macro
Dtest_beacon.c2151 WAIT_FOR_COND(bt_mesh_proxy_srv_connected_cnt() == 1, 10); in test_tx_priv_gatt_proxy()
2182 WAIT_FOR_COND(bt_mesh_proxy_cli_is_connected(TEST_NET_IDX1), 10); in test_rx_priv_gatt_proxy()
2189 WAIT_FOR_COND(bt_mesh.iv_index == 1, 10); in test_rx_priv_gatt_proxy()