Home
last modified time | relevance | path

Searched refs:backend2 (Results 1 – 4 of 4) sorted by relevance

/Zephyr-Core-3.6.0/tests/subsys/logging/log_api/src/
Dmain.c45 static struct log_backend backend2; variable
48 MOCK_LOG_BACKEND_DEFINE(backend2, false);
103 mock_log_backend_reset(&backend2); in log_setup()
108 log_backend_enable(&backend2, backend2.cb->ctx, LOG_LEVEL_DBG); in log_setup()
110 log_backend_disable(&backend2); in log_setup()
144 mock_log_backend_validate(&backend2, panic); in process_and_validate()
258 mock_log_backend_record(&backend2, s_id, d_id, LOG_LEVEL_DBG, exp_ts, str); in ZTEST()
266 mock_log_backend_record(&backend2, s_id, d_id, LOG_LEVEL_INF, exp_ts, "test"); in ZTEST()
286 b_level = log_filter_get(&backend2, d_id, s_id, true); in ZTEST()
301 log_filter_set(&backend2, d_id, s_id, LOG_LEVEL_WRN); in ZTEST()
[all …]
/Zephyr-Core-3.6.0/tests/subsys/logging/log_links/src/
Dmain.c43 LOG_BACKEND_DEFINE(backend2, log_backend_test_api, false);
55 log_backend_enable(&backend2, NULL, LOG_LEVEL_INF); in log_setup()
57 log_backend_disable(&backend2); in log_setup()
178 level2 = log_filter_get(&backend2, d, s, true); in test_single_runtime_level()
187 log_filter_set(&backend2, d, s, 2); in test_single_runtime_level()
189 level2 = log_filter_get(&backend2, d, s, true); in test_single_runtime_level()
/Zephyr-Core-3.6.0/tests/subsys/logging/log_core_additional/src/
Dlog_test.c130 LOG_BACKEND_DEFINE(backend2, log_backend_test_api, false);
163 log_backend_enable(&backend2, &backend2_cb, LOG_LEVEL_DBG); in log_setup()
165 log_backend_disable(&backend2); in log_setup()
337 if ((backend == &backend1) || (backend == &backend2)) { in ZTEST()
/Zephyr-Core-3.6.0/tests/subsys/logging/log_backend_init/src/
Dmain.c103 LOG_BACKEND_DEFINE(backend2, backend_api, true, &context2);