Home
last modified time | relevance | path

Searched refs:diff_ms (Results 1 – 5 of 5) sorted by relevance

/Zephyr-latest/tests/bsim/bluetooth/host/privacy/legacy/src/
Dtester.c41 int64_t diff_ms, rpa_timeout_ms; in cb_expect_rpa() local
67 diff_ms = k_uptime_get() - test_data.old_time; in cb_expect_rpa()
70 if (abs(diff_ms - rpa_timeout_ms) > (rpa_timeout_ms / 10)) { in cb_expect_rpa()
/Zephyr-latest/tests/bsim/bluetooth/host/privacy/peripheral/src/
Dtester_rpa_expired.c38 int64_t diff_ms; in test_address() local
52 diff_ms = k_uptime_get() - adv_set_data[adv_index].old_time; in test_address()
54 if (diff_ms < rpa_timeout_ms) { in test_address()
Dtester_rpa_rotation.c72 int64_t diff_ms, rpa_timeout_ms; in test_address() local
98 diff_ms = k_uptime_get() - adv_set_data[adv_index].old_time; in test_address()
101 if (abs(diff_ms - rpa_timeout_ms) > (rpa_timeout_ms / 10)) { in test_address()
Ddut_rpa_expired.c47 int64_t diff_ms; in rpa_expired_cb() local
49 diff_ms = k_uptime_get() - old_time; in rpa_expired_cb()
52 if (diff_ms >= rpa_timeout_ms) { in rpa_expired_cb()
/Zephyr-latest/tests/kernel/fifo/fifo_timeout/src/
Dmain.c142 uint32_t diff_ms; in test_multiple_threads_pending() local
178 diff_ms = data->timeout - test_data[j].timeout; in test_multiple_threads_pending()
180 diff_ms = test_data[j].timeout - data->timeout; in test_multiple_threads_pending()
183 if (k_ms_to_ticks_ceil32(diff_ms) == 1) { in test_multiple_threads_pending()