Home
last modified time | relevance | path

Searched refs:func_name (Results 1 – 25 of 44) sorted by relevance

12

/Zephyr-Core-3.5.0/tests/bluetooth/audio/mocks/include/
Dbap_stream_expects.h17 const char *func_name = "bt_bap_stream_ops.configured"; \
19 zexpect_call_count(func_name, 1, mock_bap_stream_configured_cb_fake.call_count); \
25 func_name, "stream");)) \
35 const char *func_name = "bt_bap_stream_ops.configured"; in expect_bt_bap_stream_ops_configured_not_called() local
37 zexpect_call_count(func_name, 0, mock_bap_stream_configured_cb_fake.call_count); in expect_bt_bap_stream_ops_configured_not_called()
42 const char *func_name = "bt_bap_stream_ops.qos_set"; in expect_bt_bap_stream_ops_qos_set_called_once() local
44 zexpect_call_count(func_name, 1, mock_bap_stream_qos_set_cb_fake.call_count); in expect_bt_bap_stream_ops_qos_set_called_once()
48 "'%s()' was called with incorrect '%s'", func_name, "stream"); in expect_bt_bap_stream_ops_qos_set_called_once()
54 const char *func_name = "bt_bap_stream_ops.qos_set"; in expect_bt_bap_stream_ops_qos_set_not_called() local
56 zexpect_call_count(func_name, 0, mock_bap_stream_qos_set_cb_fake.call_count); in expect_bt_bap_stream_ops_qos_set_not_called()
[all …]
Dbap_unicast_server_expects.h17 const char *func_name = "bt_bap_unicast_server_cb.config"; \
19 zexpect_call_count(func_name, 1, mock_bap_unicast_server_cb_config_fake.call_count); \
24 func_name, "conn");)) \
29 func_name, "ep");)) \
34 func_name, "_dir");)) \
43 const char *func_name = "bt_bap_unicast_server_cb.reconfig"; \
45 zexpect_call_count(func_name, 1, mock_bap_unicast_server_cb_reconfig_fake.call_count); \
50 func_name, "stream");)) \
55 func_name, "_dir");)) \
64 const char *func_name = "bt_bap_unicast_server_cb.qos"; \
[all …]
Dgatt_expects.h17 const char *func_name = "bt_gatt_notify_cb"; \
23 func_name, "conn");)) \
32 func_name, "params->uuid");)) \
37 func_name, "params->attr");)) \
46 func_name, "params->len"); \
47 expect_data(func_name, "params->data", _data, params->data, _len);)) \
52 const char *func_name = "bt_gatt_notify_cb"; in expect_bt_gatt_notify_cb_not_called() local
55 "'%s()' was called unexpectedly", func_name); in expect_bt_gatt_notify_cb_not_called()
/Zephyr-Core-3.5.0/tests/bluetooth/host/id/mocks/
Dhci_core_expects.c15 const char *func_name = "bt_unpair"; in expect_single_call_bt_unpair() local
17 zassert_equal(bt_unpair_fake.call_count, 1, "'%s()' was called more than once", func_name); in expect_single_call_bt_unpair()
20 func_name, "id"); 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()
33 const char *func_name = "bt_unpair"; in expect_not_called_bt_unpair() local
35 zassert_equal(bt_unpair_fake.call_count, 0, "'%s()' was called unexpectedly", func_name); in expect_not_called_bt_unpair()
40 const char *func_name = "bt_hci_cmd_create"; in expect_single_call_bt_hci_cmd_create() local
43 func_name); 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()
[all …]
Dsmp_expects.c14 const char *func_name = "bt_smp_le_oob_generate_sc_data"; in expect_single_call_bt_smp_le_oob_generate_sc_data() local
17 "'%s()' was called more than once", func_name); in expect_single_call_bt_smp_le_oob_generate_sc_data()
22 const char *func_name = "bt_smp_le_oob_generate_sc_data"; in expect_not_called_bt_smp_le_oob_generate_sc_data() local
25 "'%s()' was called unexpectedly", func_name); in expect_not_called_bt_smp_le_oob_generate_sc_data()
30 const char *func_name = "bt_smp_le_oob_set_tk"; in expect_single_call_bt_smp_le_oob_set_tk() local
33 func_name); 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()
45 const char *func_name = "bt_smp_le_oob_set_sc_data"; in expect_single_call_bt_smp_le_oob_set_sc_data() local
48 "'%s()' was called more than once", func_name); in expect_single_call_bt_smp_le_oob_set_sc_data()
[all …]
Dkeys_expects.c14 const char *func_name = "bt_keys_find_irk"; in expect_single_call_bt_keys_find_irk() local
17 func_name); 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()
27 const char *func_name = "bt_keys_find_irk"; in expect_not_called_bt_keys_find_irk() local
30 func_name); in expect_not_called_bt_keys_find_irk()
35 const char *func_name = "bt_keys_foreach_type"; in expect_single_call_bt_keys_foreach_type() local
38 func_name); 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()
[all …]
Dconn_expects.c15 const char *func_name = "bt_conn_lookup_state_le"; in expect_single_call_bt_conn_lookup_state_le() local
18 "'%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()
30 const char *func_name = "bt_conn_lookup_state_le"; in expect_not_called_bt_conn_lookup_state_le() local
33 func_name); in expect_not_called_bt_conn_lookup_state_le()
38 const char *func_name = "bt_conn_unref"; in expect_single_call_bt_conn_unref() local
41 func_name); 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()
[all …]
Dnet_buf_expects.c15 const char *func_name = "net_buf_unref"; in expect_single_call_net_buf_unref() local
18 func_name); 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()
26 const char *func_name = "net_buf_unref"; in expect_not_called_net_buf_unref() local
29 func_name); in expect_not_called_net_buf_unref()
34 const char *func_name = "net_buf_simple_add"; in expect_single_call_net_buf_simple_add() local
37 func_name); 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()
47 const char *func_name = "net_buf_simple_add"; in expect_not_called_net_buf_simple_add() local
[all …]
Dadv_expects.c14 const char *func_name = "bt_le_adv_lookup_legacy"; in expect_single_call_bt_le_adv_lookup_legacy() local
17 "'%s()' was called more than once", func_name); in expect_single_call_bt_le_adv_lookup_legacy()
22 const char *func_name = "bt_le_adv_lookup_legacy"; in expect_not_called_bt_le_adv_lookup_legacy() local
25 func_name); in expect_not_called_bt_le_adv_lookup_legacy()
30 const char *func_name = "bt_le_ext_adv_foreach"; in expect_single_call_bt_le_ext_adv_foreach() local
33 func_name); in expect_single_call_bt_le_ext_adv_foreach()
36 "'%s()' was called with incorrect '%s' value", func_name, "func"); in expect_single_call_bt_le_ext_adv_foreach()
41 const char *func_name = "bt_le_ext_adv_foreach"; in expect_not_called_bt_le_ext_adv_foreach() local
44 func_name); in expect_not_called_bt_le_ext_adv_foreach()
Dsettings_expects.c14 const char *func_name = "bt_settings_store_id"; in expect_single_call_bt_settings_store_id() local
17 func_name); in expect_single_call_bt_settings_store_id()
22 const char *func_name = "bt_settings_store_id"; in expect_not_called_bt_settings_store_id() local
25 func_name); in expect_not_called_bt_settings_store_id()
30 const char *func_name = "bt_settings_store_irk"; in expect_single_call_bt_settings_store_irk() local
33 func_name); in expect_single_call_bt_settings_store_irk()
38 const char *func_name = "bt_settings_store_irk"; in expect_not_called_bt_settings_store_irk() local
41 func_name); in expect_not_called_bt_settings_store_irk()
Drpa_expects.c14 const char *func_name = "bt_rpa_create"; in expect_single_call_bt_rpa_create() local
17 func_name); in expect_single_call_bt_rpa_create()
19 "'%s()' was called with incorrect '%s' value", func_name, "irk"); in expect_single_call_bt_rpa_create()
21 func_name, "rpa"); in expect_single_call_bt_rpa_create()
26 const char *func_name = "bt_rpa_create"; in expect_not_called_bt_rpa_create() local
29 func_name); in expect_not_called_bt_rpa_create()
Dcrypto_expects.c14 const char *func_name = "bt_rand"; in expect_single_call_bt_rand() local
16 zassert_equal(bt_rand_fake.call_count, 1, "'%s()' was called more than once", func_name); in expect_single_call_bt_rand()
19 func_name, "buf"); in expect_single_call_bt_rand()
21 func_name, "len"); in expect_single_call_bt_rand()
26 const char *func_name = "bt_rand"; in expect_not_called_bt_rand() local
28 zassert_equal(bt_rand_fake.call_count, 0, "'%s()' was called unexpectedly", func_name); in expect_not_called_bt_rand()
Daddr_expects.c14 const char *func_name = "bt_addr_le_create_static"; in expect_call_count_bt_addr_le_create_static() local
17 "'%s()' was called more than once", func_name); in expect_call_count_bt_addr_le_create_static()
20 "'%s()' was called with incorrect '%s' value", func_name, "buf"); in expect_call_count_bt_addr_le_create_static()
25 const char *func_name = "bt_addr_le_create_static"; in expect_not_called_bt_addr_le_create_static() local
28 func_name); in expect_not_called_bt_addr_le_create_static()
Dscan_expects.c14 const char *func_name = "bt_le_scan_set_enable"; in expect_call_count_bt_le_scan_set_enable() local
17 "'%s()' was called more than once", func_name); in expect_call_count_bt_le_scan_set_enable()
21 "'%s()' was called with incorrect '%s' value", func_name, "enable"); in expect_call_count_bt_le_scan_set_enable()
27 const char *func_name = "bt_le_scan_set_enable"; in expect_not_called_bt_le_scan_set_enable() local
30 func_name); in expect_not_called_bt_le_scan_set_enable()
/Zephyr-Core-3.5.0/tests/bluetooth/host/buf/mocks/
Dnet_buf_expects.c14 const char *func_name = "net_buf_alloc_fixed"; in expect_single_call_net_buf_alloc() local
17 func_name); 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()
28 const char *func_name = "net_buf_alloc_fixed"; in expect_not_called_net_buf_alloc() local
31 func_name); in expect_not_called_net_buf_alloc()
36 const char *func_name = "net_buf_simple_reserve"; in expect_single_call_net_buf_reserve() local
39 func_name); 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()
[all …]
/Zephyr-Core-3.5.0/tests/bluetooth/host/keys/mocks/
Dsettings_expects.c14 const char *func_name = "bt_settings_encode_key"; in expect_single_call_bt_settings_encode_key_with_not_null_key() local
17 func_name); 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()
32 const char *func_name = "bt_settings_encode_key"; in expect_single_call_bt_settings_encode_key_with_null_key() local
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()
[all …]
Dsettings_store_expects.c15 const char *func_name = "bt_settings_delete_keys"; in expect_single_call_bt_settings_delete_keys() local
18 "'%s()' was called more than once", func_name); in expect_single_call_bt_settings_delete_keys()
23 const char *func_name = "bt_settings_store_keys"; in expect_single_call_bt_settings_store_keys() local
26 func_name); in expect_single_call_bt_settings_store_keys()
29 "'%s()' was called with incorrect '%s' value", func_name, "value"); in expect_single_call_bt_settings_store_keys()
31 "'%s()' was called with incorrect '%s' value", func_name, "val_len"); in expect_single_call_bt_settings_store_keys()
36 const char *func_name = "bt_settings_store_keys"; in expect_not_called_bt_settings_store_keys() local
39 func_name); in expect_not_called_bt_settings_store_keys()
Dutil_expects.c14 const char *func_name = "u8_to_dec"; in expect_single_call_u8_to_dec() local
17 func_name); in expect_single_call_u8_to_dec()
20 func_name, "buf"); in expect_single_call_u8_to_dec()
22 func_name, "buflen"); in expect_single_call_u8_to_dec()
24 func_name, "value"); in expect_single_call_u8_to_dec()
29 const char *func_name = "u8_to_dec"; in expect_not_called_u8_to_dec() local
32 func_name); in expect_not_called_u8_to_dec()
Dhci_core_expects.c14 const char *func_name = "bt_unpair"; in expect_single_call_bt_unpair() local
17 func_name); in expect_single_call_bt_unpair()
20 "'%s()' was called with incorrect '%s' value", func_name, "id"); in expect_single_call_bt_unpair()
22 "'%s()' was called with incorrect '%s' value", func_name, "addr"); in expect_single_call_bt_unpair()
27 const char *func_name = "bt_unpair"; in expect_not_called_bt_unpair() local
30 func_name); in expect_not_called_bt_unpair()
Did_expects.c14 const char *func_name = "bt_id_del"; in expect_single_call_bt_id_del() local
17 func_name); in expect_single_call_bt_id_del()
20 "'%s()' was called with incorrect '%s' value", func_name, "keys"); in expect_single_call_bt_id_del()
25 const char *func_name = "bt_id_del"; in expect_not_called_bt_id_del() local
28 func_name); in expect_not_called_bt_id_del()
/Zephyr-Core-3.5.0/tests/bluetooth/host/crypto/mocks/
Dhmac_prng_expects.c13 const char *func_name = "tc_hmac_prng_init"; in expect_single_call_tc_hmac_prng_init() local
16 func_name); 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()
29 const char *func_name = "tc_hmac_prng_reseed"; in expect_single_call_tc_hmac_prng_reseed() local
32 func_name); 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()
[all …]
Dhci_core_expects.c13 const char *func_name = "bt_hci_le_rand"; in expect_call_count_bt_hci_le_rand() local
16 "'%s()' was called more than once", func_name); in expect_call_count_bt_hci_le_rand()
20 "'%s()' was called with incorrect '%s' value", func_name, in expect_call_count_bt_hci_le_rand()
23 "'%s()' was called with incorrect '%s' value", func_name, "len"); in expect_call_count_bt_hci_le_rand()
29 const char *func_name = "bt_hci_le_rand"; in expect_not_called_bt_hci_le_rand() local
32 func_name); in expect_not_called_bt_hci_le_rand()
Daes_expects.c13 const char *func_name = "tc_aes_encrypt"; in expect_single_call_tc_aes_encrypt() local
16 func_name); in expect_single_call_tc_aes_encrypt()
19 "'%s()' was called with incorrect '%s' value", func_name, "out"); in expect_single_call_tc_aes_encrypt()
21 "'%s()' was called with incorrect '%s' value", func_name, "in"); in expect_single_call_tc_aes_encrypt()
23 "'%s()' was called with incorrect '%s' value", func_name, "s"); in expect_single_call_tc_aes_encrypt()
/Zephyr-Core-3.5.0/tests/bluetooth/host/ecc/mocks/
Dhci_core_expects.c15 const char *func_name = "bt_hci_cmd_create"; in expect_single_call_bt_hci_cmd_create() local
18 func_name); 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()
28 const char *func_name = "bt_hci_cmd_create"; in expect_not_called_bt_hci_cmd_create() local
31 func_name); in expect_not_called_bt_hci_cmd_create()
36 const char *func_name = "bt_hci_cmd_send_sync"; in expect_single_call_bt_hci_cmd_send_sync() local
39 func_name); 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()
47 const char *func_name = "bt_hci_cmd_send_sync"; in expect_not_called_bt_hci_cmd_send_sync() local
[all …]
Dnet_buf_expects.c15 const char *func_name = "net_buf_simple_add"; in expect_single_call_net_buf_simple_add() local
18 func_name); in expect_single_call_net_buf_simple_add()
21 "'%s()' was called with incorrect '%s' value", func_name, "buf"); in expect_single_call_net_buf_simple_add()
23 "'%s()' was called with incorrect '%s' value", func_name, "len"); in expect_single_call_net_buf_simple_add()
28 const char *func_name = "net_buf_simple_add"; in expect_not_called_net_buf_simple_add() local
31 func_name); in expect_not_called_net_buf_simple_add()

12