Home
last modified time | relevance | path

Searched refs:WAIT_TIME (Results 1 – 25 of 110) sorted by relevance

12345

/Zephyr-latest/tests/boards/native_sim/rtc/src/
Dmain.c41 #define WAIT_TIME 250 /* ms */ macro
84 k_msleep(WAIT_TIME - TICK_MS); in ZTEST()
92 error = diff / 1000 - WAIT_TIME / acc_ratio; in ZTEST()
99 WAIT_TIME / acc_ratio, in ZTEST()
111 error = diff - WAIT_TIME * 1000; in ZTEST()
126 zassert_true(diff == WAIT_TIME * 1000, in ZTEST()
132 zassert_true(diff == WAIT_TIME * 1000, in ZTEST()
135 start_time += WAIT_TIME * 1000 / acc_ratio; in ZTEST()
136 start_rtc_time[0] += WAIT_TIME * 1000; in ZTEST()
137 start_rtc_time[1] += WAIT_TIME * 1000; in ZTEST()
[all …]
/Zephyr-latest/tests/bsim/bluetooth/audio_samples/cap/acceptor/src/
Dcap_acceptor_sample_test.c16 #define WAIT_TIME 10 /* Seconds */ macro
37 bst_ticker_set_next_tick_absolute(WAIT_TIME * 1e6); in test_cap_acceptor_sample_init()
60 WAIT_TIME); in test_cap_acceptor_sample_tick()
73 WAIT_TIME); in test_cap_acceptor_sample_tick()
86 "waits for " STR(WAIT_TIME) " seconds, and checks how "
/Zephyr-latest/tests/bsim/bluetooth/audio_samples/cap/initiator/src/
Dcap_initiator_sample_test.c16 #define WAIT_TIME 10 /* Seconds */ macro
36 bst_ticker_set_next_tick_absolute(WAIT_TIME * 1e6); in test_cap_initiator_sample_init()
59 WAIT_TIME); in test_cap_initiator_sample_tick()
72 WAIT_TIME); in test_cap_initiator_sample_tick()
85 "waits for " STR(WAIT_TIME) " seconds, and checks how "
/Zephyr-latest/tests/bsim/net/sockets/echo_test/src/
Decho_test.c18 #define WAIT_TIME 25 /* Seconds */ macro
20 #define WAIT_TIME 20 /* Seconds */ macro
42 bst_ticker_set_next_tick_absolute(WAIT_TIME*1e6); in test_echo_client_init()
70 WAIT_TIME); in test_echo_client_tick()
79 "waits for " STR(WAIT_TIME) " seconds, and checks how "
/Zephyr-latest/tests/net/lib/dns_addremove/src/
Dmain.c76 #define WAIT_TIME K_MSEC((DNS_TIMEOUT + 300) * 3) macro
221 if (k_sem_take(&dns_added, WAIT_TIME)) { in test_dns_do_not_add_add_callback6()
247 if (k_sem_take(&dns_added, WAIT_TIME)) { in test_dns_add_callback6()
267 if (k_sem_take(&dns_removed, WAIT_TIME)) { in test_dns_remove_callback6()
286 if (k_sem_take(&dns_removed, WAIT_TIME)) { in test_dns_remove_none_callback6()
310 if (k_sem_take(&dns_added, WAIT_TIME)) { in ZTEST()
327 if (k_sem_take(&dns_added, WAIT_TIME)) { in ZTEST()
345 if (k_sem_take(&dns_removed, WAIT_TIME)) { in ZTEST()
369 if (k_sem_take(&dns_removed, WAIT_TIME)) { in ZTEST()
396 if (k_sem_take(&dns_added, WAIT_TIME)) { in test_dns_do_not_add_add_callback()
[all …]
/Zephyr-latest/tests/bsim/bluetooth/audio_samples/bap_broadcast_sink/src/
Dbroadcast_sink_test.c14 #define WAIT_TIME 120 /* Seconds */ macro
35 bst_ticker_set_next_tick_absolute(WAIT_TIME*1e6); in test_broadcast_sink_sample_init()
56 WAIT_TIME); in test_broadcast_sink_sample_tick()
65 "waits for " STR(WAIT_TIME) " seconds, and checks how "
/Zephyr-latest/tests/bsim/bluetooth/audio_samples/bap_unicast_client/src/
Dunicast_client_sample_test.c14 #define WAIT_TIME 10 /* Seconds */ macro
35 bst_ticker_set_next_tick_absolute(WAIT_TIME*1e6); in test_unicast_client_sample_init()
56 WAIT_TIME); in test_unicast_client_sample_tick()
65 "waits for " STR(WAIT_TIME) " seconds, and checks how "
/Zephyr-latest/tests/bsim/bluetooth/samples/central_hr_peripheral_hr/src/
Dsample_test.c14 #define WAIT_TIME 10 /* Seconds */ macro
35 bst_ticker_set_next_tick_absolute(WAIT_TIME*1e6); in test_sample_init()
55 FAIL("FAILED (Did not pass after %i seconds)\n", WAIT_TIME); in test_sample_tick()
64 "waits for " STR(WAIT_TIME) " seconds, and checks how "
/Zephyr-latest/tests/bsim/bluetooth/host/gatt/authorization/src/
Dcommon.c12 FAIL("test failed (not passed after %i seconds)\n", WAIT_TIME); in test_tick()
18 bst_ticker_set_next_tick_absolute(WAIT_TIME); in test_init()
/Zephyr-latest/tests/bsim/bluetooth/host/gatt/notify_multiple/src/
Dcommon.c12 FAIL("test failed (not passed after %i seconds)\n", WAIT_TIME); in test_tick()
18 bst_ticker_set_next_tick_absolute(WAIT_TIME); in test_init()
/Zephyr-latest/tests/bsim/bluetooth/host/gatt/general/src/
Dcommon.c12 FAIL("test failed (not passed after %i seconds)\n", WAIT_TIME); in test_tick()
18 bst_ticker_set_next_tick_absolute(WAIT_TIME); in test_init()
/Zephyr-latest/tests/bsim/bluetooth/host/gatt/notify/src/
Dcommon.c12 FAIL("test failed (not passed after %i seconds)\n", WAIT_TIME); in test_tick()
18 bst_ticker_set_next_tick_absolute(WAIT_TIME); in test_init()
/Zephyr-latest/tests/bsim/bluetooth/host/misc/unregister_conn_cb/src/
Dcommon.c12 FAIL("test failed (not passed after %i seconds)\n", WAIT_TIME); in test_tick()
18 bst_ticker_set_next_tick_absolute(WAIT_TIME); in test_init()
/Zephyr-latest/tests/bsim/bluetooth/host/misc/disable/src/
Dcommon.c12 FAIL("test failed (not passed after %i seconds)\n", WAIT_TIME); in test_tick()
18 bst_ticker_set_next_tick_absolute(WAIT_TIME); in test_init()
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/send_on_connect/src/
Dcommon.c14 bst_ticker_set_next_tick_absolute(WAIT_TIME); in test_init()
20 FAIL("test failed (not passed after %i us)\n", WAIT_TIME); in test_tick()
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/userdata/src/
Dcommon.c14 bst_ticker_set_next_tick_absolute(WAIT_TIME); in test_init()
20 FAIL("test failed (not passed after %i us)\n", WAIT_TIME); in test_tick()
/Zephyr-latest/tests/bsim/bluetooth/host/iso/bis/src/
Dcommon.c23 bst_ticker_set_next_tick_absolute(WAIT_TIME); in test_init()
29 TEST_FAIL("Test failed (not passed after %" PRIu64 " us)", WAIT_TIME); in test_tick()
/Zephyr-latest/tests/bsim/bluetooth/host/att/mtu_update/src/
Dcommon.h36 #define WAIT_TIME (20e6) /* 20 seconds */ macro
37 #define PERIPHERAL_NOTIFY_TIME ((WAIT_TIME - 10e6) / 1e6)
Dmain_peripheral.c38 FAIL("Test failed (not passed after %i seconds)\n", WAIT_TIME); in test_tick()
44 bst_ticker_set_next_tick_absolute(WAIT_TIME); in test_mtu_update_init()
/Zephyr-latest/tests/bsim/bluetooth/host/id/settings/src/
Dmain.c17 #define WAIT_TIME (WAIT_TIME_S * 1e6) macro
33 bst_ticker_set_next_tick_absolute(WAIT_TIME); in test_id_settings_init()
/Zephyr-latest/tests/bsim/bluetooth/host/att/eatt_notif/src/
Dcommon.c17 FAIL("test failed (not passed after %i seconds)\n", WAIT_TIME); in test_tick()
23 bst_ticker_set_next_tick_absolute(WAIT_TIME); in test_init()
/Zephyr-latest/tests/bsim/bluetooth/host/adv/encrypted/css_sample_data/src/
Dmain.c15 #define WAIT_TIME (WAIT_TIME_S * 1e6) macro
32 bst_ticker_set_next_tick_absolute(WAIT_TIME); in test_ead_sample_data_init()
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/general/src/
Dcommon.c20 bst_ticker_set_next_tick_absolute(WAIT_TIME); in test_init()
26 FAIL("test failed (not passed after %i us)\n", WAIT_TIME); in test_tick()
/Zephyr-latest/tests/bsim/bluetooth/host/gatt/caching/src/
Dcommon.c13 FAIL("test failed (not passed after %i seconds)\n", WAIT_TIME); in test_tick()
19 bst_ticker_set_next_tick_absolute(WAIT_TIME); in test_init()
/Zephyr-latest/tests/bsim/bluetooth/host/privacy/device/src/
Dtest_undirected_main.c25 #define WAIT_TIME (WAIT_TIME_S * 1e6) /* 20 seconds */ macro
44 bst_ticker_set_next_tick_absolute(WAIT_TIME); in test_privacy_init()

12345