/packages/modules/Bluetooth/system/test/mock/ |
D | mock_stack_smp_act.h | 57 void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); }; in operator() function 66 void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); }; in operator() function 75 void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); }; in operator() function 84 void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); }; in operator() function 93 void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); }; in operator() function 102 void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); }; in operator() function 111 void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); }; in operator() function 120 void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); }; in operator() function 129 void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); }; in operator() function 138 void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); }; in operator() function [all …]
|
D | mock_stack_acl.h | 62 bool operator()(const RawAddress& bd_addr) { return body(bd_addr); }; in operator() function 72 bool operator()(const RawAddress& x) { return body(x); }; in operator() function 83 bool operator()(const RawAddress& remote_bda, tBT_TRANSPORT transport) { in operator() function 96 bool operator()(const RawAddress& remote_bda, tBT_TRANSPORT transport) { in operator() function 108 bool operator()(uint16_t hci_handle) { return body(hci_handle); }; in operator() function 117 bool operator()(uint16_t hci_handle) { return body(hci_handle); }; in operator() function 128 bool operator()(const RawAddress& remote_bda, tBT_TRANSPORT transport) { in operator() function 142 bool operator()(const RawAddress& pseudo_addr, RawAddress& conn_addr, in operator() function 158 bool operator()(const RawAddress& addr, uint8_t* lmp_version, in operator() function 170 bool operator()(const RawAddress& peer_addr) { return body(peer_addr); }; in operator() function [all …]
|
D | mock_stack_hcic_hcicmds.h | 66 void operator()(const RawAddress& dest, uint8_t role) { body(dest, role); }; in operator() function 83 void operator()(const RawAddress& bd_addr, uint32_t transmit_bandwidth, in operator() function 99 void operator()(uint16_t handle, uint16_t packet_types) { in operator() function 110 void operator()(uint16_t handle) { body(handle); }; in operator() function 120 void operator()(uint16_t handle, uint16_t packet_types) { in operator() function 131 void operator()(BD_NAME name) { body(name); }; in operator() function 146 void operator()(const RawAddress& dest, uint16_t packet_types, in operator() function 161 void operator()(const RawAddress& dest) { body(dest); }; in operator() function 171 void operator()(const RawAddress& bd_addr, bool delete_all_flag) { in operator() function 182 void operator()(void) { body(); }; in operator() function [all …]
|
D | mock_bta_dm_act.h | 74 bool operator()(bt_scan_mode_t mode) { return body(mode); }; in operator() function 84 void operator()(const RawAddress bd_addr, tBT_TRANSPORT transport) { in operator() function 96 void operator()(const RawAddress bd_addr, tBT_TRANSPORT transport) { in operator() function 108 void operator()(const RawAddress bd_addr) { body(bd_addr); }; in operator() function 118 void operator()() { body(); }; in operator() function 127 void operator()() { body(); }; in operator() function 139 void operator()(const RawAddress bd_addr, tHCI_ROLE new_role, in operator() function 152 void operator()(const RawAddress& bd_addr, tBT_TRANSPORT transport) { in operator() function 166 void operator()(const RawAddress& bd_addr, tBLE_ADDR_TYPE addr_type, in operator() function 181 void operator()(const RawAddress& bd_addr, tBTA_LE_KEY_VALUE blekey, in operator() function [all …]
|
D | mock_stack_hcic_hciblecmds.h | 69 void operator()(uint8_t adv_addr_type, const RawAddress& adv_addr, in operator() function 84 void operator()(base::OnceCallback<void(uint8_t*, uint16_t)> cb) { in operator() function 97 void operator()(base::OnceCallback<void(uint8_t*, uint16_t)> cb) { in operator() function 113 void operator()(uint8_t adv_addr_type, const RawAddress& adv_addr, in operator() function 127 void operator()(uint16_t conn_handle) { body(conn_handle); }; in operator() function 141 void operator()(uint8_t big_handle, uint16_t sync_handle, uint8_t enc, in operator() function 156 void operator()(uint8_t big_handle, in operator() function 171 void operator()(uint8_t addr_type, const RawAddress& bda, in operator() function 186 void operator()(uint8_t addr_type_peer, const RawAddress& bda_peer, in operator() function 200 void operator()(base::OnceCallback<void(uint8_t*, uint16_t)> cb) { in operator() function [all …]
|
D | mock_main_shim_l2cap_api.h | 79 bool operator()(const RawAddress& addr, uint8_t* lmp_version, in operator() function 91 uint8_t* operator()(const RawAddress& addr) { return body(addr); }; in operator() function 99 void operator()() { body(); }; in operator() function 114 uint16_t operator()(uint16_t client_psm, const tL2CAP_APPL_INFO& callbacks, in operator() function 128 void operator()(uint16_t psm) { body(psm); }; in operator() function 137 uint16_t operator()(uint16_t psm, const RawAddress& raw_address) { in operator() function 147 bool operator()(uint16_t cid) { return body(cid); }; in operator() function 156 uint8_t operator()(uint16_t cid, BT_HDR* p_data) { in operator() function 169 bool operator()(const RawAddress& bd_addr, std::vector<uint16_t>& lcids, in operator() function 184 std::vector<uint16_t> operator()(uint16_t psm, const RawAddress& p_bd_addr, in operator() function [all …]
|
D | mock_stack_l2cap_api.h | 69 tBT_TRANSPORT operator()(uint16_t fixed_cid) { return body(fixed_cid); }; in operator() function 84 uint16_t operator()(uint16_t psm, const tL2CAP_APPL_INFO& p_cb_info, in operator() function 105 uint16_t operator()(uint16_t psm, const tL2CAP_APPL_INFO& p_cb_info, in operator() function 119 void operator()(uint16_t psm) { body(psm); }; in operator() function 127 uint16_t operator()(void) { return body(); }; in operator() function 135 void operator()(uint16_t psm) { body(psm); }; in operator() function 147 uint16_t operator()(uint16_t psm, const RawAddress& p_bd_addr, in operator() function 159 uint16_t operator()(uint16_t psm, const RawAddress& p_bd_addr) { in operator() function 172 uint16_t operator()(uint16_t psm, const tL2CAP_APPL_INFO& p_cb_info, in operator() function 183 void operator()(uint16_t psm) { body(psm); }; in operator() function [all …]
|
D | mock_bta_dm_api.h | 66 void operator()(const RawAddress& bd_addr, tBLE_ADDR_TYPE addr_type, in operator() function 81 void operator()(const RawAddress& bd_addr, tBTA_LE_KEY_VALUE* p_le_key, in operator() function 98 void operator()(const RawAddress& bd_addr, DEV_CLASS dev_class, in operator() function 111 void operator()(bool privacy_enable) { body(privacy_enable); }; in operator() function 121 void operator()(const RawAddress& bd_addr, bool accept) { in operator() function 133 void operator()(bool observe, tBTA_DM_SEARCH_CBACK* p_results_cb) { in operator() function 145 void operator()(tBTA_BLE_ENERGY_INFO_CBACK* p_cmpl_cback) { in operator() function 159 void operator()(bool start, uint8_t duration, in operator() function 172 void operator()(const RawAddress& bd_addr, bool accept, uint32_t passkey) { in operator() function 184 void operator()(const RawAddress& remote_device) { body(remote_device); }; in operator() function [all …]
|
D | mock_stack_l2cap_ble.h | 64 bool operator()(const RawAddress& rem_bda, uint16_t min_int, uint16_t max_int, in operator() function 78 bool operator()(const RawAddress& rem_bda, bool enable) { in operator() function 89 hci_role_t operator()(const RawAddress& bd_addr) { return body(bd_addr); }; in operator() function 97 void operator()(const RawAddress& bda) { body(bda); }; in operator() function 111 bool operator()(uint16_t handle, uint8_t role, const RawAddress& bda, in operator() function 130 bool operator()(uint16_t handle, uint8_t role, in operator() function 147 void operator()(uint16_t handle, uint8_t status, uint16_t interval, in operator() function 159 void operator()(tL2C_LCB* p_lcb, uint8_t* p, uint16_t pkt_len) { in operator() function 170 bool operator()(tL2C_LCB* p_lcb) { return body(p_lcb); }; in operator() function 179 void operator()(uint16_t num_lm_ble_bufs) { body(num_lm_ble_bufs); }; in operator() function [all …]
|
D | mock_osi_config.h | 70 std::string operator()(const char* filename) { return body(filename); }; in operator() function 83 bool operator()(const std::string& checksum, const std::string& filename) { in operator() function 99 bool operator()(const config_t& config, const std::string& section, in operator() function 116 int operator()(const config_t& config, const std::string& section, in operator() function 134 const std::string* operator()(const config_t& config, in operator() function 153 uint64_t operator()(const config_t& config, const std::string& section, in operator() function 169 bool operator()(const config_t& config, const std::string& section, in operator() function 185 bool operator()(const config_t& config, const std::string& section) { in operator() function 197 std::unique_ptr<config_t> operator()(const char* filename) { in operator() function 209 std::unique_ptr<config_t> operator()(const config_t& src) { in operator() function [all …]
|
D | mock_osi_list.h | 58 bool operator()(list_t* list, void* data) { return body(list, data); }; in operator() function 69 void* operator()(const list_t* list) { return body(list); }; in operator() function 80 list_node_t* operator()(const list_t* list) { return body(list); }; in operator() function 91 list_node_t* operator()(const list_t* list) { return body(list); }; in operator() function 100 void operator()(list_t* list) { body(list); }; in operator() function 111 bool operator()(const list_t* list, const void* data) { in operator() function 124 list_node_t* operator()(const list_t* list) { return body(list); }; in operator() function 138 list_node_t* operator()(const list_t* list, list_iter_cb callback, in operator() function 150 void operator()(list_t* list) { body(list); }; in operator() function 161 void* operator()(const list_t* list) { return body(list); }; in operator() function [all …]
|
D | mock_stack_sdp_api.h | 62 bool operator()(const tSDP_DISCOVERY_DB* p_db) { return body(p_db); }; in operator() function 73 bool operator()(const tSDP_DISC_REC* p_rec, uint16_t profile_uuid, in operator() function 87 bool operator()(const tSDP_DISC_REC* p_rec, uint16_t layer_uuid, in operator() function 101 bool operator()(const tSDP_DISC_REC* p_rec, bluetooth::Uuid* p_uuid) { in operator() function 114 bool operator()(const tSDP_DISC_REC* p_rec, bluetooth::Uuid* p_uuid) { in operator() function 130 bool operator()(tSDP_DISCOVERY_DB* p_db, uint32_t len, uint16_t num_uuid, in operator() function 145 bool operator()(const RawAddress& p_bd_addr, tSDP_DISCOVERY_DB* p_db, in operator() function 161 bool operator()(const RawAddress& p_bd_addr, tSDP_DISCOVERY_DB* p_db, in operator() function 176 bool operator()(const RawAddress& p_bd_addr, tSDP_DISCOVERY_DB* p_db, in operator() function 189 tSDP_DISC_ATTR* operator()(const tSDP_DISC_REC* p_rec, uint16_t attr_id) { in operator() function [all …]
|
D | mock_osi_fixed_queue.h | 64 size_t operator()(fixed_queue_t* queue) { return body(queue); }; in operator() function 75 void* operator()(fixed_queue_t* queue) { return body(queue); }; in operator() function 85 void operator()(fixed_queue_t* queue, void* data) { body(queue, data); }; in operator() function 95 void operator()(fixed_queue_t* queue, fixed_queue_free_cb free_cb) { in operator() function 107 void operator()(fixed_queue_t* queue, fixed_queue_free_cb free_cb) { in operator() function 120 int operator()(const fixed_queue_t* queue) { return body(queue); }; in operator() function 131 int operator()(const fixed_queue_t* queue) { return body(queue); }; in operator() function 142 list_t* operator()(fixed_queue_t* queue) { return body(queue); }; in operator() function 153 bool operator()(fixed_queue_t* queue) { return body(queue); }; in operator() function 164 size_t operator()(fixed_queue_t* queue) { return body(queue); }; in operator() function [all …]
|
D | mock_btif_config.h | 55 bool operator()(const std::string& section, const std::string& key) { in operator() function 69 bool operator()(const std::string& section, const std::string& key, in operator() function 84 bool operator()(const std::string& section, const std::string& key, in operator() function 98 bool operator()(const std::string& section, const std::string& key, in operator() function 112 bool operator()(const std::string& section, const std::string& key, in operator() function 126 bool operator()(const std::string& section, const std::string& key, in operator() function 140 bool operator()(const std::string& section, const std::string& key, in operator() function 154 bool operator()(const std::string& section, const std::string& key, in operator() function 167 size_t operator()(const std::string& section, const std::string& key) { in operator() function 180 bool operator()(const std::string& section, const std::string& key, in operator() function [all …]
|
D | mock_main_shim_acl_api.h | 71 bool operator()(const tBLE_BD_ADDR& legacy_address_with_type, in operator() function 86 void operator()(const tBLE_BD_ADDR& legacy_address_with_type, in operator() function 99 void operator()(const RawAddress& raw_address) { body(raw_address); }; in operator() function 108 void operator()() { body(); }; in operator() function 117 void operator()() { body(); }; in operator() function 127 void operator()(bool is_le_privacy_enabled) { body(is_le_privacy_enabled); }; in operator() function 137 void operator()(const RawAddress& raw_address) { body(raw_address); }; in operator() function 149 void operator()(uint16_t handle, bool is_classic, tHCI_STATUS reason, in operator() function 161 void operator()() { body(); }; in operator() function 171 void operator()(const tBLE_BD_ADDR& legacy_address_with_type) { in operator() function [all …]
|
D | mock_main_shim_metrics_api.h | 70 void operator()(const RawAddress* raw_address, uint32_t connection_handle, in operator() function 90 void operator()(const RawAddress& raw_address, in operator() function 109 void operator()(const RawAddress& raw_address, in operator() function 126 void operator()(const RawAddress& raw_address, int playback_state, in operator() function 140 void operator()(const RawAddress& raw_address, uint16_t handle, in operator() function 154 void operator()(const RawAddress& raw_address, uint16_t handle, in operator() function 169 void operator()(const RawAddress& raw_address, uint16_t handle, in operator() function 186 void operator()(const RawAddress& raw_address, uint16_t smp_cmd, in operator() function 204 void operator()(const RawAddress& raw_address, uint16_t handle, in operator() function 223 void operator()(const RawAddress& raw_address, uint16_t protocol_uuid, in operator() function [all …]
|
D | mock_stack_pan_api.h | 64 tPAN_RESULT operator()(const RawAddress& rem_bda, tPAN_ROLE src_role, in operator() function 76 tPAN_RESULT operator()(uint16_t handle) { return body(handle); }; in operator() function 88 tPAN_RESULT operator()(uint16_t handle, uint16_t num_mcast_filters, in operator() function 102 tPAN_RESULT operator()(uint16_t handle, uint16_t num_filters, in operator() function 117 tPAN_RESULT operator()(uint8_t role, std::string p_user_name, in operator() function 134 tPAN_RESULT operator()(uint16_t handle, const RawAddress& dst, in operator() function 151 tPAN_RESULT operator()(uint16_t handle, const RawAddress& dst, in operator() function 164 uint8_t operator()(uint8_t new_level) { return body(new_level); }; in operator() function 172 void operator()(void) { body(); }; in operator() function 180 void operator()(int fd) { body(fd); }; in operator() function [all …]
|
D | mock_btif_bluetooth.h | 104 bool operator()() { return body(); }; in operator() function 112 bool operator()() { return body(); }; in operator() function 120 bool operator()() { return body(); }; in operator() function 128 int operator()(uint8_t enable) { return body(enable); }; in operator() function 137 int operator()(uint16_t opcode, uint8_t* buf, uint8_t len) { in operator() function 147 int operator()() { return body(); }; in operator() function 157 int operator()(RawAddress* remote_addr) { return body(remote_addr); }; in operator() function 166 int operator()(RawAddress* remote_addr, bt_property_type_t type) { in operator() function 177 int operator()(RawAddress* remote_addr) { return body(remote_addr); }; in operator() function 186 int operator()(uint16_t opcode, uint8_t* buf, uint8_t len) { in operator() function [all …]
|
D | mock_osi_socket.h | 67 socket_t* operator()(const socket_t* socket) { return body(socket); }; in operator() function 78 ssize_t operator()(const socket_t* socket) { return body(socket); }; in operator() function 87 void operator()(socket_t* socket) { body(socket); }; in operator() function 98 bool operator()(const socket_t* socket, port_t port) { in operator() function 110 socket_t* operator()(void) { return body(); }; in operator() function 121 socket_t* operator()(int fd) { return body(fd); }; in operator() function 134 ssize_t operator()(const socket_t* socket, void* buf, size_t count) { in operator() function 148 void operator()(socket_t* socket, reactor_t* reactor, void* context, in operator() function 160 void operator()(socket_t* socket) { body(socket); }; in operator() function 173 ssize_t operator()(const socket_t* socket, const void* buf, size_t count) { in operator() function [all …]
|
D | mock_osi_thread.h | 70 void operator()(thread_t* thread) { body(thread); }; in operator() function 81 reactor_t* operator()(const thread_t* thread) { return body(thread); }; in operator() function 92 bool operator()(const thread_t* thread) { return body(thread); }; in operator() function 101 void operator()(thread_t* thread) { body(thread); }; in operator() function 112 const char* operator()(const thread_t* thread) { return body(thread); }; in operator() function 123 thread_t* operator()(const char* name) { return body(name); }; in operator() function 136 thread_t* operator()(const char* name, size_t work_queue_capacity) { in operator() function 151 bool operator()(thread_t* thread, thread_fn func, void* context) { in operator() function 164 bool operator()(thread_t* thread, int priority) { in operator() function 177 bool operator()(thread_t* thread, int priority) { in operator() function [all …]
|
D | mock_stack_btm_ble_privacy.h | 55 void operator()(uint8_t* p, uint16_t evt_len) { body(p, evt_len); }; in operator() function 65 void operator()(uint8_t* p, uint16_t evt_len) { body(p, evt_len); }; in operator() function 75 void operator()(uint8_t* p, uint16_t evt_len) { body(p, evt_len); }; in operator() function 85 void operator()(const uint8_t* p, uint16_t evt_len) { body(p, evt_len); }; in operator() function 95 tBTM_STATUS operator()(tBTM_SEC_DEV_REC* p_dev_rec) { in operator() function 106 void operator()(void) { body(); }; in operator() function 115 bool operator()(tBTM_SEC_DEV_REC* p_dev_rec) { return body(p_dev_rec); }; in operator() function 125 void operator()(const tBTM_SEC_DEV_REC& p_dev_rec) { body(p_dev_rec); }; in operator() function 134 void operator()(tBTM_SEC_DEV_REC* p_dev_rec) { body(p_dev_rec); }; in operator() function 143 void operator()(uint8_t rl_mask) { body(rl_mask); }; in operator() function [all …]
|
D | mock_stack_gatt_api.h | 75 tGATT_STATUS operator()(uint16_t conn_id, uint16_t mtu) { in operator() function 91 tGATT_STATUS operator()(uint16_t conn_id, tGATT_DISC_TYPE disc_type, in operator() function 105 tGATT_STATUS operator()(uint16_t conn_id, bool is_execute) { in operator() function 120 tGATT_STATUS operator()(uint16_t conn_id, tGATT_READ_TYPE type, in operator() function 134 tGATT_STATUS operator()(uint16_t conn_id, uint16_t cid) { in operator() function 150 tGATT_STATUS operator()(uint16_t conn_id, tGATT_WRITE_TYPE type, in operator() function 167 tGATT_STATUS operator()(tGATT_IF gatt_if, btgatt_db_element_t* service, in operator() function 183 bool operator()(tGATT_IF gatt_if, Uuid* p_svc_uuid, uint16_t svc_inst) { in operator() function 198 tGATT_STATUS operator()(uint16_t conn_id, uint16_t attr_handle, in operator() function 214 tGATT_STATUS operator()(uint16_t conn_id, uint16_t attr_handle, in operator() function [all …]
|
D | mock_bta_sys_main.h | 63 void operator()() { body(); }; in operator() function 72 void operator()(bool value) { body(value); }; in operator() function 81 void operator()(uint8_t id) { body(id); }; in operator() function 90 void operator()() { body(); }; in operator() function 99 void operator()(void) { body(); }; in operator() function 110 bool operator()(uint8_t id) { return body(id); }; in operator() function 120 void operator()(uint8_t id, const tBTA_SYS_REG* p_reg) { body(id, p_reg); }; in operator() function 129 void operator()(void* p_msg) { body(p_msg); }; in operator() function 139 void operator()(void* p_msg, const base::TimeDelta& delay) { in operator() function 153 void operator()(alarm_t* alarm, uint64_t interval_ms, uint16_t event, in operator() function
|
D | mock_osi_alarm.h | 75 void operator()(alarm_t* alarm) { body(alarm); }; in operator() function 84 void operator()(void) { body(); }; in operator() function 93 void operator()(int fd) { body(fd); }; in operator() function 102 void operator()(alarm_t* alarm) { body(alarm); }; in operator() function 113 uint64_t operator()(const alarm_t* alarm) { return body(alarm); }; in operator() function 124 bool operator()(const alarm_t* alarm) { return body(alarm); }; in operator() function 135 alarm_t* operator()(const char* name) { return body(name); }; in operator() function 146 alarm_t* operator()(const char* name) { return body(name); }; in operator() function 158 void operator()(alarm_t* alarm, uint64_t interval_ms, alarm_callback_t cb, in operator() function 173 void operator()(alarm_t* alarm, uint64_t interval_ms, alarm_callback_t cb, in operator() function
|
D | mock_bta_hh_utils.h | 69 void operator()(tBTA_HH_DEV_CB* p_cb, uint8_t handle, uint16_t attr_mask, in operator() function 84 void operator()(tBTA_HH_DEV_CB* p_cb) { body(p_cb); }; in operator() function 93 void operator()(tBTA_HH_STATUS status) { body(status); }; in operator() function 104 uint8_t operator()(uint8_t dev_handle) { return body(dev_handle); }; in operator() function 115 uint8_t operator()(const RawAddress& bda) { return body(bda); }; in operator() function 126 tBTA_HH_DEV_CB* operator()(const RawAddress& bda) { return body(bda); }; in operator() function 140 tBTA_HH_STATUS operator()(const RawAddress& bd_addr, uint16_t* p_max_ssr_lat, in operator() function 154 bool operator()(tBTA_HH_DEV_CB* p_cb, uint8_t sub_class) { in operator() function 165 void operator()(void) { body(); }; in operator() function 177 void operator()(tBTA_HH_DEV_CB* p_cb, uint16_t vendor_id, uint16_t product_id, in operator() function
|