Home
last modified time | relevance | path

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

/Zephyr-Core-3.6.0/tests/subsys/logging/log_api/src/
Dmain.c44 static struct log_backend backend1; variable
47 MOCK_LOG_BACKEND_DEFINE(backend1, false);
102 mock_log_backend_reset(&backend1); in log_setup()
105 log_backend_enable(&backend1, backend1.cb->ctx, LOG_LEVEL_DBG); in log_setup()
141 mock_log_backend_validate(&backend1, panic); in process_and_validate()
179 mock_log_backend_record(&backend1, LOG_CURRENT_MODULE_ID(), in ZTEST()
192 mock_log_backend_record(&backend1, LOG_CURRENT_MODULE_ID(), in ZTEST()
201 mock_log_backend_record(&backend1, LOG_CURRENT_MODULE_ID(), in ZTEST()
206 mock_log_backend_record(&backend1, LOG_CURRENT_MODULE_ID(), in ZTEST()
257 mock_log_backend_record(&backend1, s_id, d_id, LOG_LEVEL_DBG, exp_ts, str); in ZTEST()
[all …]
/Zephyr-Core-3.6.0/tests/subsys/logging/log_core_additional/src/
Dlog_test.c127 LOG_BACKEND_DEFINE(backend1, log_backend_test_api, false);
158 log_backend_enable(&backend1, &backend1_cb, LOG_LEVEL_DBG); in log_setup()
205 zassert_false(log_backend_is_active(&backend1)); in ZTEST()
206 log_backend_activate(&backend1, NULL); in ZTEST()
207 zassert_true(log_backend_is_active(&backend1)); in ZTEST()
208 log_backend_deactivate(&backend1); in ZTEST()
209 zassert_false(log_backend_is_active(&backend1)); in ZTEST()
283 log_backend_enable(&backend1, &backend1_cb, LOG_LEVEL_DBG); in ZTEST()
337 if ((backend == &backend1) || (backend == &backend2)) { in ZTEST()
349 log_backend_enable(&backend1, &backend1_cb, LOG_LEVEL_DBG); in ZTEST()
/Zephyr-Core-3.6.0/tests/subsys/logging/log_links/src/
Dmain.c41 LOG_BACKEND_DEFINE(backend1, log_backend_test_api, false);
52 log_backend_enable(&backend1, NULL, LOG_LEVEL_DBG); in log_setup()
177 level1 = log_filter_get(&backend1, d, s, true); in test_single_runtime_level()
186 log_filter_set(&backend1, d, s, 1); in test_single_runtime_level()
188 level1 = log_filter_get(&backend1, d, s, true); in test_single_runtime_level()
/Zephyr-Core-3.6.0/tests/subsys/logging/log_link_order/src/
Dmain.c42 LOG_BACKEND_DEFINE(backend1, log_backend_test_api, false);
62 log_backend_enable(&backend1, NULL, LOG_LEVEL_DBG); in log_setup()
/Zephyr-Core-3.6.0/tests/subsys/logging/log_backend_init/src/
Dmain.c102 LOG_BACKEND_DEFINE(backend1, backend_api, true, &context1);