| /packages/modules/Bluetooth/system/test/mock/ |
| 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_smp_act.h | 56 void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); }; in operator() function 65 void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); }; in operator() function 74 void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); }; in operator() function 83 void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); }; in operator() function 92 void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); }; in operator() function 101 void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); }; in operator() function 110 void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); }; in operator() function 119 void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); }; in operator() function 128 void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); }; in operator() function 137 void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); }; in operator() function [all …]
|
| D | mock_stack_hcic_hciblecmds.h | 68 void operator()(uint8_t adv_addr_type, const RawAddress& adv_addr, in operator() function 83 void operator()(base::OnceCallback<void(uint8_t*, uint16_t)> cb) { in operator() function 96 void operator()(base::OnceCallback<void(uint8_t*, uint16_t)> cb) { in operator() function 112 void operator()(uint8_t adv_addr_type, const RawAddress& adv_addr, in operator() function 126 void operator()(uint16_t conn_handle) { body(conn_handle); }; in operator() function 137 void operator()(uint8_t big_handle, in operator() function 152 void operator()(uint8_t addr_type_peer, const RawAddress& bda_peer, in operator() function 165 void operator()(void) { body(); }; in operator() function 175 void operator()(void) { body(); }; in operator() function 199 void operator()(uint16_t scan_int, uint16_t scan_win, 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 98 void operator()(const RawAddress bd_addr, tBT_TRANSPORT transport, in operator() function 113 void operator()(const RawAddress bd_addr, tBT_TRANSPORT transport, in operator() function 126 void operator()(const RawAddress bd_addr) { body(bd_addr); }; in operator() function 136 void operator()() { body(); }; in operator() function 145 void operator()() { body(); }; in operator() function 157 void operator()(const RawAddress bd_addr, tHCI_ROLE new_role, in operator() function 172 void operator()(const RawAddress& bd_addr, tBT_TRANSPORT transport, in operator() function 187 void operator()(const RawAddress& bd_addr, tBLE_ADDR_TYPE addr_type, in operator() function [all …]
|
| D | mock_stack_hcic_hcicmds.h | 65 void operator()(const RawAddress& dest, uint8_t role) { body(dest, role); }; in operator() function 82 void operator()(const RawAddress& bd_addr, uint32_t transmit_bandwidth, in operator() function 98 void operator()(uint16_t handle, uint16_t packet_types) { in operator() function 109 void operator()(uint16_t handle) { body(handle); }; in operator() function 119 void operator()(uint16_t handle, uint16_t packet_types) { in operator() function 130 void operator()(BD_NAME name) { body(name); }; in operator() function 140 void operator()(const RawAddress& dest) { body(dest); }; in operator() function 150 void operator()(const RawAddress& bd_addr, bool delete_all_flag) { in operator() function 162 void operator()(const RawAddress& bd_addr, enh_esco_params_t* p_params) { in operator() function 175 void operator()(uint16_t handle, uint8_t packet_type) { in operator() function [all …]
|
| D | mock_main_shim_l2cap_api.h | 78 bool operator()(const RawAddress& addr, uint8_t* lmp_version, in operator() function 90 uint8_t* operator()(const RawAddress& addr) { return body(addr); }; in operator() function 98 void operator()() { body(); }; in operator() function 113 uint16_t operator()(uint16_t client_psm, const tL2CAP_APPL_INFO& callbacks, in operator() function 127 void operator()(uint16_t psm) { body(psm); }; in operator() function 136 uint16_t operator()(uint16_t psm, const RawAddress& raw_address) { in operator() function 146 bool operator()(uint16_t cid) { return body(cid); }; in operator() function 155 uint8_t operator()(uint16_t cid, BT_HDR* p_data) { in operator() function 168 bool operator()(const RawAddress& bd_addr, std::vector<uint16_t>& lcids, in operator() function 183 std::vector<uint16_t> operator()(uint16_t psm, const RawAddress& p_bd_addr, in operator() function [all …]
|
| D | mock_stack_l2cap_api.h | 68 tBT_TRANSPORT operator()(uint16_t fixed_cid) { return body(fixed_cid); }; in operator() function 83 uint16_t operator()(uint16_t psm, const tL2CAP_APPL_INFO& p_cb_info, in operator() function 104 uint16_t operator()(uint16_t psm, const tL2CAP_APPL_INFO& p_cb_info, in operator() function 118 void operator()(uint16_t psm) { body(psm); }; in operator() function 126 uint16_t operator()(void) { return body(); }; in operator() function 134 void operator()(uint16_t psm) { body(psm); }; in operator() function 146 uint16_t operator()(uint16_t psm, const RawAddress& p_bd_addr, in operator() function 158 uint16_t operator()(uint16_t psm, const RawAddress& p_bd_addr) { in operator() function 171 uint16_t operator()(uint16_t psm, const tL2CAP_APPL_INFO& p_cb_info, in operator() function 182 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 | 63 bool operator()(const RawAddress& rem_bda, uint16_t min_int, uint16_t max_int, in operator() function 77 bool operator()(const RawAddress& rem_bda, bool enable) { in operator() function 90 void operator()(const RawAddress& identity_addr, const RawAddress& rpa) { in operator() function 101 hci_role_t operator()(const RawAddress& bd_addr) { return body(bd_addr); }; in operator() function 109 void operator()(const RawAddress& bda) { body(bda); }; in operator() function 123 bool operator()(uint16_t handle, uint8_t role, const RawAddress& bda, in operator() function 142 bool operator()(uint16_t handle, uint8_t role, in operator() function 159 void operator()(uint16_t handle, uint8_t status, uint16_t interval, in operator() function 171 void operator()(tL2C_LCB* p_lcb, uint8_t* p, uint16_t pkt_len) { in operator() function 182 bool operator()(tL2C_LCB* p_lcb) { return body(p_lcb); }; in operator() function [all …]
|
| D | mock_stack_btm_ble.h | 77 void operator()(const RawAddress& bd_addr, uint8_t res) { in operator() function 92 bool operator()(const RawAddress& bd_addr, uint8_t* p_text, uint16_t len, in operator() function 105 void operator()(uint8_t key_type, tBTM_BLE_LOCAL_KEYS* p_key) { in operator() function 119 void operator()(const RawAddress& bd_addr, uint8_t res, uint8_t len, in operator() function 132 void operator()(const RawAddress& bd_addr, uint8_t res, uint32_t passkey) { in operator() function 150 void operator()( in operator() function 165 void operator()(const RawAddress& bd_addr, uint8_t* p_c, uint8_t* p_r) { in operator() function 180 void operator()(const RawAddress& bd_addr, uint8_t tx_phys, uint8_t rx_phys, in operator() function 198 void operator()(const RawAddress& bd_addr, uint16_t min_conn_int, in operator() function 216 bool operator()(const RawAddress& bd_addr, uint8_t* p_orig, uint16_t len, in operator() function [all …]
|
| D | mock_osi_config.h | 69 std::string operator()(const char* filename) { return body(filename); }; in operator() function 82 bool operator()(const std::string& checksum, const std::string& filename) { in operator() function 98 bool operator()(const config_t& config, const std::string& section, in operator() function 115 int operator()(const config_t& config, const std::string& section, in operator() function 133 const std::string* operator()(const config_t& config, in operator() function 152 uint64_t operator()(const config_t& config, const std::string& section, in operator() function 168 bool operator()(const config_t& config, const std::string& section, in operator() function 184 bool operator()(const config_t& config, const std::string& section) { in operator() function 196 std::unique_ptr<config_t> operator()(const char* filename) { in operator() function 208 std::unique_ptr<config_t> operator()(const config_t& src) { in operator() function [all …]
|
| D | mock_osi_list.h | 57 bool operator()(list_t* list, void* data) { return body(list, data); }; in operator() function 68 void* operator()(const list_t* list) { return body(list); }; in operator() function 79 list_node_t* operator()(const list_t* list) { return body(list); }; in operator() function 90 list_node_t* operator()(const list_t* list) { return body(list); }; in operator() function 99 void operator()(list_t* list) { body(list); }; in operator() function 110 bool operator()(const list_t* list, const void* data) { in operator() function 123 list_node_t* operator()(const list_t* list) { return body(list); }; in operator() function 137 list_node_t* operator()(const list_t* list, list_iter_cb callback, in operator() function 149 void operator()(list_t* list) { body(list); }; in operator() function 160 void* operator()(const list_t* list) { return body(list); }; in operator() function [all …]
|
| D | mock_osi_fixed_queue.h | 62 size_t operator()(fixed_queue_t* queue) { return body(queue); }; in operator() function 73 void* operator()(fixed_queue_t* queue) { return body(queue); }; in operator() function 83 void operator()(fixed_queue_t* queue, void* data) { body(queue, data); }; in operator() function 93 void operator()(fixed_queue_t* queue, fixed_queue_free_cb free_cb) { in operator() function 105 void operator()(fixed_queue_t* queue, fixed_queue_free_cb free_cb) { in operator() function 118 int operator()(const fixed_queue_t* queue) { return body(queue); }; in operator() function 129 int operator()(const fixed_queue_t* queue) { return body(queue); }; in operator() function 140 list_t* operator()(fixed_queue_t* queue) { return body(queue); }; in operator() function 151 bool operator()(fixed_queue_t* queue) { return body(queue); }; in operator() function 162 size_t operator()(fixed_queue_t* queue) { return body(queue); }; in operator() function [all …]
|
| D | mock_stack_sdp_api.h | 61 bool operator()(const tSDP_DISCOVERY_DB* p_db) { return body(p_db); }; in operator() function 72 bool operator()(const tSDP_DISC_REC* p_rec, uint16_t profile_uuid, in operator() function 86 bool operator()(const tSDP_DISC_REC* p_rec, uint16_t layer_uuid, in operator() function 100 bool operator()(const tSDP_DISC_REC* p_rec, bluetooth::Uuid* p_uuid) { in operator() function 113 bool operator()(const tSDP_DISC_REC* p_rec, bluetooth::Uuid* p_uuid) { in operator() function 129 bool operator()(tSDP_DISCOVERY_DB* p_db, uint32_t len, uint16_t num_uuid, in operator() function 144 bool operator()(const RawAddress& p_bd_addr, tSDP_DISCOVERY_DB* p_db, in operator() function 160 bool operator()(const RawAddress& p_bd_addr, tSDP_DISCOVERY_DB* p_db, in operator() function 175 bool operator()(const RawAddress& p_bd_addr, tSDP_DISCOVERY_DB* p_db, in operator() function 188 tSDP_DISC_ATTR* operator()(const tSDP_DISC_REC* p_rec, uint16_t attr_id) { in operator() function [all …]
|
| D | mock_device_iot_config.h | 31 bool operator()(const std::string& section, const std::string& key, in operator() function 47 bool operator()(const std::string& section, const std::string& key, in operator() function 63 bool operator()(const std::string& section, const std::string& key) { in operator() function 78 bool operator()(const std::string& section, const std::string& key, in operator() function 95 bool operator()(const std::string& section, const std::string& key, int value, in operator() function 112 bool operator()(const std::string& section, const std::string& key, int value, in operator() function 130 bool operator()(const std::string& section, const std::string& key, in operator() function 147 bool operator()(const std::string& section, const std::string& key, in operator() function 164 bool operator()(const std::string& section, const std::string& key, in operator() function 182 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 130 void operator()(uint16_t subrate_min, uint16_t subrate_max, in operator() function 146 void operator()(uint16_t hci_handle, uint16_t subrate_min, in operator() function 160 void operator()(bool is_le_privacy_enabled) { body(is_le_privacy_enabled); }; in operator() function 170 void operator()(const RawAddress& raw_address) { body(raw_address); }; in operator() function 182 void operator()(uint16_t handle, bool is_classic, tHCI_STATUS reason, in operator() function [all …]
|
| D | mock_btif_co_bta_av_co.h | 73 void operator()(tBTA_AV_HNDL bta_av_handle, const RawAddress& peer_address) { in operator() function 87 void operator()(tBTA_AV_HNDL bta_av_handle, const RawAddress& peer_address, in operator() function 105 void operator()(tBTA_AV_HNDL bta_av_handle, const RawAddress& peer_address, in operator() function 121 void operator()(tBTA_AV_HNDL bta_av_handle, const RawAddress& peer_address) { in operator() function 141 tA2DP_STATUS operator()(tBTA_AV_HNDL bta_av_handle, in operator() function 161 bool operator()(btav_a2dp_codec_index_t codec_index, AvdtpSepConfig* p_cfg) { in operator() function 175 void operator()(tBTA_AV_HNDL bta_av_handle, const RawAddress& peer_address, in operator() function 195 void operator()(tBTA_AV_HNDL bta_av_handle, const RawAddress& peer_address, in operator() function 214 BT_HDR* operator()(const uint8_t* p_codec_info, uint32_t* p_timestamp) { in operator() function 228 void operator()(tBTA_AV_HNDL bta_av_handle, const RawAddress& peer_address, 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, int num_decoded_frames, in operator() function 154 void operator()(const RawAddress& raw_address, uint16_t handle, in operator() function 168 void operator()(const RawAddress& raw_address, uint16_t handle, in operator() function 183 void operator()(const RawAddress& raw_address, uint16_t handle, in operator() function 200 void operator()(const RawAddress& raw_address, uint16_t smp_cmd, in operator() function 218 void operator()(const RawAddress& raw_address, uint16_t handle, in operator() function [all …]
|
| D | mock_btif_config.h | 52 bool operator()(const std::string& section, const std::string& key) { in operator() function 66 bool operator()(const std::string& section, const std::string& key, in operator() function 81 bool operator()(const std::string& section, const std::string& key, in operator() function 95 bool operator()(const std::string& section, const std::string& key, in operator() function 109 bool operator()(const std::string& section, const std::string& key, in operator() function 123 bool operator()(const std::string& section, const std::string& key, in operator() function 137 bool operator()(const std::string& section, const std::string& key, in operator() function 151 bool operator()(const std::string& section, const std::string& key, in operator() function 164 size_t operator()(const std::string& section, const std::string& key) { in operator() function 177 bool operator()(const std::string& section, const std::string& key, in operator() function [all …]
|
| D | mock_stack_pan_api.h | 63 tPAN_RESULT operator()(const RawAddress& rem_bda, tPAN_ROLE src_role, in operator() function 75 tPAN_RESULT operator()(uint16_t handle) { return body(handle); }; in operator() function 87 tPAN_RESULT operator()(uint16_t handle, uint16_t num_mcast_filters, in operator() function 101 tPAN_RESULT operator()(uint16_t handle, uint16_t num_filters, in operator() function 116 tPAN_RESULT operator()(uint8_t role, std::string p_user_name, in operator() function 133 tPAN_RESULT operator()(uint16_t handle, const RawAddress& dst, in operator() function 150 tPAN_RESULT operator()(uint16_t handle, const RawAddress& dst, in operator() function 163 uint8_t operator()(uint8_t new_level) { return body(new_level); }; in operator() function 171 void operator()(void) { body(); }; in operator() function 179 void operator()(int fd) { body(fd); }; in operator() function [all …]
|
| D | mock_stack_gatt_api.h | 74 std::list<uint16_t> operator()(const RawAddress& remote_bda) { in operator() function 94 tGATTC_TryMtuRequestResult operator()(const RawAddress& remote_bda, in operator() function 113 void operator()(const RawAddress& remote_bda, tBT_TRANSPORT transport, in operator() function 128 tGATT_STATUS operator()(uint16_t conn_id, uint16_t mtu) { in operator() function 144 tGATT_STATUS operator()(uint16_t conn_id, tGATT_DISC_TYPE disc_type, in operator() function 158 tGATT_STATUS operator()(uint16_t conn_id, bool is_execute) { in operator() function 173 tGATT_STATUS operator()(uint16_t conn_id, tGATT_READ_TYPE type, in operator() function 187 tGATT_STATUS operator()(uint16_t conn_id, uint16_t cid) { in operator() function 203 tGATT_STATUS operator()(uint16_t conn_id, tGATT_WRITE_TYPE type, in operator() function 220 tGATT_STATUS operator()(tGATT_IF gatt_if, btgatt_db_element_t* service, in operator() function [all …]
|
| D | mock_bta_hh_utils.h | 68 void operator()(tBTA_HH_DEV_CB* p_cb, uint8_t handle, uint16_t attr_mask, in operator() function 83 void operator()(tBTA_HH_DEV_CB* p_cb) { body(p_cb); }; in operator() function 92 void operator()(tBTA_HH_STATUS status) { body(status); }; in operator() function 103 uint8_t operator()(uint8_t dev_handle) { return body(dev_handle); }; in operator() function 114 uint8_t operator()(const RawAddress& bda) { return body(bda); }; in operator() function 125 tBTA_HH_DEV_CB* operator()(const RawAddress& bda) { return body(bda); }; in operator() function 139 tBTA_HH_STATUS operator()(const RawAddress& bd_addr, uint16_t* p_max_ssr_lat, in operator() function 153 bool operator()(tBTA_HH_DEV_CB* p_cb, uint8_t sub_class) { in operator() function 164 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 [all …]
|
| D | mock_osi_socket.h | 66 socket_t* operator()(const socket_t* socket) { return body(socket); }; in operator() function 77 ssize_t operator()(const socket_t* socket) { return body(socket); }; in operator() function 86 void operator()(socket_t* socket) { body(socket); }; in operator() function 97 bool operator()(const socket_t* socket, port_t port) { in operator() function 109 socket_t* operator()(void) { return body(); }; in operator() function 120 socket_t* operator()(int fd) { return body(fd); }; in operator() function 133 ssize_t operator()(const socket_t* socket, void* buf, size_t count) { in operator() function 147 void operator()(socket_t* socket, reactor_t* reactor, void* context, in operator() function 159 void operator()(socket_t* socket) { body(socket); }; in operator() function 172 ssize_t operator()(const socket_t* socket, const void* buf, size_t count) { in operator() function [all …]
|
| D | mock_osi_thread.h | 68 void operator()(thread_t* thread) { body(thread); }; in operator() function 79 reactor_t* operator()(const thread_t* thread) { return body(thread); }; in operator() function 90 bool operator()(const thread_t* thread) { return body(thread); }; in operator() function 99 void operator()(thread_t* thread) { body(thread); }; in operator() function 110 const char* operator()(const thread_t* thread) { return body(thread); }; in operator() function 121 thread_t* operator()(const char* name) { return body(name); }; in operator() function 134 thread_t* operator()(const char* name, size_t work_queue_capacity) { in operator() function 149 bool operator()(thread_t* thread, thread_fn func, void* context) { in operator() function 162 bool operator()(thread_t* thread, int priority) { in operator() function 175 bool operator()(thread_t* thread, int priority) { in operator() function [all …]
|
| D | mock_stack_a2dp_sbc.h | 64 bool operator()(uint8_t* p_codec_info) { return body(p_codec_info); }; in operator() function 77 bool operator()(const uint8_t* p_codec_info, BT_HDR* p_buf, in operator() function 94 bool operator()(const uint8_t* p_codec_info_a, in operator() function 107 const char* operator()(void) { return body(); }; in operator() function 117 const char* operator()(void) { return body(); }; in operator() function 128 std::string operator()(const uint8_t* p_codec_info) { in operator() function 141 const char* operator()(const uint8_t* p_codec_info) { in operator() function 157 bool operator()(const uint8_t* p_codec_info_a, in operator() function 171 int operator()(const uint8_t* p_codec_info) { return body(p_codec_info); }; in operator() function 181 uint32_t operator()() { return body(); }; in operator() function [all …]
|