| /packages/modules/Bluetooth/system/test/mock/ |
| D | mock_stack_acl.h | 47 bool operator()(const RawAddress& x) { return body(x); }; in operator() function 57 bool operator()(const RawAddress& remote_bda, tBT_TRANSPORT transport) { in operator() function 69 bool operator()(const RawAddress& remote_bda, tBT_TRANSPORT transport) { in operator() function 81 bool operator()(uint16_t hci_handle) { return body(hci_handle); }; in operator() function 91 bool operator()(const RawAddress& remote_bda, tBT_TRANSPORT transport) { in operator() function 105 bool operator()(const RawAddress& pseudo_addr, RawAddress& conn_addr, in operator() function 117 bool operator()(const RawAddress& addr) { return body(addr); }; in operator() function 130 bool operator()(const RawAddress& addr, uint8_t* lmp_version, in operator() function 142 bool operator()(const RawAddress& peer_addr) { return body(peer_addr); }; in operator() function 151 void operator()(const RawAddress& bd_addr, BT_HDR* p_buf) { in operator() function [all …]
|
| D | mock_stack_hcic_hcicmds.h | 56 void operator()(const RawAddress& bd_addr, uint32_t transmit_bandwidth, in operator() function 72 void operator()(uint16_t handle, uint16_t packet_types) { in operator() function 83 void operator()(uint16_t handle) { body(handle); }; in operator() function 92 void operator()(BD_NAME name) { body(name); }; in operator() function 102 void operator()(const RawAddress& dest) { body(dest); }; in operator() function 112 void operator()(const RawAddress& bd_addr, bool delete_all_flag) { in operator() function 123 void operator()(void) { body(); }; in operator() function 134 void operator()(const RawAddress& bd_addr, enh_esco_params_t* p_params) { in operator() function 147 void operator()(uint16_t conn_handle, enh_esco_params_t* p_params) { in operator() function 159 void operator()(uint16_t handle) { body(handle); }; in operator() function [all …]
|
| D | mock_stack_smp_act.h | 43 void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); }; in operator() function 52 void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); }; in operator() function 61 void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); }; in operator() function 70 void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); }; in operator() function 79 void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); }; in operator() function 88 void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); }; in operator() function 97 void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); }; in operator() function 106 void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); }; in operator() function 115 void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); }; in operator() function 124 void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); }; in operator() function [all …]
|
| D | mock_bta_dm_act.h | 48 bool operator()(bt_scan_mode_t mode) { return body(mode); }; in operator() function 58 void operator()(const RawAddress bd_addr, tBT_TRANSPORT transport) { in operator() function 72 void operator()(const RawAddress bd_addr, tBT_TRANSPORT transport, in operator() function 87 void operator()(const RawAddress bd_addr, tBT_TRANSPORT transport, in operator() function 100 void operator()(const RawAddress bd_addr) { body(bd_addr); }; in operator() function 110 void operator()() { body(); }; in operator() function 119 void operator()() { body(); }; in operator() function 131 void operator()(const RawAddress bd_addr, tHCI_ROLE new_role, in operator() function 146 void operator()(const RawAddress& bd_addr, tBLE_ADDR_TYPE addr_type, in operator() function 161 void operator()(const RawAddress& bd_addr, tBTA_LE_KEY_VALUE blekey, in operator() function [all …]
|
| D | mock_main_shim_l2cap_api.h | 48 bool operator()(const RawAddress& addr, uint8_t* lmp_version, in operator() function 60 uint8_t* operator()(const RawAddress& addr) { return body(addr); }; in operator() function 75 uint16_t operator()(uint16_t client_psm, const tL2CAP_APPL_INFO& callbacks, in operator() function 89 void operator()(uint16_t psm) { body(psm); }; in operator() function 98 uint16_t operator()(uint16_t psm, const RawAddress& raw_address) { in operator() function 108 bool operator()(uint16_t cid) { return body(cid); }; in operator() function 117 uint8_t operator()(uint16_t cid, BT_HDR* p_data) { in operator() function 130 bool operator()(const RawAddress& bd_addr, std::vector<uint16_t>& lcids, in operator() function 145 std::vector<uint16_t> operator()(uint16_t psm, const RawAddress& p_bd_addr, in operator() function 161 bool operator()(const RawAddress& bd_addr, uint8_t id, in operator() function [all …]
|
| D | mock_stack_l2cap_api.h | 47 tBT_TRANSPORT operator()(uint16_t fixed_cid) { return body(fixed_cid); }; in operator() function 63 uint16_t operator()(uint16_t psm, const tL2CAP_APPL_INFO& p_cb_info, in operator() function 85 uint16_t operator()(uint16_t psm, const tL2CAP_APPL_INFO& p_cb_info, in operator() function 99 void operator()(uint16_t psm) { body(psm); }; in operator() function 107 uint16_t operator()(void) { return body(); }; in operator() function 115 void operator()(uint16_t psm) { body(psm); }; in operator() function 126 uint16_t operator()(uint16_t psm, const RawAddress& p_bd_addr, in operator() function 138 uint16_t operator()(uint16_t psm, const RawAddress& p_bd_addr) { in operator() function 152 uint16_t operator()(uint16_t psm, const tL2CAP_APPL_INFO& p_cb_info, in operator() function 163 void operator()(uint16_t psm) { body(psm); }; in operator() function [all …]
|
| D | mock_stack_hcic_hciblecmds.h | 51 void operator()(uint8_t adv_addr_type, const RawAddress& adv_addr, in operator() function 66 void operator()(base::OnceCallback<void(uint8_t*, uint16_t)> cb) { in operator() function 82 void operator()(uint8_t adv_addr_type, const RawAddress& adv_addr, in operator() function 100 void operator()(uint8_t addr_type_peer, const RawAddress& bda_peer, in operator() function 113 void operator()(void) { body(); }; in operator() function 123 void operator()(uint16_t handle) { body(handle); }; in operator() function 133 void operator()(uint16_t handle, const Octet16& ltk) { body(handle, ltk); }; in operator() function 149 void operator()(uint8_t options, uint8_t adv_sid, uint8_t adv_addr_type, in operator() function 165 void operator()(base::OnceCallback<void(uint8_t*, uint16_t)> cb) { in operator() function 181 void operator()(uint16_t conn_handle, uint16_t service_data, in operator() function [all …]
|
| D | mock_bta_dm_api.h | 58 void operator()(const RawAddress& bd_addr, tBLE_ADDR_TYPE addr_type, in operator() function 74 void operator()(const RawAddress& bd_addr, tBTA_LE_KEY_VALUE* p_le_key, in operator() function 91 void operator()(const RawAddress& bd_addr, DEV_CLASS dev_class, in operator() function 110 void operator()(std::vector<RawAddress> classic_hid_devices, in operator() function 123 void operator()(bool privacy_enable) { body(privacy_enable); }; in operator() function 133 void operator()(const RawAddress& bd_addr, bool accept) { in operator() function 145 void operator()(bool observe, tBTA_DM_SEARCH_CBACK* p_results_cb) { in operator() function 157 void operator()(tBTA_BLE_ENERGY_INFO_CBACK* p_cmpl_cback) { in operator() function 170 void operator()(const RawAddress& bd_addr, bool accept, uint32_t passkey) { in operator() function 182 void operator()(const RawAddress& remote_device) { body(remote_device); }; in operator() function [all …]
|
| D | mock_stack_l2cap_ble.h | 51 bool operator()(const RawAddress& rem_bda, uint16_t min_int, uint16_t max_int, in operator() function 65 void operator()(const RawAddress& rem_bda, bool enable) { in operator() function 77 void operator()(const RawAddress& rem_bda, bool enable) { in operator() function 87 void operator()(const RawAddress& identity_addr, const RawAddress& rpa) { in operator() function 98 hci_role_t operator()(const RawAddress& bd_addr) { return body(bd_addr); }; in operator() function 107 void operator()(const RawAddress& bda) { body(bda); }; in operator() function 122 bool operator()(uint16_t handle, uint8_t role, const RawAddress& bda, in operator() function 139 void operator()(uint16_t handle, uint8_t status, uint16_t interval, in operator() function 151 void operator()(tL2C_LCB* p_lcb, uint8_t* p, uint16_t pkt_len) { in operator() function 162 bool operator()(tL2C_LCB* p_lcb) { return body(p_lcb); }; in operator() function [all …]
|
| D | mock_stack_btm_ble.h | 59 void operator()(const RawAddress& bd_addr, uint8_t res) { in operator() function 75 bool operator()(const RawAddress& bd_addr, uint8_t* p_text, uint16_t len, in operator() function 88 void operator()(uint8_t key_type, tBTM_BLE_LOCAL_KEYS* p_key) { in operator() function 102 void operator()(const RawAddress& bd_addr, uint8_t res, uint8_t len, in operator() function 116 void operator()(const RawAddress& bd_addr, uint8_t res, uint32_t passkey) { in operator() function 134 void operator()( in operator() function 149 void operator()(uint8_t rx_freq, tBTM_CMPL_CB* p_cmd_cmpl_cback) { in operator() function 162 void operator()(const RawAddress& bd_addr, uint8_t* p_c, uint8_t* p_r) { in operator() function 177 void operator()(const RawAddress& bd_addr, uint8_t tx_phys, uint8_t rx_phys, in operator() function 195 void operator()(const RawAddress& bd_addr, uint16_t min_conn_int, in operator() function [all …]
|
| D | mock_stack_btm_sec.h | 55 bool operator()(const RawAddress& bd_addr) { return body(bd_addr); }; in operator() function 66 void operator()(tBTM_STATUS res, const RawAddress& bd_addr) { in operator() function 79 tBT_DEVICE_TYPE operator()(const RawAddress& bd_addr) { in operator() function 95 bool operator()(const RawAddress& bd_addr, tBT_TRANSPORT transport) { in operator() function 110 bool operator()(const RawAddress& bd_addr, tBT_TRANSPORT transport) { in operator() function 125 bool operator()(const RawAddress& bd_addr, tBT_TRANSPORT transport) { in operator() function 140 bool operator()(const RawAddress& bd_addr, tBT_TRANSPORT transport) { in operator() function 154 void operator()(const RawAddress& bd_addr, tBTM_STATUS res, uint8_t pin_len, in operator() function 169 void operator()(tBTM_STATUS res, const RawAddress& bd_addr, in operator() function 183 bool operator()(const RawAddress& bd_addr) { return body(bd_addr); }; in operator() function [all …]
|
| D | mock_bta_av_api.h | 58 void operator()(tBTA_AV_HNDL handle) { body(handle); }; in operator() function 67 void operator()(uint8_t rc_handle) { body(rc_handle); }; in operator() function 76 void operator()(tBTA_AV_HNDL hndl) { body(hndl); }; in operator() function 85 void operator()(void) { body(); }; in operator() function 95 void operator()(tBTA_AV_HNDL handle) { body(handle); }; in operator() function 105 void operator()(tBTA_AV_FEAT features, tBTA_AV_CBACK* p_cback) { in operator() function 119 void operator()(uint8_t rc_handle, uint8_t label, tBTA_AV_CMD cmd_code, in operator() function 134 void operator()(uint8_t rc_handle, uint8_t label, tBTA_AV_CODE rsp_code, in operator() function 146 void operator()(tBTA_AV_HNDL hndl) { body(hndl); }; in operator() function 158 void operator()(const RawAddress& bd_addr, tBTA_AV_HNDL handle, bool use_rc, in operator() function [all …]
|
| D | mock_btif_profile_storage.h | 59 void operator()(const RawAddress& addr) { body(addr); }; in operator() function 69 void operator()(const HearingDevice& dev_info) { body(dev_info); }; in operator() function 92 bt_status_t operator()(const tAclLinkSpec& link_spec, uint16_t attr_mask, in operator() function 115 void operator()(const RawAddress& address, std::vector<uint8_t> presets_bin, in operator() function 136 bool operator()(const RawAddress& address, uint8_t* capabilities, in operator() function 153 std::vector<std::pair<RawAddress, uint8_t>> operator()(void) { in operator() function 168 bool operator()(const RawAddress& address, uint8_t& features) { in operator() function 185 bool operator()(const RawAddress& address, std::vector<uint8_t>& presets_bin, in operator() function 200 std::vector<RawAddress> operator()(void) { return body(); }; in operator() function 212 bool operator()(const RawAddress& remote_bd_addr) { in operator() function [all …]
|
| D | mock_osi_config.h | 52 std::string operator()(const char* filename) { return body(filename); }; in operator() function 64 bool operator()(const std::string& checksum, const std::string& filename) { in operator() function 81 bool operator()(const config_t& config, const std::string& section, in operator() function 99 int operator()(const config_t& config, const std::string& section, in operator() function 118 const std::string* operator()(const config_t& config, in operator() function 138 uint64_t operator()(const config_t& config, const std::string& section, in operator() function 155 bool operator()(const config_t& config, const std::string& section, in operator() function 171 bool operator()(const config_t& config, const std::string& section) { in operator() function 183 std::unique_ptr<config_t> operator()(const char* filename) { in operator() function 195 std::unique_ptr<config_t> operator()(const config_t& src) { in operator() function [all …]
|
| D | mock_osi_list.h | 45 bool operator()(list_t* list, void* data) { return body(list, data); }; in operator() function 56 void* operator()(const list_t* list) { return body(list); }; in operator() function 67 list_node_t* operator()(const list_t* list) { return body(list); }; in operator() function 78 list_node_t* operator()(const list_t* list) { return body(list); }; in operator() function 87 void operator()(list_t* list) { body(list); }; in operator() function 100 bool operator()(const list_t* list, const void* data) { in operator() function 113 list_node_t* operator()(const list_t* list) { return body(list); }; in operator() function 126 list_node_t* operator()(const list_t* list, list_iter_cb callback, in operator() function 138 void operator()(list_t* list) { body(list); }; in operator() function 149 void* operator()(const list_t* list) { return body(list); }; in operator() function [all …]
|
| D | mock_osi_fixed_queue.h | 48 size_t operator()(fixed_queue_t* queue) { return body(queue); }; in operator() function 59 void* operator()(fixed_queue_t* queue) { return body(queue); }; in operator() function 69 void operator()(fixed_queue_t* queue, void* data) { body(queue, data); }; in operator() function 79 void operator()(fixed_queue_t* queue, fixed_queue_free_cb free_cb) { in operator() function 91 void operator()(fixed_queue_t* queue, fixed_queue_free_cb free_cb) { in operator() function 104 int operator()(const fixed_queue_t* queue) { return body(queue); }; in operator() function 115 int operator()(const fixed_queue_t* queue) { return body(queue); }; in operator() function 126 list_t* operator()(fixed_queue_t* queue) { return body(queue); }; in operator() function 137 bool operator()(fixed_queue_t* queue) { return body(queue); }; in operator() function 148 size_t operator()(fixed_queue_t* queue) { return body(queue); }; in operator() function [all …]
|
| D | mock_main_shim_acl_api.h | 56 bool operator()(const tBLE_BD_ADDR& legacy_address_with_type, in operator() function 71 void operator()(const tBLE_BD_ADDR& legacy_address_with_type, in operator() function 84 void operator()(const RawAddress& raw_address) { body(raw_address); }; in operator() function 93 void operator()() { body(); }; in operator() function 102 void operator()() { body(); }; in operator() function 115 void operator()(uint16_t subrate_min, uint16_t subrate_max, in operator() function 131 void operator()(uint16_t hci_handle, uint16_t subrate_min, in operator() function 145 void operator()(bool is_le_privacy_enabled) { body(is_le_privacy_enabled); }; in operator() function 155 void operator()(const RawAddress& raw_address) { body(raw_address); }; in operator() function 167 void operator()(uint16_t handle, bool is_classic, tHCI_STATUS reason, in operator() function [all …]
|
| D | mock_device_iot_config.h | 35 bool operator()(const std::string& section, const std::string& key, in operator() function 52 bool operator()(const std::string& section, const std::string& key, in operator() function 68 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 102 bool operator()(const std::string& section, const std::string& key, int value, in operator() function 120 bool operator()(const std::string& section, const std::string& key, int value, in operator() function 139 bool operator()(const std::string& section, const std::string& key, in operator() function 157 bool operator()(const std::string& section, const std::string& key, in operator() function 175 bool operator()(const std::string& section, const std::string& key, in operator() function 193 bool operator()(const std::string& section, const std::string& key, in operator() function [all …]
|
| D | mock_stack_sdp_api.h | 47 bool operator()(const tSDP_DISCOVERY_DB* p_db) { return body(p_db); }; in operator() function 58 bool operator()(const tSDP_DISC_REC* p_rec, uint16_t profile_uuid, in operator() function 72 bool operator()(const tSDP_DISC_REC* p_rec, uint16_t layer_uuid, in operator() function 86 bool operator()(const tSDP_DISC_REC* p_rec, bluetooth::Uuid* p_uuid) { in operator() function 99 bool operator()(const tSDP_DISC_REC* p_rec, bluetooth::Uuid* p_uuid) { in operator() function 116 bool operator()(tSDP_DISCOVERY_DB* p_db, uint32_t len, uint16_t num_uuid, in operator() function 131 bool operator()(const RawAddress& p_bd_addr, tSDP_DISCOVERY_DB* p_db, in operator() function 150 bool operator()( in operator() function 166 bool operator()(const RawAddress& p_bd_addr, tSDP_DISCOVERY_DB* p_db, in operator() function 180 tSDP_DISC_ATTR* operator()(const tSDP_DISC_REC* p_rec, uint16_t attr_id) { in operator() function [all …]
|
| D | mock_stack_btm_inq.h | 56 void operator()(uint32_t* p_eir_uuid, uint16_t uuid16) { in operator() function 67 void operator()(void) { body(); }; in operator() function 77 tBTM_STATUS operator()(void) { return body(); }; in operator() function 88 tBTM_STATUS operator()(const RawAddress* p_bda) { return body(p_bda); }; in operator() function 97 void operator()() { body(); }; in operator() function 106 void operator()() { body(); }; in operator() function 120 uint8_t operator()(uint32_t* p_eir_uuid, uint8_t** p, uint8_t max_num_uuid16, in operator() function 139 uint8_t operator()(const uint8_t* p_eir, size_t eir_len, uint8_t uuid_size, in operator() function 157 bool operator()(const uint32_t* p_eir_uuid, uint16_t uuid16) { in operator() function 169 tBTM_INQ_INFO* operator()(void) { return body(); }; in operator() function [all …]
|
| D | mock_main_shim_metrics_api.h | 57 void operator()(const RawAddress* raw_address, uint32_t connection_handle, in operator() function 78 void operator()(const RawAddress& raw_address, in operator() function 99 void operator()(const RawAddress& raw_address, in operator() function 116 void operator()(const RawAddress& raw_address, int playback_state, in operator() function 141 void operator()(const RawAddress& raw_address, int64_t audio_duration_ms, in operator() function 162 void operator()(const RawAddress& raw_address, int num_decoded_frames, in operator() function 176 void operator()(int maximum_rtt, double mean_rtt, int num_requests, in operator() function 190 void operator()(const RawAddress& raw_address, uint16_t handle, in operator() function 205 void operator()(const RawAddress& raw_address, uint16_t handle, in operator() function 221 void operator()(const RawAddress& raw_address, uint16_t handle, in operator() function [all …]
|
| D | mock_btif_config.h | 48 bool operator()(const RawAddress& bda, int* p_clock_offset) { in operator() function 60 bool operator()(const RawAddress& bda, int clock_offset) { in operator() function 72 bool operator()(const std::string& section, const std::string& key) { in operator() function 85 bool operator()(const std::string& section, const std::string& key, in operator() function 99 bool operator()(const std::string& section, const std::string& key, in operator() function 113 bool operator()(const std::string& section, const std::string& key, in operator() function 127 bool operator()(const std::string& section, const std::string& key, in operator() function 141 bool operator()(const std::string& section, const std::string& key, in operator() function 155 bool operator()(const std::string& section, const std::string& key, in operator() function 169 bool operator()(const std::string& section, const std::string& key, in operator() function [all …]
|
| D | mock_device_interop.h | 51 void operator()(const uint16_t feature, const RawAddress* addr, in operator() function 66 void operator()(const uint16_t feature, const RawAddress* addr, in operator() function 82 void operator()(const interop_feature_t feature, const RawAddress* addr, in operator() function 98 void operator()(const interop_feature_t feature, const RawAddress* addr, in operator() function 113 void operator()(const interop_feature_t feature, uint16_t manufacturer) { in operator() function 126 void operator()(const uint16_t feature, const char* name) { in operator() function 138 void operator()(const interop_feature_t feature, uint16_t version) { in operator() function 152 void operator()(const interop_feature_t feature, uint16_t vendor_id, in operator() function 164 void operator()() { body(); }; in operator() function 176 bool operator()(const interop_feature_t feature, const RawAddress* addr) { in operator() function [all …]
|
| D | mock_btif_storage.h | 54 void operator()(int fd) { body(fd); }; in operator() function 65 bool operator()(const std::string& bdstr) { return body(bdstr); }; in operator() function 80 bt_status_t operator()(const std::string& remote_bd_addr, int add, in operator() function 94 bt_status_t operator()(const std::string& bdstr) { return body(bdstr); }; in operator() function 107 size_t operator()(const char* str, bluetooth::Uuid* p_uuid, in operator() function 125 bt_status_t operator()(RawAddress* remote_bd_addr, const uint8_t* key_value, in operator() function 141 bt_status_t operator()(const Octet16& key_value, uint8_t key_type) { in operator() function 157 bt_status_t operator()(RawAddress* remote_bd_addr, LinkKey link_key, in operator() function 174 bt_status_t operator()(const RawAddress* remote_bd_addr, in operator() function 190 bt_status_t operator()(bt_property_type_t type, void* buf, int size, in operator() function [all …]
|
| D | mock_btif_av.h | 68 void operator()(const RawAddress& peer_address, in operator() function 81 void operator()(const A2dpType local_a2dp_type) { body(local_a2dp_type); }; in operator() function 93 const RawAddress& operator()(tBTA_AV_HNDL bta_handle) { in operator() function 106 uint16_t operator()(const A2dpType local_a2dp_type) { in operator() function 119 uint8_t operator()(const A2dpType local_a2dp_type) { in operator() function 132 const btav_sink_interface_t* operator()(void) { return body(); }; in operator() function 143 const btav_source_interface_t* operator()(void) { return body(); }; in operator() function 153 bool operator()() { return body(); }; in operator() function 163 bool operator()() { return body(); }; in operator() function 174 bool operator()(const A2dpType local_a2dp_type) { in operator() function [all …]
|