Home
last modified time | relevance | path

Searched refs:get_time_mock (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-3.5.0/tests/drivers/rtc/shell/src/
Dmain.c32 static struct time_mock_val get_time_mock; variable
39 *rtc = get_time_mock.rtc; in rtc_fake_get_time_mock()
40 return get_time_mock.ret_val; in rtc_fake_get_time_mock()
60 get_time_mock.ret_val = ret_val; in configure_get_time_mock()
61 get_time_mock.rtc.tm_year = 2023 - 1900; /* rtc_time year offset */ in configure_get_time_mock()
62 get_time_mock.rtc.tm_mon = 12 - 1; /* rtc_time month offset */ in configure_get_time_mock()
63 get_time_mock.rtc.tm_mday = 24; in configure_get_time_mock()
64 get_time_mock.rtc.tm_hour = 12; in configure_get_time_mock()
65 get_time_mock.rtc.tm_min = 34; in configure_get_time_mock()
66 get_time_mock.rtc.tm_sec = 56; in configure_get_time_mock()
[all …]
/Zephyr-Core-3.5.0/tests/subsys/openthread/
Dradio_test.c49 FAKE_VALUE_FUNC(int64_t, get_time_mock, const struct device *);
66 .get_time = get_time_mock,