Searched refs:backend2 (Results 1 – 4 of 4) sorted by relevance
/Zephyr-latest/tests/subsys/logging/log_api/src/ |
D | main.c | 48 static struct log_backend backend2; variable 51 MOCK_LOG_BACKEND_DEFINE(backend2, false); 111 mock_log_backend_reset(&backend2); in log_setup() 116 log_backend_enable(&backend2, backend2.cb->ctx, LOG_LEVEL_DBG); in log_setup() 118 log_backend_disable(&backend2); in log_setup() 152 mock_log_backend_validate(&backend2, panic); in process_and_validate() 261 mock_log_backend_record(&backend2, s_id, d_id, LOG_LEVEL_DBG, exp_ts, str); in ZTEST() 269 mock_log_backend_record(&backend2, s_id, d_id, LOG_LEVEL_INF, exp_ts, "test"); in ZTEST() 289 b_level = log_filter_get(&backend2, d_id, s_id, true); in ZTEST() 304 log_filter_set(&backend2, d_id, s_id, LOG_LEVEL_WRN); in ZTEST() [all …]
|
/Zephyr-latest/tests/subsys/logging/log_links/src/ |
D | main.c | 43 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-latest/tests/subsys/logging/log_core_additional/src/ |
D | log_test.c | 130 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-latest/tests/subsys/logging/log_backend_init/src/ |
D | main.c | 103 LOG_BACKEND_DEFINE(backend2, backend_api, true, &context2);
|