Home
last modified time | relevance | path

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

12345678910>>...56

/Zephyr-latest/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()
Drpa_expects.h10 * Validate expected behaviour when bt_rpa_create() is called
13 * - bt_rpa_create() to be called once with correct parameters
18 * Validate expected behaviour when bt_rpa_create() isn't called
21 * - bt_rpa_create() isn't called at all
Daddr_expects.h10 * Validate expected behaviour when bt_addr_le_create_static() is called
13 * - bt_addr_le_create_static() to be called once with correct parameters
18 * Validate expected behaviour when bt_addr_le_create_static() isn't called
21 * - bt_addr_le_create_static() isn't called at all
/Zephyr-latest/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
Did_expects.h10 * Validate expected behaviour when bt_id_del() is called
13 * - bt_id_del() to be called once with correct parameters
18 * Validate expected behaviour when bt_id_del() isn't called
21 * - bt_id_del() isn't called at all
/Zephyr-latest/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-latest/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-latest/drivers/usb/udc/
Dudc_dwc2.h17 /* Called at the beginning of udc_dwc2_init() */
19 /* Called on udc_dwc2_enable() before the controller is initialized */
21 /* Called on udc_dwc2_enable() after the controller is initialized */
23 /* Called at the end of udc_dwc2_disable() */
25 /* Called at the end of udc_dwc2_shutdown() */
27 /* Called at the end of IRQ handling */
29 /* Called on driver pre-init */
31 /* Called while waiting for bits that require PHY to be clocked */
33 /* Called after hibernation entry sequence */
35 /* Called before hibernation exit sequence */
/Zephyr-latest/tests/drivers/i2c/i2c_emul/src/
Dtest_forwarding_pio.cpp37 "Expected to be called %d times, got %d", expected_call_count, in ZTEST()
40 "Expected to be called %d times, got %d", expected_call_count, in ZTEST()
50 "Expected to be called %d times, got %d", expected_call_count, in ZTEST()
80 // Expect the read functions to be called N times in ZTEST()
82 "Expected to be called %d times, got %d", expected_call_count, in ZTEST()
85 "Expected to be called %d times, got %d", expected_call_count, in ZTEST()
100 "Expected to be called %d times, got %d", expected_call_count, in ZTEST()
113 zexpect_equal(1, target_write_requested_0_fake.call_count, "Was called %d times", in ZTEST()
115 zexpect_equal(0, target_write_received_0_fake.call_count, "Was called %d times", in ZTEST()
122 zexpect_equal(2, target_write_requested_0_fake.call_count, "Was called %d times", in ZTEST()
[all …]
/Zephyr-latest/soc/native/inf_clock/
Dposix_native_task.h19 * For native targets (POSIX arch based), 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
/Zephyr-latest/tests/bluetooth/audio/ascs/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-latest/tests/bluetooth/host/crypto/mocks/
Daes_expects.c15 zassert_equal(psa_cipher_encrypt_fake.call_count, 1, "'%s()' was called more than once", 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()

12345678910>>...56