/Zephyr-Core-3.6.0/tests/net/lib/lwm2m/lwm2m_engine/src/ |
D | stubs.c | 12 DEFINE_FAKE_VALUE_FUNC(int, lwm2m_rd_client_pause); 13 DEFINE_FAKE_VALUE_FUNC(int, lwm2m_rd_client_resume); 14 DEFINE_FAKE_VALUE_FUNC(struct lwm2m_message *, find_msg, struct coap_pending *, 18 DEFINE_FAKE_VALUE_FUNC(int, lwm2m_send_message_async, struct lwm2m_message *); 21 DEFINE_FAKE_VALUE_FUNC(bool, coap_pending_cycle, struct coap_pending *); 22 DEFINE_FAKE_VALUE_FUNC(size_t, coap_pendings_count, struct coap_pending *, size_t); 23 DEFINE_FAKE_VALUE_FUNC(int, generate_notify_message, struct lwm2m_ctx *, struct observe_node *, 25 DEFINE_FAKE_VALUE_FUNC(int64_t, engine_observe_shedule_next_event, struct observe_node *, uint16_t, 27 DEFINE_FAKE_VALUE_FUNC(int, handle_request, struct coap_packet *, struct lwm2m_message *); 30 DEFINE_FAKE_VALUE_FUNC(bool, lwm2m_rd_client_is_registred, struct lwm2m_ctx *); [all …]
|
/Zephyr-Core-3.6.0/drivers/regulator/ |
D | regulator_fake.c | 24 DEFINE_FAKE_VALUE_FUNC(int, regulator_fake_enable, const struct device *); 25 DEFINE_FAKE_VALUE_FUNC(int, regulator_fake_disable, const struct device *); 26 DEFINE_FAKE_VALUE_FUNC(unsigned int, regulator_fake_count_voltages, 28 DEFINE_FAKE_VALUE_FUNC(int, regulator_fake_list_voltage, const struct device *, 30 DEFINE_FAKE_VALUE_FUNC(int, regulator_fake_set_voltage, const struct device *, 32 DEFINE_FAKE_VALUE_FUNC(int, regulator_fake_get_voltage, const struct device *, 34 DEFINE_FAKE_VALUE_FUNC(int, regulator_fake_set_current_limit, 36 DEFINE_FAKE_VALUE_FUNC(int, regulator_fake_get_current_limit, 38 DEFINE_FAKE_VALUE_FUNC(int, regulator_fake_set_mode, const struct device *, 40 DEFINE_FAKE_VALUE_FUNC(int, regulator_fake_get_mode, const struct device *, [all …]
|
/Zephyr-Core-3.6.0/tests/net/lib/lwm2m/lwm2m_rd_client/src/ |
D | stubs.c | 14 DEFINE_FAKE_VALUE_FUNC(uint8_t, coap_header_get_code, const struct coap_packet *); 32 DEFINE_FAKE_VALUE_FUNC(int, coap_append_option_int, struct coap_packet *, uint16_t, unsigned int); 33 DEFINE_FAKE_VALUE_FUNC(int, coap_packet_append_option, struct coap_packet *, uint16_t, 41 DEFINE_FAKE_VALUE_FUNC(int, coap_packet_append_payload_marker, struct coap_packet *); 42 DEFINE_FAKE_VALUE_FUNC(int, coap_find_options, const struct coap_packet *, uint16_t, 57 DEFINE_FAKE_VALUE_FUNC(uint16_t, coap_next_id); 60 DEFINE_FAKE_VALUE_FUNC(int, lwm2m_engine_start, struct lwm2m_ctx *); 61 DEFINE_FAKE_VALUE_FUNC(int, lwm2m_engine_stop, struct lwm2m_ctx *); 62 DEFINE_FAKE_VALUE_FUNC(int, lwm2m_open_socket, struct lwm2m_ctx *); 63 DEFINE_FAKE_VALUE_FUNC(int, lwm2m_get_u32, const struct lwm2m_obj_path *, uint32_t *); [all …]
|
/Zephyr-Core-3.6.0/tests/bluetooth/audio/mocks/src/ |
D | bap_unicast_server.c | 33 DEFINE_FAKE_VALUE_FUNC(int, mock_bap_unicast_server_cb_config, struct bt_conn *, 37 DEFINE_FAKE_VALUE_FUNC(int, mock_bap_unicast_server_cb_reconfig, struct bt_bap_stream *, 40 DEFINE_FAKE_VALUE_FUNC(int, mock_bap_unicast_server_cb_qos, struct bt_bap_stream *, 42 DEFINE_FAKE_VALUE_FUNC(int, mock_bap_unicast_server_cb_enable, struct bt_bap_stream *, 44 DEFINE_FAKE_VALUE_FUNC(int, mock_bap_unicast_server_cb_start, struct bt_bap_stream *, 46 DEFINE_FAKE_VALUE_FUNC(int, mock_bap_unicast_server_cb_metadata, struct bt_bap_stream *, 48 DEFINE_FAKE_VALUE_FUNC(int, mock_bap_unicast_server_cb_disable, struct bt_bap_stream *, 50 DEFINE_FAKE_VALUE_FUNC(int, mock_bap_unicast_server_cb_stop, struct bt_bap_stream *, 52 DEFINE_FAKE_VALUE_FUNC(int, mock_bap_unicast_server_cb_release, struct bt_bap_stream *,
|
D | kernel.c | 22 DEFINE_FAKE_VALUE_FUNC(k_ticks_t, z_timeout_remaining, const struct _timeout *); 23 DEFINE_FAKE_VALUE_FUNC(bool, k_work_cancel_delayable_sync, struct k_work_delayable *, 25 DEFINE_FAKE_VALUE_FUNC(int, k_sem_take, struct k_sem *, k_timeout_t);
|
D | crypto.c | 10 DEFINE_FAKE_VALUE_FUNC(int, bt_rand, void *, size_t);
|
/Zephyr-Core-3.6.0/drivers/rtc/ |
D | rtc_fake.c | 18 DEFINE_FAKE_VALUE_FUNC(int, rtc_fake_set_time, const struct device *, const struct rtc_time *); 19 DEFINE_FAKE_VALUE_FUNC(int, rtc_fake_get_time, const struct device *, struct rtc_time *); 22 DEFINE_FAKE_VALUE_FUNC(int, rtc_fake_alarm_get_supported_fields, const struct device *, uint16_t, 24 DEFINE_FAKE_VALUE_FUNC(int, rtc_fake_alarm_set_time, const struct device *, uint16_t, uint16_t, 26 DEFINE_FAKE_VALUE_FUNC(int, rtc_fake_alarm_get_time, const struct device *, uint16_t, uint16_t, 28 DEFINE_FAKE_VALUE_FUNC(int, rtc_fake_alarm_is_pending, const struct device *, uint16_t); 29 DEFINE_FAKE_VALUE_FUNC(int, rtc_fake_alarm_set_callback, const struct device *uint16_t, 34 DEFINE_FAKE_VALUE_FUNC(int, rtc_fake_update_set_callback, const struct device *rtc_alarm_callback, 39 DEFINE_FAKE_VALUE_FUNC(int, rtc_fake_set_calibration, const struct device *, int32_t); 40 DEFINE_FAKE_VALUE_FUNC(int, rtc_fake_get_calibration, const struct device *, int32_t *);
|
/Zephyr-Core-3.6.0/tests/bluetooth/host/id/mocks/ |
D | adv.c | 11 DEFINE_FAKE_VALUE_FUNC(int, bt_le_adv_set_enable, struct bt_le_ext_adv *, bool); 12 DEFINE_FAKE_VALUE_FUNC(struct bt_le_ext_adv *, bt_le_adv_lookup_legacy); 13 DEFINE_FAKE_VALUE_FUNC(uint8_t, bt_le_ext_adv_get_index, struct bt_le_ext_adv *); 14 DEFINE_FAKE_VALUE_FUNC(int, bt_le_adv_set_enable_legacy, struct bt_le_ext_adv *, bool); 15 DEFINE_FAKE_VALUE_FUNC(int, bt_le_adv_set_enable_ext, struct bt_le_ext_adv *, bool,
|
D | smp.c | 11 DEFINE_FAKE_VALUE_FUNC(int, bt_smp_irk_get, uint8_t *, uint8_t *); 12 DEFINE_FAKE_VALUE_FUNC(int, bt_smp_le_oob_set_tk, struct bt_conn *, const uint8_t *); 13 DEFINE_FAKE_VALUE_FUNC(int, bt_smp_le_oob_generate_sc_data, struct bt_le_oob_sc_data *); 14 DEFINE_FAKE_VALUE_FUNC(int, bt_smp_le_oob_set_sc_data, struct bt_conn *, 16 DEFINE_FAKE_VALUE_FUNC(int, bt_smp_le_oob_get_sc_data, struct bt_conn *,
|
D | kernel.c | 11 DEFINE_FAKE_VALUE_FUNC(k_ticks_t, z_timeout_remaining, const struct _timeout *); 12 DEFINE_FAKE_VALUE_FUNC(int, k_work_schedule, struct k_work_delayable *, k_timeout_t); 13 DEFINE_FAKE_VALUE_FUNC(bool, k_work_cancel_delayable_sync, struct k_work_delayable *, 16 DEFINE_FAKE_VALUE_FUNC(int, k_work_submit, struct k_work *);
|
D | net_buf.c | 14 DEFINE_FAKE_VALUE_FUNC(void *, net_buf_simple_add, struct net_buf_simple *, size_t); 15 DEFINE_FAKE_VALUE_FUNC(uint8_t *, net_buf_simple_add_u8, struct net_buf_simple *, uint8_t); 16 DEFINE_FAKE_VALUE_FUNC(void *, net_buf_simple_add_mem, struct net_buf_simple *, const void *,
|
D | hci_core.c | 18 DEFINE_FAKE_VALUE_FUNC(int, bt_unpair, uint8_t, const bt_addr_le_t *); 19 DEFINE_FAKE_VALUE_FUNC(struct net_buf *, bt_hci_cmd_create, uint16_t, uint8_t); 20 DEFINE_FAKE_VALUE_FUNC(int, bt_hci_cmd_send_sync, uint16_t, struct net_buf *, struct net_buf **);
|
D | conn.c | 12 DEFINE_FAKE_VALUE_FUNC(int, bt_le_create_conn_cancel); 13 DEFINE_FAKE_VALUE_FUNC(struct bt_conn *, bt_conn_lookup_state_le, uint8_t, const bt_addr_le_t *,
|
D | addr.c | 11 DEFINE_FAKE_VALUE_FUNC(int, bt_addr_le_create_static, bt_addr_le_t *);
|
/Zephyr-Core-3.6.0/drivers/can/ |
D | can_fake.c | 26 DEFINE_FAKE_VALUE_FUNC(int, fake_can_start, const struct device *); 28 DEFINE_FAKE_VALUE_FUNC(int, fake_can_stop, const struct device *); 30 DEFINE_FAKE_VALUE_FUNC(int, fake_can_set_timing, const struct device *, const struct can_timing *); 32 DEFINE_FAKE_VALUE_FUNC(int, fake_can_set_timing_data, const struct device *, 35 DEFINE_FAKE_VALUE_FUNC(int, fake_can_get_capabilities, const struct device *, can_mode_t *); 37 DEFINE_FAKE_VALUE_FUNC(int, fake_can_set_mode, const struct device *, can_mode_t); 39 DEFINE_FAKE_VALUE_FUNC(int, fake_can_send, const struct device *, const struct can_frame *, 42 DEFINE_FAKE_VALUE_FUNC(int, fake_can_add_rx_filter, const struct device *, can_rx_callback_t, 47 DEFINE_FAKE_VALUE_FUNC(int, fake_can_recover, const struct device *, k_timeout_t); 49 DEFINE_FAKE_VALUE_FUNC(int, fake_can_get_state, const struct device *, enum can_state *, [all …]
|
/Zephyr-Core-3.6.0/tests/bluetooth/host/crypto/mocks/ |
D | hmac_prng.c | 10 DEFINE_FAKE_VALUE_FUNC(int, tc_hmac_prng_init, TCHmacPrng_t, const uint8_t *, unsigned int); 11 DEFINE_FAKE_VALUE_FUNC(int, tc_hmac_prng_reseed, TCHmacPrng_t, const uint8_t *, unsigned int, 13 DEFINE_FAKE_VALUE_FUNC(int, tc_hmac_prng_generate, uint8_t *, unsigned int, TCHmacPrng_t);
|
D | aes.c | 10 DEFINE_FAKE_VALUE_FUNC(int, tc_aes_encrypt, uint8_t *, const uint8_t *, const TCAesKeySched_t); 11 DEFINE_FAKE_VALUE_FUNC(int, tc_aes128_set_encrypt_key, TCAesKeySched_t, const uint8_t *);
|
D | kernel.c | 10 DEFINE_FAKE_VALUE_FUNC(int64_t, k_uptime_ticks);
|
/Zephyr-Core-3.6.0/tests/net/lib/coap_client/src/ |
D | stubs.c | 12 DEFINE_FAKE_VALUE_FUNC(uint32_t, z_impl_sys_rand32_get); 14 DEFINE_FAKE_VALUE_FUNC(ssize_t, z_impl_zsock_recvfrom, int, void *, size_t, int, struct sockaddr *, 16 DEFINE_FAKE_VALUE_FUNC(ssize_t, z_impl_zsock_sendto, int, void*, size_t, int,
|
/Zephyr-Core-3.6.0/tests/subsys/testsuite/fff_fake_contexts/src/fakes/ |
D | called_API.c | 11 DEFINE_FAKE_VALUE_FUNC(int, called_API_open, const struct called_API_info **); 12 DEFINE_FAKE_VALUE_FUNC(int, called_API_close, const struct called_API_info *);
|
/Zephyr-Core-3.6.0/tests/bluetooth/host/keys/mocks/ |
D | settings_store.c | 10 DEFINE_FAKE_VALUE_FUNC(int, bt_settings_store_keys, uint8_t, struct bt_addr_le_t *, const void *, 12 DEFINE_FAKE_VALUE_FUNC(int, bt_settings_delete_keys, uint8_t, struct bt_addr_le_t *);
|
D | settings.c | 12 DEFINE_FAKE_VALUE_FUNC(int, bt_settings_decode_key, const char *, bt_addr_le_t *); 13 DEFINE_FAKE_VALUE_FUNC(int, settings_name_next, const char *, const char **);
|
/Zephyr-Core-3.6.0/tests/bluetooth/host/ecc/mocks/ |
D | hci_core.c | 18 DEFINE_FAKE_VALUE_FUNC(struct net_buf *, bt_hci_cmd_create, uint16_t, uint8_t); 19 DEFINE_FAKE_VALUE_FUNC(int, bt_hci_cmd_send_sync, uint16_t, struct net_buf *, struct net_buf **);
|
/Zephyr-Core-3.6.0/drivers/eeprom/ |
D | eeprom_fake.c | 22 DEFINE_FAKE_VALUE_FUNC(int, fake_eeprom_read, const struct device *, off_t, void *, size_t); 24 DEFINE_FAKE_VALUE_FUNC(int, fake_eeprom_write, const struct device *, off_t, const void *, size_t); 26 DEFINE_FAKE_VALUE_FUNC(size_t, fake_eeprom_size, const struct device *);
|
/Zephyr-Core-3.6.0/tests/bluetooth/host/buf/mocks/ |
D | net_buf.c | 29 DEFINE_FAKE_VALUE_FUNC(struct net_buf *, net_buf_alloc_fixed, struct net_buf_pool *, k_timeout_t); 31 DEFINE_FAKE_VALUE_FUNC(struct net_buf *, net_buf_ref, struct net_buf *);
|