Home
last modified time | relevance | path

Searched full:called (Results 1 – 25 of 1126) sorted by relevance

12345678910>>...46

/Zephyr-Core-3.5.0/tests/bluetooth/host/id/mocks/
Dhci_core_expects.h10 * Validate expected behaviour when bt_unpair() is called
13 * - bt_unpair() to be called once with correct parameters
18 * Validate expected behaviour when bt_unpair() isn't called
21 * - bt_unpair() isn't called at all
26 * Validate expected behaviour when bt_hci_cmd_create() is called
29 * - bt_hci_cmd_create() to be called once with correct parameters
34 * Validate expected behaviour when bt_hci_cmd_create() isn't called
37 * - bt_hci_cmd_create() isn't called at all
42 * Validate expected behaviour when bt_hci_cmd_send_sync() is called
45 * - bt_hci_cmd_send_sync() to be called once with correct parameters
[all …]
Dsmp_expects.h10 * Validate expected behaviour when bt_smp_le_oob_generate_sc_data() is called
13 * - bt_smp_le_oob_generate_sc_data() to be called once with correct parameters
18 * Validate expected behaviour when bt_smp_le_oob_generate_sc_data() isn't called
21 * - bt_smp_le_oob_generate_sc_data() isn't called at all
26 * Validate expected behaviour when bt_smp_le_oob_set_tk() is called
29 * - bt_smp_le_oob_set_tk() to be called once with correct parameters
34 * Validate expected behaviour when bt_smp_le_oob_set_sc_data() is called
37 * - bt_smp_le_oob_set_sc_data() to be called once with correct parameters
44 * Validate expected behaviour when bt_smp_le_oob_get_sc_data() is called
47 * - bt_smp_le_oob_get_sc_data() to be called once with correct parameters
Dsmp_expects.c17 "'%s()' was called more than once", func_name); in expect_single_call_bt_smp_le_oob_generate_sc_data()
25 "'%s()' was called unexpectedly", func_name); in expect_not_called_bt_smp_le_oob_generate_sc_data()
32 zassert_equal(bt_smp_le_oob_set_tk_fake.call_count, 1, "'%s()' was called more than once", in expect_single_call_bt_smp_le_oob_set_tk()
36 "'%s()' was called with incorrect '%s' value", func_name, "conn"); in expect_single_call_bt_smp_le_oob_set_tk()
38 "'%s()' was called with incorrect '%s' value", func_name, "tk"); in expect_single_call_bt_smp_le_oob_set_tk()
48 "'%s()' was called more than once", func_name); in expect_single_call_bt_smp_le_oob_set_sc_data()
51 "'%s()' was called with incorrect '%s' value", func_name, "conn"); in expect_single_call_bt_smp_le_oob_set_sc_data()
53 "'%s()' was called with incorrect '%s' value", func_name, "oobd_local"); in expect_single_call_bt_smp_le_oob_set_sc_data()
55 "'%s()' was called with incorrect '%s' value", func_name, "oobd_remote"); in expect_single_call_bt_smp_le_oob_set_sc_data()
65 "'%s()' was called more than once", func_name); in expect_single_call_bt_smp_le_oob_get_sc_data()
[all …]
Dsettings_expects.h10 * Validate expected behaviour when bt_settings_store_id() is called
13 * - bt_settings_store_id() to be called once with correct parameters
18 * Validate expected behaviour when bt_settings_store_id() isn't called
21 * - bt_settings_store_id() isn't called at all
26 * Validate expected behaviour when bt_settings_store_irk() is called
29 * - bt_settings_store_irk() to be called once with correct parameters
34 * Validate expected behaviour when bt_settings_store_irk) isn't called
37 * - bt_settings_store_irk() isn't called at all
Dadv_expects.h10 * Validate expected behaviour when bt_le_adv_lookup_legacy() is called
13 * - bt_le_adv_lookup_legacy() to be called once with correct parameters
18 * Validate expected behaviour when bt_le_adv_lookup_legacy() isn't called
21 * - bt_le_adv_lookup_legacy() isn't called at all
26 * Validate expected behaviour when bt_le_ext_adv_foreach() is called
29 * - bt_le_ext_adv_foreach() to be called once with correct parameters
34 * Validate expected behaviour when bt_le_ext_adv_foreach() isn't called
37 * - bt_le_ext_adv_foreach() isn't called at all
Dhci_core_expects.c17 zassert_equal(bt_unpair_fake.call_count, 1, "'%s()' was called more than once", func_name); in expect_single_call_bt_unpair()
19 zassert_equal(bt_unpair_fake.arg0_val, id, "'%s()' was called with incorrect '%s' value", in expect_single_call_bt_unpair()
24 "'%s()' was called with incorrect '%s' value", func_name, "addr"); in expect_single_call_bt_unpair()
27 "'%s()' was called with incorrect '%s' value", func_name, "addr"); in expect_single_call_bt_unpair()
35 zassert_equal(bt_unpair_fake.call_count, 0, "'%s()' was called unexpectedly", func_name); in expect_not_called_bt_unpair()
42 zassert_equal(bt_hci_cmd_create_fake.call_count, 1, "'%s()' was called more than once", in expect_single_call_bt_hci_cmd_create()
46 "'%s()' was called with incorrect '%s' value", func_name, "opcode"); in expect_single_call_bt_hci_cmd_create()
48 "'%s()' was called with incorrect '%s' value", func_name, "param_len"); in expect_single_call_bt_hci_cmd_create()
55 zassert_equal(bt_hci_cmd_create_fake.call_count, 0, "'%s()' was called unexpectedly", in expect_not_called_bt_hci_cmd_create()
63 zassert_equal(bt_hci_cmd_send_sync_fake.call_count, 1, "'%s()' was called more than once", in expect_single_call_bt_hci_cmd_send_sync()
[all …]
Dkeys_expects.h10 * Validate expected behaviour when bt_keys_find_irk() is called
13 * - bt_keys_find_irk() to be called once with correct parameters
18 * Validate expected behaviour when bt_keys_find_irk() isn't called
21 * - bt_keys_find_irk() isn't called at all
26 * Validate expected behaviour when bt_keys_foreach_type() is called
29 * - bt_keys_foreach_type() to be called once with correct parameters
34 * Validate expected behaviour when bt_keys_foreach_type() isn't called
37 * - bt_keys_foreach_type() isn't called at all
Dnet_buf_expects.h10 * Validate expected behaviour when net_buf_unref() is called
13 * - net_buf_unref() to be called once with correct parameters
18 * Validate expected behaviour when net_buf_unref() isn't called
21 * - net_buf_unref() isn't called at all
26 * Validate expected behaviour when net_buf_simple_add() is called
29 * - net_buf_simple_add() to be called once with correct parameters
34 * Validate expected behaviour when net_buf_simple_add() isn't called
37 * - net_buf_simple_add() isn't called at all
Dconn_expects.h10 * Validate expected behaviour when bt_conn_lookup_state_le() is called
13 * - bt_conn_lookup_state_le() to be called once with correct parameters
19 * Validate expected behaviour when bt_conn_lookup_state_le() isn't called
22 * - bt_conn_lookup_state_le() isn't called at all
27 * Validate expected behaviour when bt_conn_unref() is called
30 * - bt_conn_unref() to be called once with correct parameters
35 * Validate expected behaviour when bt_conn_unref() isn't called
38 * - bt_conn_unref() isn't called at all
Dkeys_expects.c16 zassert_equal(bt_keys_find_irk_fake.call_count, 1, "'%s()' was called more than once", in expect_single_call_bt_keys_find_irk()
20 "'%s()' was called with incorrect '%s' value", func_name, "id"); in expect_single_call_bt_keys_find_irk()
22 "'%s()' was called with incorrect '%s' value", func_name, "addr"); in expect_single_call_bt_keys_find_irk()
29 zassert_equal(bt_keys_find_irk_fake.call_count, 0, "'%s()' was called unexpectedly", in expect_not_called_bt_keys_find_irk()
37 zassert_equal(bt_keys_foreach_type_fake.call_count, 1, "'%s()' was called more than once", in expect_single_call_bt_keys_foreach_type()
41 "'%s()' was called with incorrect '%s' value", func_name, "type"); in expect_single_call_bt_keys_foreach_type()
43 "'%s()' was called with incorrect '%s' value", func_name, "func"); in expect_single_call_bt_keys_foreach_type()
50 zassert_equal(bt_keys_foreach_type_fake.call_count, 0, "'%s()' was called unexpectedly", in expect_not_called_bt_keys_foreach_type()
Dconn_expects.c18 "'%s()' was called more than once", func_name); in expect_single_call_bt_conn_lookup_state_le()
21 "'%s()' was called with incorrect '%s' value", func_name, "id"); in expect_single_call_bt_conn_lookup_state_le()
23 "'%s()' was called with incorrect '%s' value", func_name, "peer"); in expect_single_call_bt_conn_lookup_state_le()
25 "'%s()' was called with incorrect '%s' value", func_name, "state"); in expect_single_call_bt_conn_lookup_state_le()
32 zassert_equal(bt_conn_lookup_state_le_fake.call_count, 0, "'%s()' was called unexpectedly", in expect_not_called_bt_conn_lookup_state_le()
40 zassert_equal(bt_conn_unref_fake.call_count, 1, "'%s()' was called more than once", in expect_single_call_bt_conn_unref()
44 "'%s()' was called with incorrect '%s' value", func_name, "conn"); in expect_single_call_bt_conn_unref()
51 zassert_equal(bt_conn_unref_fake.call_count, 0, "'%s()' was called unexpectedly", in expect_not_called_bt_conn_unref()
Dnet_buf_expects.c17 zassert_equal(net_buf_unref_fake.call_count, 1, "'%s()' was called more than once", in expect_single_call_net_buf_unref()
21 "'%s()' was called with incorrect '%s' value", func_name, "buf"); in expect_single_call_net_buf_unref()
28 zassert_equal(net_buf_unref_fake.call_count, 0, "'%s()' was called unexpectedly", in expect_not_called_net_buf_unref()
36 zassert_equal(net_buf_simple_add_fake.call_count, 1, "'%s()' was called more than once", in expect_single_call_net_buf_simple_add()
40 "'%s()' was called with incorrect '%s' value", func_name, "buf"); in expect_single_call_net_buf_simple_add()
42 "'%s()' was called with incorrect '%s' value", func_name, "len"); in expect_single_call_net_buf_simple_add()
49 zassert_equal(net_buf_simple_add_fake.call_count, 0, "'%s()' was called unexpectedly", in expect_not_called_net_buf_simple_add()
/Zephyr-Core-3.5.0/tests/bluetooth/host/buf/mocks/
Dnet_buf_expects.h10 * Validate expected behaviour when net_buf_alloc() is called
13 * - net_buf_alloc() to be called once with :
20 * Validate expected behaviour when net_buf_alloc() isn't called
23 * - net_buf_alloc() isn't called at all
28 * Validate expected behaviour when net_buf_reserve() is called
31 * - net_buf_reserve() to be called once with :
38 * Validate expected behaviour when net_buf_reserve() isn't called
41 * - net_buf_reserve() isn't called at all
46 * Validate expected behaviour when net_buf_ref() is called
49 * - net_buf_ref() to be called once with correct reference value
[all …]
Dnet_buf_expects.c16 zassert_equal(net_buf_alloc_fixed_fake.call_count, 1, "'%s()' was called more than once", in expect_single_call_net_buf_alloc()
20 "'%s()' was called with incorrect '%s' value", func_name, "pool"); in expect_single_call_net_buf_alloc()
23 "'%s()' was called with incorrect '%s' value", func_name, "timeout"); in expect_single_call_net_buf_alloc()
30 zassert_equal(net_buf_alloc_fixed_fake.call_count, 0, "'%s()' was called unexpectedly", in expect_not_called_net_buf_alloc()
38 zassert_equal(net_buf_simple_reserve_fake.call_count, 1, "'%s()' was called more than once", in expect_single_call_net_buf_reserve()
42 "'%s()' was called with incorrect '%s' value", func_name, "buf"); in expect_single_call_net_buf_reserve()
45 "'%s()' was called with incorrect '%s' value", func_name, "reserve"); in expect_single_call_net_buf_reserve()
52 zassert_equal(net_buf_simple_reserve_fake.call_count, 0, "'%s()' was called unexpectedly", in expect_not_called_net_buf_reserve()
60 zassert_equal(net_buf_ref_fake.call_count, 1, "'%s()' was called more than once", in expect_single_call_net_buf_ref()
64 "'%s()' was called with incorrect '%s' value", func_name, "buf"); in expect_single_call_net_buf_ref()
[all …]
/Zephyr-Core-3.5.0/tests/bluetooth/host/crypto/mocks/
Dhmac_prng_expects.c15 zassert_equal(tc_hmac_prng_init_fake.call_count, 1, "'%s()' was called more than once", in expect_single_call_tc_hmac_prng_init()
19 "'%s()' was called with incorrect '%s' value", func_name, "prng"); in expect_single_call_tc_hmac_prng_init()
21 "'%s()' was called with incorrect '%s' value", func_name, "buffer"); in expect_single_call_tc_hmac_prng_init()
23 "'%s()' was called with incorrect '%s' value", func_name, "plen"); in expect_single_call_tc_hmac_prng_init()
31 zassert_equal(tc_hmac_prng_reseed_fake.call_count, 1, "'%s()' was called more than once", in expect_single_call_tc_hmac_prng_reseed()
35 "'%s()' was called with incorrect '%s' value", func_name, "prng"); in expect_single_call_tc_hmac_prng_reseed()
37 "'%s()' was called with incorrect '%s' value", func_name, "seed"); in expect_single_call_tc_hmac_prng_reseed()
39 "'%s()' was called with incorrect '%s' value", func_name, "seedlen"); in expect_single_call_tc_hmac_prng_reseed()
41 "'%s()' was called with incorrect '%s' value", func_name, in expect_single_call_tc_hmac_prng_reseed()
44 "'%s()' was called with incorrect '%s' value", func_name, "additionallen"); in expect_single_call_tc_hmac_prng_reseed()
[all …]
Dhmac_prng_expects.h10 * Validate expected behaviour when tc_hmac_prng_init() is called
13 * - tc_hmac_prng_init() to be called once with correct parameters
18 * Validate expected behaviour when tc_hmac_prng_reseed() is called
21 * - tc_hmac_prng_reseed() to be called once with correct parameters
27 * Validate expected behaviour when tc_hmac_prng_generate() is called
30 * - tc_hmac_prng_generate() to be called once with correct parameters
/Zephyr-Core-3.5.0/tests/bluetooth/host/keys/mocks/
Dsettings_expects.c16 zassert_equal(bt_settings_encode_key_fake.call_count, 1, "'%s()' was called more than once", in expect_single_call_bt_settings_encode_key_with_not_null_key()
19 "'%s()' was called with incorrect '%s' value", func_name, "path"); in expect_single_call_bt_settings_encode_key_with_not_null_key()
21 "'%s()' was called with incorrect '%s' value", func_name, "path_size"); in expect_single_call_bt_settings_encode_key_with_not_null_key()
23 "'%s()' was called with incorrect '%s' value", func_name, "subsys"); in expect_single_call_bt_settings_encode_key_with_not_null_key()
25 "'%s()' was called with incorrect '%s' value", func_name, "addr"); in expect_single_call_bt_settings_encode_key_with_not_null_key()
27 "'%s()' was called with incorrect '%s' value", func_name, "key"); in expect_single_call_bt_settings_encode_key_with_not_null_key()
35 "'%s()' was called more than once (%d)", func_name, in expect_single_call_bt_settings_encode_key_with_null_key()
38 "'%s()' was called with incorrect '%s' value", func_name, "path"); in expect_single_call_bt_settings_encode_key_with_null_key()
40 "'%s()' was called with incorrect '%s' value", func_name, "path_size"); in expect_single_call_bt_settings_encode_key_with_null_key()
42 "'%s()' was called with incorrect '%s' value", func_name, "subsys"); in expect_single_call_bt_settings_encode_key_with_null_key()
[all …]
Dsettings_store_expects.h10 * Validate expected behaviour when bt_settings_delete_keys() is called
13 * - bt_settings_delete_keys() to be called once with correct parameters
18 * Validate expected behaviour when bt_settings_store_keys() is called
21 * - bt_settings_store_keys() to be called once with correct parameters
26 * Validate expected behaviour when bt_settings_store_keys() isn't called
29 * - bt_settings_store_keys() isn't called at all
Dsettings_expects.h10 * Validate expected behaviour when bt_settings_encode_key() is called
13 * - bt_settings_encode_key() to be called once with correct parameters
19 * Validate expected behaviour when bt_settings_encode_key() is called
22 * - bt_settings_encode_key() to be called once with correct parameters
28 * Validate expected behaviour when bt_settings_encode_key() isn't called
31 * - bt_settings_encode_key() isn't called at all
/Zephyr-Core-3.5.0/tests/lib/hash_map/src/
Dforeach.c14 bool *called = (bool *)cookie; in foreach_callback() local
17 called[key] = true; in foreach_callback()
22 bool called[10] = {0}; in ZTEST() local
26 for (size_t i = 0; i < ARRAY_SIZE(called); ++i) { in ZTEST()
30 zassert_equal(ARRAY_SIZE(called), sys_hashmap_size(&map)); in ZTEST()
32 sys_hashmap_foreach(&map, foreach_callback, called); in ZTEST()
33 for (size_t i = 0; i < ARRAY_SIZE(called); ++i) { in ZTEST()
34 zassert_true(called[i], "entry %zu was not called", i + 1); in ZTEST()
/Zephyr-Core-3.5.0/tests/bluetooth/host/ecc/mocks/
Dhci_core_expects.h10 * Validate expected behaviour when bt_hci_cmd_create() is called
13 * - bt_hci_cmd_create() to be called once with correct parameters
18 * Validate expected behaviour when bt_hci_cmd_create() isn't called
21 * - bt_hci_cmd_create() isn't called at all
26 * Validate expected behaviour when bt_hci_cmd_send_sync() is called
29 * - bt_hci_cmd_send_sync() to be called once with correct parameters
34 * Validate expected behaviour when bt_hci_cmd_send_sync() isn't called
37 * - bt_hci_cmd_send_sync() isn't called at all
Dhci_core_expects.c17 zassert_equal(bt_hci_cmd_create_fake.call_count, 1, "'%s()' was called more than once", in expect_single_call_bt_hci_cmd_create()
21 "'%s()' was called with incorrect '%s' value", func_name, "opcode"); in expect_single_call_bt_hci_cmd_create()
23 "'%s()' was called with incorrect '%s' value", func_name, "param_len"); in expect_single_call_bt_hci_cmd_create()
30 zassert_equal(bt_hci_cmd_create_fake.call_count, 0, "'%s()' was called unexpectedly", in expect_not_called_bt_hci_cmd_create()
38 zassert_equal(bt_hci_cmd_send_sync_fake.call_count, 1, "'%s()' was called more than once", in expect_single_call_bt_hci_cmd_send_sync()
42 "'%s()' was called with incorrect '%s' value", func_name, "opcode"); in expect_single_call_bt_hci_cmd_send_sync()
49 zassert_equal(bt_hci_cmd_send_sync_fake.call_count, 0, "'%s()' was called unexpectedly", in expect_not_called_bt_hci_cmd_send_sync()
/Zephyr-Core-3.5.0/scripts/native_simulator/common/src/
Dnsi_tasks.h27 * Register a function to be called at particular moments
30 * There is 5 choices for when the function will be called (level):
31 * * PRE_BOOT_1: Will be called before the command line parameters are parsed,
34 * * PRE_BOOT_2: Will be called after the command line parameters are parsed,
37 * * HW_INIT: Will be called during HW models initialization
39 * * PRE_BOOT_3: Will be called after the HW models initialization, right before
42 * * FIRST_SLEEP: Will be called after the 1st time all CPUs are sent to sleep
44 * * ON_EXIT_PRE: Will be called during termination of the runner
47 * * ON_EXIT_POST: Will be called during termination of the runner
/Zephyr-Core-3.5.0/tests/bluetooth/audio/mocks/include/
Dbap_unicast_server_expects.h23 "'%s()' was called with incorrect '%s' value", \
28 "'%s()' was called with incorrect '%s' value", \
33 "'%s()' was called with incorrect '%s' value", \
49 "'%s()' was called with incorrect '%s' value", \
54 "'%s()' was called with incorrect '%s' value", \
70 "'%s()' was called with incorrect '%s' value", \
86 "'%s()' was called with incorrect '%s' value", \
106 "'%s()' was called with incorrect '%s' value", \
126 "'%s()' was called with incorrect '%s' value", \
138 "'%s()' was called with incorrect '%s' value", \
[all …]
/Zephyr-Core-3.5.0/soc/posix/inf_clock/
Dposix_native_task.h19 * For native_posix, register a function to be called at particular moments
22 * There is 5 choices for when the function will be called (level):
23 * * PRE_BOOT_1: Will be called before the command line parameters are parsed,
26 * * PRE_BOOT_2: Will be called after the command line parameters are parsed,
29 * * PRE_BOOT_3: Will be called after the HW models initialization, right before
32 * * FIRST_SLEEP: Will be called the 1st time the CPU is sent to sleep
34 * * ON_EXIT: Will be called during termination of the native application

12345678910>>...46