/Zephyr-Core-3.4.0/tests/subsys/zbus/runtime_observers_registration/src/ |
D | main.c | 76 zassert_equal(-EEXIST, zbus_chan_add_obs(&chan2, &lis2, K_MSEC(200)), NULL); in ZTEST() 78 zassert_equal(0, zbus_chan_pub(&chan1, &sd, K_MSEC(500)), NULL); in ZTEST() 81 zassert_equal(0, zbus_chan_add_obs(&chan1, &lis1, K_MSEC(200)), NULL); in ZTEST() 84 zassert_equal(-EALREADY, zbus_chan_add_obs(&chan1, &lis1, K_MSEC(200)), in ZTEST() 91 zassert_equal(0, zbus_chan_pub(&chan1, &sd, K_MSEC(500)), NULL); in ZTEST() 95 zassert_equal(0, zbus_chan_rm_obs(&chan1, &lis1, K_MSEC(200)), "It must remove the obs"); in ZTEST() 100 zassert_equal(-ENODATA, zbus_chan_rm_obs(&chan1, &lis1, K_MSEC(200)), in ZTEST() 105 zassert_equal(0, zbus_chan_pub(&chan1, &sd, K_MSEC(500)), NULL); in ZTEST() 111 zassert_equal(0, zbus_chan_pub(&chan2, &sd, K_MSEC(500)), NULL); in ZTEST() 114 zassert_equal(0, zbus_chan_add_obs(&chan2, &lis3, K_MSEC(200)), NULL); in ZTEST() [all …]
|
/Zephyr-Core-3.4.0/tests/drivers/uart/uart_async_api/src/ |
D | test_uart_async.c | 131 zassert_equal(k_sem_take(&rx_rdy, K_MSEC(100)), -EAGAIN, in ZTEST_USER() 135 zassert_equal(k_sem_take(&tx_done, K_MSEC(100)), 0, "TX_DONE timeout"); in ZTEST_USER() 136 zassert_equal(k_sem_take(&rx_rdy, K_MSEC(100)), 0, "RX_RDY timeout"); in ZTEST_USER() 137 zassert_equal(k_sem_take(&rx_rdy, K_MSEC(100)), -EAGAIN, in ZTEST_USER() 144 zassert_equal(k_sem_take(&tx_done, K_MSEC(100)), 0, "TX_DONE timeout"); in ZTEST_USER() 145 zassert_equal(k_sem_take(&rx_rdy, K_MSEC(100)), 0, "RX_RDY timeout"); in ZTEST_USER() 146 zassert_equal(k_sem_take(&rx_buf_released, K_MSEC(100)), in ZTEST_USER() 151 zassert_equal(k_sem_take(&rx_disabled, K_MSEC(1000)), 0, in ZTEST_USER() 153 zassert_equal(k_sem_take(&rx_rdy, K_MSEC(100)), -EAGAIN, in ZTEST_USER() 185 zassert_equal(k_sem_take(&rx_rdy, K_MSEC(100)), -EAGAIN, in ZTEST_USER() [all …]
|
/Zephyr-Core-3.4.0/tests/net/lib/coap_client/src/ |
D | main.c | 158 k_sleep(K_MSEC(1)); in ZTEST() 165 k_sleep(K_MSEC(5)); in ZTEST() 166 k_sleep(K_MSEC(1000)); in ZTEST() 187 k_sleep(K_MSEC(1)); in ZTEST() 212 k_sleep(K_MSEC(1)); in ZTEST() 219 k_sleep(K_MSEC(5)); in ZTEST() 220 k_sleep(K_MSEC(1000)); in ZTEST() 241 k_sleep(K_MSEC(1)); in ZTEST() 248 k_sleep(K_MSEC(1000)); in ZTEST() 270 k_sleep(K_MSEC(1)); in ZTEST() [all …]
|
/Zephyr-Core-3.4.0/tests/bsim/bluetooth/ll/advx/src/ |
D | main.c | 196 k_sleep(K_MSEC(100)); in test_advx_main() 202 k_sleep(K_MSEC(100)); in test_advx_main() 248 k_sleep(K_MSEC(100)); in test_advx_main() 292 k_sleep(K_MSEC(100)); in test_advx_main() 318 k_sleep(K_MSEC(500)); in test_advx_main() 354 k_sleep(K_MSEC(100)); in test_advx_main() 360 k_sleep(K_MSEC(100)); in test_advx_main() 371 k_sleep(K_MSEC(1000)); in test_advx_main() 380 k_sleep(K_MSEC(400)); in test_advx_main() 389 k_sleep(K_MSEC(1000)); in test_advx_main() [all …]
|
/Zephyr-Core-3.4.0/tests/subsys/zbus/integration/src/ |
D | main.c | 49 zbus_chan_pub(&net_pkt_chan, &pkt, K_MSEC(200)); in core_thread() 102 zbus_chan_pub(&sensor_data_chan, &sd, K_MSEC(250)); in peripheral_thread() 147 zassert_equal(0, zbus_chan_pub(&start_measurement_chan, &start, K_MSEC(200)), NULL); in ZTEST() 156 zassert_equal(0, zbus_chan_pub(&start_measurement_chan, &start, K_MSEC(200)), NULL); in ZTEST() 165 zassert_equal(0, zbus_chan_pub(&start_measurement_chan, &start, K_MSEC(200)), NULL); in ZTEST() 183 zassert_equal(0, zbus_chan_pub(&start_measurement_chan, &start, K_MSEC(200)), NULL); in ZTEST() 194 zassert_equal(0, zbus_chan_pub(&start_measurement_chan, &start, K_MSEC(200)), NULL); in ZTEST() 205 zassert_equal(0, zbus_chan_pub(&start_measurement_chan, &start, K_MSEC(200)), NULL); in ZTEST() 216 zassert_equal(0, zbus_chan_pub(&start_measurement_chan, &start, K_MSEC(200)), NULL); in ZTEST() 230 int err = zbus_chan_claim(&busy_chan, K_MSEC(500)); in greedy_thread_entry() [all …]
|
/Zephyr-Core-3.4.0/tests/kernel/timer/timer_api/src/ |
D | main.c | 190 k_timer_start(&duration_timer, K_MSEC(DURATION), K_MSEC(PERIOD)); in ZTEST_USER() 196 k_timer_start(&duration_timer, K_FOREVER, K_MSEC(PERIOD)); in ZTEST_USER() 219 k_timer_start(&status_anytime_timer, K_MSEC(DURATION), in ZTEST_USER() 220 K_MSEC(PERIOD)); in ZTEST_USER() 224 k_timer_start(&status_anytime_timer, K_MSEC(DURATION), in ZTEST_USER() 225 K_MSEC(PERIOD)); in ZTEST_USER() 330 k_timer_start(&expire_timer, K_MSEC(DURATION), K_MSEC(PERIOD)); in ZTEST_USER() 348 k_timer_start(&sync_timer, K_NO_WAIT, K_MSEC(1)); in tick_sync() 383 k_timer_start(&periodicity_timer, K_NO_WAIT, K_MSEC(PERIOD)); in ZTEST_USER() 441 k_timer_start(&status_timer, K_MSEC(DURATION), K_MSEC(PERIOD)); in ZTEST_USER() [all …]
|
/Zephyr-Core-3.4.0/samples/drivers/led_pwm/src/ |
D | main.c | 28 #define FADE_DELAY K_MSEC(FADE_DELAY_MS) 50 k_sleep(K_MSEC(1000)); in run_led_test() 59 k_sleep(K_MSEC(1000)); in run_led_test() 71 k_sleep(K_MSEC(1000)); in run_led_test() 80 k_sleep(K_MSEC(5000)); in run_led_test() 90 k_sleep(K_MSEC(5000)); in run_led_test()
|
/Zephyr-Core-3.4.0/samples/subsys/zbus/runtime_obs_registration/src/ |
D | main.c | 35 zbus_chan_pub(&processed_data_chan, &proc_msg, K_MSEC(200)); in filter_callback() 50 zbus_chan_add_obs(&raw_data_chan, &filter_lis, K_MSEC(200)); in main() 55 zbus_chan_rm_obs(&raw_data_chan, &filter_lis, K_MSEC(200)); in main() 58 zbus_chan_add_obs(&raw_data_chan, &consumer_sub, K_MSEC(200)); in main() 63 zbus_chan_rm_obs(&raw_data_chan, &consumer_sub, K_MSEC(200)); in main()
|
/Zephyr-Core-3.4.0/tests/benchmarks/footprints/src/ |
D | timer.c | 60 k_timer_start(&timer0, K_MSEC(DURATION), K_MSEC(PERIOD)); in thread_fn() 66 k_timer_start(&timer0, K_MSEC(DURATION), K_MSEC(PERIOD)); in thread_fn() 73 k_timer_start(&timer0, K_MSEC(DURATION), K_MSEC(PERIOD)); in thread_fn()
|
/Zephyr-Core-3.4.0/samples/boards/nrf/nrf_led_matrix/src/ |
D | main.c | 49 k_sleep(K_MSEC(100)); in update_block_3x3() 78 k_sleep(K_MSEC(100)); in update_block_5x5() 107 k_sleep(K_MSEC(5)); in show_all_brightness_levels() 132 k_sleep(K_MSEC(100)); in update_through_framebuffer() 233 k_sleep(K_MSEC(500)); in main() 237 k_sleep(K_MSEC(500)); in main() 241 k_sleep(K_MSEC(200)); in main() 249 k_sleep(K_MSEC(500)); in main() 257 k_sleep(K_MSEC(500)); in main() 263 k_sleep(K_MSEC(500)); in main()
|
/Zephyr-Core-3.4.0/tests/kernel/sched/schedule_api/src/ |
D | test_sched_priority.c | 28 k_sem_take(&sync_sema, K_MSEC(100)); in thread_entry_prio() 63 k_sleep(K_MSEC(100)); in ZTEST() 99 k_sleep(K_MSEC(100)); in ZTEST() 141 K_PRIO_PREEMPT(0), 0, K_MSEC(10)); in ZTEST() 145 K_PRIO_PREEMPT(0), 0, K_MSEC(20)); in ZTEST() 149 K_PRIO_PREEMPT(1), 0, K_MSEC(10)); in ZTEST() 153 K_PRIO_PREEMPT(1), 0, K_MSEC(20)); in ZTEST() 156 k_sleep(K_MSEC(30)); in ZTEST()
|
/Zephyr-Core-3.4.0/tests/bsim/bluetooth/host/att/eatt/src/ |
D | main_autoconnect.c | 16 k_sleep(K_MSEC(10)); in test_peripheral_main() 20 k_sleep(K_MSEC(1000)); in test_peripheral_main() 32 k_sleep(K_MSEC(10)); in test_central_main()
|
D | common.c | 121 k_sleep(K_MSEC(100)); in central_setup_and_connect() 130 k_sleep(K_MSEC(100)); in central_setup_and_connect() 149 k_sleep(K_MSEC(100)); in peripheral_setup_and_connect() 154 k_sleep(K_MSEC(100)); in peripheral_setup_and_connect() 161 k_sleep(K_MSEC(100)); in wait_for_disconnect() 175 k_sleep(K_MSEC(100)); in disconnect() 219 k_sleep(K_MSEC(1)); in backchannel_sync_wait()
|
D | main_collision.c | 31 k_sleep(K_MSEC(10)); in test_peripheral_main() 35 k_sleep(K_MSEC(1000)); in test_peripheral_main() 59 k_sleep(K_MSEC(10)); in test_central_main()
|
/Zephyr-Core-3.4.0/tests/drivers/pwm/pwm_api/src/ |
D | test_pwm.c | 135 k_sleep(K_MSEC(1000)); in ZTEST_USER() 140 k_sleep(K_MSEC(1000)); in ZTEST_USER() 145 k_sleep(K_MSEC(1000)); in ZTEST_USER() 153 k_sleep(K_MSEC(1000)); in ZTEST_USER() 158 k_sleep(K_MSEC(1000)); in ZTEST_USER() 163 k_sleep(K_MSEC(1000)); in ZTEST_USER()
|
/Zephyr-Core-3.4.0/tests/subsys/zbus/unittests/src/ |
D | main.c | 130 isr_return = zbus_chan_pub(&aux2_chan, &ga, K_MSEC(500)); in isr_handler() 133 isr_return = zbus_chan_read(&aux2_chan, &ga, K_MSEC(500)); in isr_handler() 136 isr_return = zbus_chan_notify(&aux2_chan, K_MSEC(100)); in isr_handler() 139 isr_return = zbus_chan_claim(&aux2_chan, K_MSEC(200)); in isr_handler() 145 isr_return = zbus_chan_add_obs(&aux2_chan, &fast_lis, K_MSEC(200)); in isr_handler() 148 isr_return = zbus_chan_rm_obs(&aux2_chan, &fast_lis, K_MSEC(200)); in isr_handler() 166 isr_return = zbus_chan_add_obs(&aux2_chan, NULL, K_MSEC(200)); in isr_handler() 169 isr_return = zbus_chan_rm_obs(&aux2_chan, NULL, K_MSEC(200)); in isr_handler() 238 zassert_equal(-EFAULT, zbus_chan_add_obs(NULL, &sub1, K_MSEC(200)), NULL); in ZTEST() 240 zassert_equal(-EFAULT, zbus_chan_add_obs(&aux2_chan, NULL, K_MSEC(200)), NULL); in ZTEST() [all …]
|
/Zephyr-Core-3.4.0/tests/bsim/bluetooth/host/gatt/settings/src/ |
D | server.c | 56 k_sleep(K_MSEC(100)); in server_round_1() 73 k_sleep(K_MSEC(CONFIG_BT_SETTINGS_DELAYED_STORE_MS)); in server_round_2() 92 k_sleep(K_MSEC(100)); in server_round_3() 114 k_sleep(K_MSEC(100)); in server_round_5()
|
/Zephyr-Core-3.4.0/tests/bsim/bluetooth/host/l2cap/split/common/ |
D | utils.h | 23 (void)k_sleep(K_MSEC(1)); \ 27 (void)k_sleep(K_MSEC(1)); \ 31 (void)k_sleep(K_MSEC(1)); \
|
/Zephyr-Core-3.4.0/tests/drivers/input/gpio_keys/src/ |
D | main.c | 64 k_sleep(K_MSEC(config->debounce_interval_ms / 2)); in ZTEST() 68 k_sleep(K_MSEC(config->debounce_interval_ms)); in ZTEST() 76 k_sleep(K_MSEC(config->debounce_interval_ms / 2)); in ZTEST() 80 k_sleep(K_MSEC(config->debounce_interval_ms)); in ZTEST()
|
/Zephyr-Core-3.4.0/tests/subsys/pm/power_mgmt_multicore/src/ |
D | main.c | 22 #define ACTIVE_TIMEOUT K_MSEC(40) 24 #define IDLE_TIMEOUT K_MSEC(60) 26 #define SUSPEND_TO_IDLE_TIMEOUT K_MSEC(100) 27 #define STANDBY_TIMEOUT K_MSEC(200)
|
/Zephyr-Core-3.4.0/tests/bsim/bluetooth/host/privacy/central/src/ |
D | bs_bt_utils.h | 33 (void)k_sleep(K_MSEC(1)); \ 37 (void)k_sleep(K_MSEC(1)); \ 41 (void)k_sleep(K_MSEC(1)); \
|
/Zephyr-Core-3.4.0/tests/kernel/sched/deadline/src/ |
D | main.c | 47 k_sleep(K_MSEC(1000000)); in worker() 97 k_sleep(K_MSEC(100)); in ZTEST() 157 k_sleep(K_MSEC(100)); in ZTEST() 193 0, K_MSEC(100)); in ZTEST() 203 k_sleep(K_MSEC(50)); in ZTEST() 207 k_sleep(K_MSEC(100)); in ZTEST()
|
/Zephyr-Core-3.4.0/tests/bsim/bluetooth/ll/bis/src/ |
D | main.c | 252 k_sleep(K_MSEC(100)); in test_iso_main() 272 k_sleep(K_MSEC(5000)); in test_iso_main() 283 k_sleep(K_MSEC(2500)); in test_iso_main() 292 k_sleep(K_MSEC(2500)); in test_iso_main() 303 k_sleep(K_MSEC(5000)); in test_iso_main() 323 k_sleep(K_MSEC(10000)); in test_iso_main() 567 k_sleep(K_MSEC(100)); in test_iso_recv_main() 589 k_sleep(K_MSEC(100)); in test_iso_recv_main() 603 k_sleep(K_MSEC(100)); in test_iso_recv_main() 625 k_sleep(K_MSEC(5000)); in test_iso_recv_main() [all …]
|
/Zephyr-Core-3.4.0/tests/bsim/bluetooth/host/security/bond_overwrite_allowed/src/ |
D | bs_bt_utils.h | 35 (void)k_sleep(K_MSEC(1)); \ 39 (void)k_sleep(K_MSEC(1)); \ 43 (void)k_sleep(K_MSEC(1)); \
|
/Zephyr-Core-3.4.0/tests/bsim/bluetooth/host/security/bond_overwrite_denied/src/ |
D | bs_bt_utils.h | 35 (void)k_sleep(K_MSEC(1)); \ 39 (void)k_sleep(K_MSEC(1)); \ 43 (void)k_sleep(K_MSEC(1)); \
|