Home
last modified time | relevance | path

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

12

/Zephyr-latest/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 …]
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-latest/tests/bluetooth/audio/ascs/include/
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 …]
/Zephyr-latest/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()
Dkernel_expects.c14 const char *func_name = "k_work_init_delayable"; in expect_single_call_k_work_init_delayable() local
17 func_name); in expect_single_call_k_work_init_delayable()
19 "'%s()' was called with incorrect '%s' value", func_name, "dwork"); in expect_single_call_k_work_init_delayable()
21 "'%s()' was called with incorrect '%s' value", func_name, "handler"); in expect_single_call_k_work_init_delayable()
/Zephyr-latest/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-latest/tests/bluetooth/host/crypto/mocks/
Daes_expects.c13 const char *func_name = "psa_cipher_encrypt"; in expect_single_call_psa_cipher_encrypt() local
16 func_name); in expect_single_call_psa_cipher_encrypt()
19 "'%s()' was called with incorrect '%s' value", func_name, "arg1"); in expect_single_call_psa_cipher_encrypt()
21 "'%s()' was called with incorrect '%s' value", func_name, "arg3"); in expect_single_call_psa_cipher_encrypt()
23 "'%s()' was called with incorrect '%s' value", func_name, "arg4"); in expect_single_call_psa_cipher_encrypt()
25 "'%s()' was called with incorrect '%s' value", func_name, "arg5"); in expect_single_call_psa_cipher_encrypt()
Dprng_expects.c13 const char *func_name = "psa_crypto_init"; in expect_single_call_tc_psa_crypto_init() local
16 func_name); in expect_single_call_tc_psa_crypto_init()
21 const char *func_name = "psa_generate_random"; in expect_single_call_psa_generate_random() local
24 "'%s()' was called more than once", func_name); in expect_single_call_psa_generate_random()
27 "'%s()' was called with incorrect '%s' value", func_name, "out"); in expect_single_call_psa_generate_random()
29 "'%s()' was called with incorrect '%s' value", func_name, "outlen"); in expect_single_call_psa_generate_random()
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()
/Zephyr-latest/tests/bluetooth/host/id/bt_setup_public_id_addr/src/
Dmain.c64 const char *func_name = "bt_hci_cmd_send_sync"; in bt_hci_cmd_send_sync_custom_fake() local
67 func_name, "opcode"); in bt_hci_cmd_send_sync_custom_fake()
68 zassert_is_null(buf, "'%s()' was called with incorrect '%s' value", func_name, "buf"); in bt_hci_cmd_send_sync_custom_fake()
69 zassert_not_null(rsp, "'%s()' was called with incorrect '%s' value", func_name, "rsp"); in bt_hci_cmd_send_sync_custom_fake()
/Zephyr-latest/scripts/build/
Dgen_syscalls.py231 def wrapper_defs(func_name, func_type, args, fn, userspace_only): argument
236 syscall_id = "K_SYSCALL_" + func_name.upper()
240 wrap += "extern %s z_impl_%s(%s);\n" % (func_type, func_name, decl_arglist)
244 wrap += "static inline %s %s(%s)\n" % (func_type, func_name, decl_arglist)
308 impl_call = "z_impl_%s(%s)" % (func_name, impl_arglist)
324 … wrap += syscall_tracer_with_return_template.format(func_type=func_type, func_name=func_name,
328 wrap += syscall_tracer_void_template.format(func_type=func_type, func_name=func_name,
342 def marshall_defs(func_name, func_type, args): argument
343 mrsh_name = "z_mrsh_" + func_name
357 mrsh = "extern %s z_vrfy_%s(%s);\n" % (func_type, func_name, decl_arglist)
[all …]

12