/Zephyr-Core-3.4.0/tests/bsim/bluetooth/mesh/src/ |
D | test_friendship.c | 73 K_SECONDS(30)), "LPN never polled"); in friend_wait_for_polls() 80 K_SECONDS(2)), in friend_wait_for_polls() 85 K_SECONDS(2)) != -EAGAIN) { in friend_wait_for_polls() 102 K_SECONDS(5)), in test_friend_est() 125 K_SECONDS(5)), in test_friend_est_multi() 150 K_SECONDS(5)), in test_friend_msg() 155 k_sleep(K_SECONDS(1)); in test_friend_msg() 160 K_SECONDS(1)), in test_friend_msg() 168 K_SECONDS(1)), in test_friend_msg() 182 BT_MESH_SDU_UNSEG_MAX, 0, K_SECONDS(1)), in test_friend_msg() [all …]
|
D | test_transport.c | 125 test_vector[i].flags, K_SECONDS(10)); in test_tx_unicast() 142 test_vector[i].flags, K_SECONDS(20)); in test_tx_group() 162 k_sleep(K_SECONDS(1)); in test_tx_va() 166 test_vector[i].flags, K_SECONDS(20)); in test_tx_va() 185 bt_mesh_test_recv(test_vector[i].len, cfg->addr, K_SECONDS(1)); in test_tx_loopback() 222 ASSERT_OK_MSG(bt_mesh_test_send(rx_cfg.addr, 5, 0, K_SECONDS(1)), in test_tx_unknown_app() 225 ASSERT_OK_MSG(bt_mesh_test_send(rx_cfg.addr, 25, 0, K_SECONDS(1)), in test_tx_unknown_app() 252 K_SECONDS(20)); in test_tx_loopback_group() 256 k_sleep(K_SECONDS(1)); in test_tx_loopback_group() 258 K_SECONDS(1)), in test_tx_loopback_group() [all …]
|
D | test_provision.c | 285 k_work_reschedule(&oob_timer, K_SECONDS(1)); in input() 458 ASSERT_OK(k_sem_take(&prov_sem, K_SECONDS(40))); in oob_device() 463 k_sleep(K_SECONDS(2)); in oob_device() 477 k_sleep(K_SECONDS(1)); in oob_provisioner() 500 ASSERT_OK(k_sem_take(&prov_sem, K_SECONDS(40))); in oob_provisioner() 508 k_sleep(K_SECONDS(1)); in oob_provisioner() 549 k_sleep(K_SECONDS(1)); in node_configure_and_reset() 555 k_sleep(K_SECONDS(1)); in node_configure_and_reset() 561 k_sleep(K_SECONDS(1)); in node_configure_and_reset() 568 k_sleep(K_SECONDS(1)); in node_configure_and_reset() [all …]
|
D | test_blob.c | 418 if (k_sem_take(&lost_target_sem, K_SECONDS(60))) { in cli_caps_common_procedure() 423 if (k_sem_take(&blob_caps_sem, K_SECONDS(60))) { in cli_caps_common_procedure() 496 k_sleep(K_SECONDS(15)); in test_cli_caps_cancelled() 503 if (!k_sem_take(&blob_caps_sem, K_SECONDS(60))) { in test_cli_caps_cancelled() 521 if (k_sem_take(&blob_caps_sem, K_SECONDS(60))) { in test_cli_caps_cancelled() 556 int err = k_sem_take(&info_get_sem, K_SECONDS(15)); in test_srv_caps_no_rsp() 612 if (k_sem_take(&blob_broad_send_sem, K_SECONDS(15))) { in test_cli_broadcast_basic() 621 if (k_sem_take(&blob_broad_send_sem, K_SECONDS(15))) { in test_cli_broadcast_basic() 632 if (k_sem_take(&blob_broad_send_sem, K_SECONDS(15))) { in test_cli_broadcast_basic() 643 if (k_sem_take(&blob_broad_next_sem, K_SECONDS(15))) { in test_cli_broadcast_basic() [all …]
|
D | test_scanner.c | 121 k_sleep(K_SECONDS(1)); in test_tx_invalid_ad_type() 128 k_sleep(K_SECONDS(10)); in test_tx_invalid_ad_type() 149 k_sleep(K_SECONDS(1)); in test_tx_wrong_packet_length() 162 k_sleep(K_SECONDS(10)); in test_tx_wrong_packet_length() 182 err = bt_mesh_test_recv_msg(&msg, K_SECONDS(10)); in test_rx_invalid_packet() 188 err = bt_mesh_test_recv(10, cfg->addr, K_SECONDS(10)); in test_rx_invalid_packet()
|
D | test_replay_cache.c | 149 if (k_sem_take(&sem, K_SECONDS(TEST_DATA_WAITING_TIME))) { in test_tx_immediate_replay_attack() 165 if (k_sem_take(&sem, K_SECONDS(TEST_DATA_WAITING_TIME))) { in test_tx_immediate_replay_attack() 182 k_sleep(K_SECONDS(6 * TEST_DATA_WAITING_TIME)); in test_rx_immediate_replay_attack() 210 if (k_sem_take(&sem, K_SECONDS(TEST_DATA_WAITING_TIME))) { in test_tx_power_replay_attack() 224 if (k_sem_take(&sem, K_SECONDS(TEST_DATA_WAITING_TIME))) { in test_tx_power_replay_attack() 240 k_sleep(K_SECONDS(6 * TEST_DATA_WAITING_TIME)); in test_rx_power_replay_attack() 285 err = k_sem_take(&sem, K_SECONDS(10)); in msg_send() 299 err = bt_mesh_test_recv_msg(&msg, K_SECONDS(10)); in msg_recv() 327 k_sleep(K_SECONDS(10)); in test_rx_rpl_frag() 383 k_sleep(K_SECONDS(CONFIG_BT_MESH_RPL_STORE_TIMEOUT)); in test_rx_rpl_frag() [all …]
|
D | test_beacon.c | 145 k_sleep(K_SECONDS(1)); in tx_on_iv_update_test() 154 k_sleep(K_SECONDS(BEACON_INTERVAL)); in tx_on_iv_update_test() 160 k_sleep(K_SECONDS(BEACON_INTERVAL)); in tx_on_iv_update_test() 166 k_sleep(K_SECONDS(BEACON_INTERVAL)); in tx_on_iv_update_test() 191 k_sleep(K_SECONDS(1)); in test_rx_on_iv_update() 197 k_sleep(K_SECONDS(BEACON_INTERVAL)); in test_rx_on_iv_update() 203 k_sleep(K_SECONDS(BEACON_INTERVAL)); in test_rx_on_iv_update() 209 k_sleep(K_SECONDS(BEACON_INTERVAL)); in test_rx_on_iv_update() 229 k_sleep(K_SECONDS(1)); in tx_on_key_refresh_test() 237 k_sleep(K_SECONDS(BEACON_INTERVAL)); in tx_on_key_refresh_test() [all …]
|
D | test_dfu.c | 482 if (k_sem_take(&dfu_dist_ended, K_SECONDS(DFU_TIMEOUT))) { in dist_dfu_start_and_confirm() 566 if (k_sem_take(&dfu_ended, K_SECONDS(DFU_TIMEOUT))) { in test_dist_dfu_self_update() 760 if (k_sem_take(&dfu_ended, K_SECONDS(DFU_TIMEOUT))) { in target_test_effect() 976 if (k_sem_take(&dfu_ended, K_SECONDS(200))) { in test_cli_fail_on_persistency() 1010 if (k_sem_take(&dfu_cli_applied_sem, K_SECONDS(200))) { in test_cli_fail_on_persistency() 1023 if (k_sem_take(&dfu_cli_confirmed_sem, K_SECONDS(200))) { in test_cli_fail_on_persistency() 1056 if (k_sem_take(&dfu_ended, K_SECONDS(200))) { in test_cli_all_targets_lost_common() 1147 if (!k_sem_take(&dfu_cli_applied_sem, K_SECONDS(200))) { in test_cli_all_targets_lost_on_apply() 1178 if (k_sem_take(&dfu_started, K_SECONDS(200))) { in test_cli_stop() 1194 if (k_sem_take(&dfu_verifying, K_SECONDS(200))) { in test_cli_stop() [all …]
|
/Zephyr-Core-3.4.0/drivers/modem/ |
D | simcom-sim7080.h | 37 #define BUF_ALLOC_TIMEOUT K_SECONDS(1) 38 #define MDM_CMD_TIMEOUT K_SECONDS(10) 39 #define MDM_REGISTRATION_TIMEOUT K_SECONDS(180) 40 #define MDM_CONNECT_TIMEOUT K_SECONDS(90) 41 #define MDM_PDP_TIMEOUT K_SECONDS(120) 42 #define MDM_DNS_TIMEOUT K_SECONDS(210) 43 #define MDM_WAIT_FOR_RSSI_DELAY K_SECONDS(2)
|
D | quectel-bg9x.h | 29 #define MDM_CMD_TIMEOUT K_SECONDS(10) 30 #define MDM_CMD_CONN_TIMEOUT K_SECONDS(120) 31 #define MDM_REGISTRATION_TIMEOUT K_SECONDS(180) 42 #define MDM_WAIT_FOR_RSSI_DELAY K_SECONDS(2) 43 #define BUF_ALLOC_TIMEOUT K_SECONDS(1) 44 #define MDM_MAX_BOOT_TIME K_SECONDS(50)
|
/Zephyr-Core-3.4.0/samples/boards/stm32/power_mgmt/stm32wb_ble/src/ |
D | main.c | 80 k_sleep(K_SECONDS(2)); in bt_ready() 90 k_sleep(K_SECONDS(1)); in bt_ready() 123 k_sleep(K_SECONDS(6)); in main() 131 k_sleep(K_SECONDS(2)); in main() 141 k_sleep(K_SECONDS(6)); in main()
|
/Zephyr-Core-3.4.0/samples/drivers/led_xec/src/ |
D | main.c | 64 k_sleep(K_SECONDS(1)); in led_test() 90 k_sleep(K_SECONDS(5)); in led_test() 102 k_sleep(K_SECONDS(15)); in led_test() 112 k_sleep(K_SECONDS(2)); in led_test() 122 k_sleep(K_SECONDS(2)); in led_test()
|
/Zephyr-Core-3.4.0/samples/bluetooth/periodic_adv/src/ |
D | main.c | 62 k_sleep(K_SECONDS(10)); in main() 75 k_sleep(K_SECONDS(10)); in main() 86 k_sleep(K_SECONDS(10)); in main()
|
/Zephyr-Core-3.4.0/samples/boards/bbc_microbit/display/src/ |
D | main.c | 76 k_sleep(K_SECONDS(11)); in main() 92 k_sleep(K_SECONDS(2)); in main() 97 k_sleep(K_SECONDS((ARRAY_SIZE(scroll) + 2))); in main()
|
/Zephyr-Core-3.4.0/samples/boards/nrf/system_off/src/ |
D | main.c | 78 k_sleep(K_SECONDS(SLEEP_S)); in main() 82 k_sleep(K_SECONDS(SLEEP_S)); in main() 103 k_sleep(K_SECONDS(SLEEP_S)); in main()
|
/Zephyr-Core-3.4.0/tests/kernel/mutex/sys_mutex/src/ |
D | main.c | 110 rv = sys_mutex_lock(&mutex_4, K_SECONDS(1)); in thread_05() 140 rv = sys_mutex_lock(&mutex_4, K_SECONDS(2)); in thread_06() 170 rv = sys_mutex_lock(&mutex_3, K_SECONDS(3)); in thread_07() 337 k_sleep(K_SECONDS(1)); in ZTEST_USER_OR_NOT() 352 k_sleep(K_SECONDS(1)); /* thread_05 should time out */ in ZTEST_USER_OR_NOT() 366 k_sleep(K_SECONDS(1)); /* thread_07 should time out */ in ZTEST_USER_OR_NOT() 382 k_sleep(K_SECONDS(1)); /* Give thread_11 time to run */ in ZTEST_USER_OR_NOT() 408 rv = sys_mutex_lock(&private_mutex, K_SECONDS(1)); in ZTEST_USER_OR_NOT()
|
/Zephyr-Core-3.4.0/tests/bsim/bluetooth/audio/src/ |
D | ias_client_test.c | 106 k_sleep(K_SECONDS(1)); in test_main() 109 k_sleep(K_SECONDS(1)); in test_main() 112 k_sleep(K_SECONDS(1)); in test_main()
|
/Zephyr-Core-3.4.0/tests/kernel/sleep/src/ |
D | main.c | 114 k_sleep(K_SECONDS(1)); in test_thread() 129 k_sleep(K_SECONDS(1)); in test_thread() 143 k_sleep(K_SECONDS(1)); in test_thread() 157 k_sleep(K_SECONDS(1)); /* Task will execute */ in test_thread() 236 k_sleep(K_SECONDS(1)); in ZTEST()
|
/Zephyr-Core-3.4.0/samples/boards/reel_board/mesh_badge/src/ |
D | main.c | 104 board_show_text("Pairing Complete", false, K_SECONDS(2)); in pairing_complete() 110 board_show_text("Pairing Failed", false, K_SECONDS(2)); in pairing_failed() 128 board_show_text("Connection failed", false, K_SECONDS(2)); in connected() 144 board_show_text("Disconnected", false, K_SECONDS(2)); in disconnected()
|
D | mesh.c | 72 board_show_text("Heartbeat Received", false, K_SECONDS(2)); in heartbeat() 82 board_show_text("Starting Mesh Failed", false, K_SECONDS(2)); in show_mesh_status() 87 board_show_text(buf, false, K_SECONDS(4)); in show_mesh_status() 164 board_show_text("Attention!", false, K_SECONDS(2)); in attention_on() 419 board_show_text(str, false, K_SECONDS(3)); in vnd_hello() 444 board_show_text(str, false, K_SECONDS(3)); in vnd_baduser() 540 K_SECONDS(2)); in send_hello() 542 board_show_text("Sending Failed!", false, K_SECONDS(2)); in send_hello() 566 board_show_text("Bad user!", false, K_SECONDS(2)); in send_baduser() 568 board_show_text("Sending Failed!", false, K_SECONDS(2)); in send_baduser()
|
/Zephyr-Core-3.4.0/samples/boards/ti/cc13x2_cc26x2/system_off/src/ |
D | main.c | 54 k_sleep(K_SECONDS(SLEEP_S)); in main() 71 k_sleep(K_SECONDS(SLEEP_S)); in main()
|
/Zephyr-Core-3.4.0/tests/lib/time/src/ |
D | main.c | 35 k_sleep(K_SECONDS(1)); in ZTEST() 56 k_sleep(K_SECONDS(1)); in ZTEST()
|
/Zephyr-Core-3.4.0/samples/boards/mimxrt1060_evk/system_off/src/ |
D | main.c | 64 k_sleep(K_SECONDS(SLEEP_S)); in main() 93 k_sleep(K_SECONDS(SLEEP_S)); in main()
|
/Zephyr-Core-3.4.0/tests/kernel/poll/src/ |
D | test_poll.c | 406 rc = k_poll(wait_events, ARRAY_SIZE(wait_events), K_SECONDS(1)); in ZTEST() 421 K_SECONDS(1)), -EAGAIN, ""); in ZTEST() 441 rc = k_poll(wait_events, ARRAY_SIZE(wait_events), K_SECONDS(1)); in ZTEST() 462 rc = k_poll(wait_events, ARRAY_SIZE(wait_events), K_SECONDS(1)); in ZTEST() 471 rc = k_poll(wait_events, ARRAY_SIZE(wait_events), K_SECONDS(1)); in ZTEST() 481 rc = k_poll(wait_events, ARRAY_SIZE(wait_events), K_SECONDS(1)); in ZTEST() 491 rc = k_poll(wait_events, ARRAY_SIZE(wait_events), K_SECONDS(1)); in ZTEST() 564 rc = k_poll(cancel_events, ARRAY_SIZE(cancel_events), K_SECONDS(1)); in test_poll_cancel() 680 rc = k_poll(events, ARRAY_SIZE(events), K_SECONDS(1)); in ZTEST() 692 rc = k_sem_take(&multi_reply, K_SECONDS(1)); in ZTEST() [all …]
|
/Zephyr-Core-3.4.0/tests/boot/mcuboot_recovery_retention/src/ |
D | main.c | 16 k_sleep(K_SECONDS(1)); in main()
|