/Zephyr-latest/tests/boards/native_sim/rtc/src/ |
D | main.c | 41 #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/ |
D | cap_acceptor_sample_test.c | 16 #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/ |
D | cap_initiator_sample_test.c | 16 #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/ |
D | echo_test.c | 18 #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/ |
D | main.c | 76 #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/ |
D | broadcast_sink_test.c | 14 #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/ |
D | unicast_client_sample_test.c | 14 #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/ |
D | sample_test.c | 14 #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/ |
D | common.c | 12 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/ |
D | common.c | 12 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/ |
D | common.c | 12 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/ |
D | common.c | 12 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/ |
D | common.c | 12 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/ |
D | common.c | 12 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/ |
D | common.c | 14 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/ |
D | common.c | 14 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/ |
D | common.c | 23 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/ |
D | common.h | 36 #define WAIT_TIME (20e6) /* 20 seconds */ macro 37 #define PERIPHERAL_NOTIFY_TIME ((WAIT_TIME - 10e6) / 1e6)
|
D | main_peripheral.c | 38 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/ |
D | main.c | 17 #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/ |
D | common.c | 17 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/ |
D | main.c | 15 #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/ |
D | common.c | 20 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/ |
D | common.c | 13 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/ |
D | test_undirected_main.c | 25 #define WAIT_TIME (WAIT_TIME_S * 1e6) /* 20 seconds */ macro 44 bst_ticker_set_next_tick_absolute(WAIT_TIME); in test_privacy_init()
|