Home
last modified time | relevance | path

Searched refs:function (Results 1 – 25 of 1244) sorted by relevance

12345678910>>...50

/packages/modules/Bluetooth/system/test/mock/
Dmock_btif_av.h64 std::function<void(const RawAddress& peer_address,
79 std::function<void(const A2dpType local_a2dp_type)> body{
91 std::function<const RawAddress&(tBTA_AV_HNDL bta_handle)> body{
104 std::function<uint16_t(const A2dpType local_a2dp_type)> body{
117 std::function<uint8_t(const A2dpType local_a2dp_type)> body{
130 std::function<const btav_sink_interface_t*(void)> body{
141 std::function<const btav_source_interface_t*(void)> body{
152 std::function<bool()> body{[]() { return return_value; }};
162 std::function<bool()> body{[]() { return return_value; }};
172 std::function<bool(const A2dpType local_a2dp_type)> body{
[all …]
Dmock_stack_acl.h45 std::function<bool(const RawAddress& x)> body{
54 std::function<bool(const RawAddress& remote_bda, tBT_TRANSPORT transport)>
66 std::function<bool(const RawAddress& remote_bda, tBT_TRANSPORT transport)>
79 std::function<bool(uint16_t hci_handle)> body{
88 std::function<bool(const RawAddress& remote_bda, tBT_TRANSPORT transport)>
100 std::function<bool(const RawAddress& pseudo_addr, RawAddress& conn_addr,
115 std::function<bool(const RawAddress& addr)> body{
125 std::function<bool(const RawAddress& addr, uint8_t* lmp_version,
140 std::function<bool(const RawAddress& peer_addr)> body{
149 std::function<void(const RawAddress& bd_addr, BT_HDR* p_buf)> body{
[all …]
Dmock_stack_hcic_hcicmds.h47 std::function<void(const RawAddress& bd_addr, uint32_t transmit_bandwidth,
70 std::function<void(uint16_t handle, uint16_t packet_types)> body{
82 std::function<void(uint16_t handle)> body{[](uint16_t /* handle */) {}};
91 std::function<void(BD_NAME name)> body{[](BD_NAME /* name */) {}};
100 std::function<void(const RawAddress& dest)> body{
110 std::function<void(const RawAddress& bd_addr, bool delete_all_flag)> body{
122 std::function<void(void)> body{[](void) {}};
131 std::function<void(const RawAddress& bd_addr, enh_esco_params_t* p_params)>
145 std::function<void(uint16_t conn_handle, enh_esco_params_t* p_params)> body{
158 std::function<void(uint16_t handle)> body{[](uint16_t /* handle */) {}};
[all …]
Dmock_stack_smp_act.h41 std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
50 std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
59 std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
68 std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
77 std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
86 std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
95 std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
104 std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
113 std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
122 std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
[all …]
Dmock_stack_a2dp_sbc.h47 std::function<bool(uint8_t* p_codec_info)> body{
58 std::function<bool(const uint8_t* p_codec_info, BT_HDR* p_buf,
74 std::function<bool(const uint8_t* p_codec_info_a,
90 std::function<const char*(void)> body{[](void) { return return_value; }};
100 std::function<const char*(void)> body{[](void) { return return_value; }};
110 std::function<std::string(const uint8_t* p_codec_info)> body{
123 std::function<const char*(const uint8_t* p_codec_info)> body{
136 std::function<bool(const uint8_t* p_codec_info_a,
152 std::function<int(const uint8_t* p_codec_info)> body{
163 std::function<uint32_t()> body{[]() { return return_value; }};
[all …]
Dmock_bta_dm_api.h54 std::function<void(const RawAddress& bd_addr, tBLE_ADDR_TYPE addr_type,
69 std::function<void(const RawAddress& bd_addr, tBTA_LE_KEY_VALUE* p_le_key,
85 std::function<void(const RawAddress& bd_addr, DEV_CLASS dev_class,
103 std::function<void(
121 std::function<void(bool privacy_enable)> body{
131 std::function<void(const RawAddress& bd_addr, bool accept)> body{
143 std::function<void(bool observe, tBTA_DM_SEARCH_CBACK* p_results_cb)> body{
155 std::function<void(tBTA_BLE_ENERGY_INFO_CBACK* p_cmpl_cback)> body{
167 std::function<void(const RawAddress& bd_addr, bool accept, uint32_t passkey)>
180 std::function<void(const RawAddress& remote_device)> body{
[all …]
Dmock_btif_profile_storage.h57 std::function<void(const RawAddress& addr)> body{
67 std::function<void(const HearingDevice& dev_info)> body{
80 std::function<bt_status_t(
109 std::function<void(const RawAddress& address,
129 std::function<bool(const RawAddress& address, uint8_t* capabilities,
151 std::function<std::vector<std::pair<RawAddress, uint8_t>>(void)> body{
164 std::function<bool(const RawAddress& address, uint8_t& features)> body{
180 std::function<bool(const RawAddress& address,
198 std::function<std::vector<RawAddress>(void)> body{
210 std::function<bool(const RawAddress& remote_bd_addr)> body{
[all …]
Dmock_stack_btm_sec.h53 std::function<bool(const RawAddress& bd_addr)> body{
64 std::function<void(tBTM_STATUS res, const RawAddress& bd_addr)> body{
77 std::function<tBT_DEVICE_TYPE(const RawAddress& bd_addr)> body{
91 std::function<bool(const RawAddress& bd_addr, tBT_TRANSPORT transport)> body{
106 std::function<bool(const RawAddress& bd_addr, tBT_TRANSPORT transport)> body{
121 std::function<bool(const RawAddress& bd_addr, tBT_TRANSPORT transport)> body{
136 std::function<bool(const RawAddress& bd_addr, tBT_TRANSPORT transport)> body{
150 std::function<void(const RawAddress& bd_addr, tBTM_STATUS res,
165 std::function<void(tBTM_STATUS res, const RawAddress& bd_addr,
181 std::function<bool(const RawAddress& bd_addr)> body{
[all …]
Dmock_bta_dm_act.h46 std::function<bool(bt_scan_mode_t mode)> body{
56 std::function<void(const RawAddress bd_addr, tBT_TRANSPORT transport)> body{
68 std::function<void(const RawAddress bd_addr, tBT_TRANSPORT transport,
83 std::function<void(const RawAddress bd_addr, tBT_TRANSPORT transport,
98 std::function<void(const RawAddress bd_addr)> body{
109 std::function<void()> body{[]() {}};
118 std::function<void()> body{[]() {}};
127 std::function<void(const RawAddress bd_addr, tHCI_ROLE new_role,
142 std::function<void(const RawAddress& bd_addr, tBLE_ADDR_TYPE addr_type,
157 std::function<void(const RawAddress& bd_addr, tBTA_LE_KEY_VALUE blekey,
[all …]
Dmock_stack_btm_inq.h54 std::function<void(uint32_t* p_eir_uuid, uint16_t uuid16)> body{
66 std::function<void(void)> body{[](void) {}};
76 std::function<tBTM_STATUS(void)> body{[](void) { return return_value; }};
86 std::function<tBTM_STATUS(const RawAddress* p_bda)> body{
96 std::function<void()> body{[]() {}};
105 std::function<void()> body{[]() {}};
115 std::function<uint8_t(uint32_t* p_eir_uuid, uint8_t** p,
132 std::function<uint8_t(const uint8_t* p_eir, size_t eir_len, uint8_t uuid_size,
153 std::function<bool(const uint32_t* p_eir_uuid, uint16_t uuid16)> body{
168 std::function<tBTM_INQ_INFO*(void)> body{[](void) { return return_value; }};
[all …]
Dmock_stack_btm_ble.h57 std::function<void(const RawAddress& /* bd_addr */, uint8_t /* res */)> body{
70 std::function<bool(const RawAddress& bd_addr, uint8_t* p_text, uint16_t len,
86 std::function<void(uint8_t key_type, tBTM_BLE_LOCAL_KEYS* p_key)> body{
98 std::function<void(const RawAddress& bd_addr, uint8_t res, uint8_t len,
113 std::function<void(const RawAddress& bd_addr, uint8_t res, uint32_t passkey)>
126 std::function<void(
147 std::function<void(uint8_t rx_freq, tBTM_CMPL_CB* p_cmd_cmpl_cback)> body{
159 std::function<void(const RawAddress& bd_addr, uint8_t* p_c, uint8_t* p_r)>
173 std::function<void(const RawAddress& bd_addr, uint8_t tx_phys,
189 std::function<void(const RawAddress& bd_addr, uint16_t min_conn_int,
[all …]
Dmock_btif_storage.h53 std::function<void(int fd)> body{[](int /* fd */) {}};
63 std::function<bool(const std::string& bdstr)> body{
74 std::function<bt_status_t(const std::string& remote_bd_addr, int add,
92 std::function<bt_status_t(const std::string& bdstr)> body{
103 std::function<size_t(const char* str, bluetooth::Uuid* p_uuid,
119 std::function<bt_status_t(RawAddress* remote_bd_addr,
137 std::function<bt_status_t(const Octet16& key_value, uint8_t key_type)> body{
152 std::function<bt_status_t(RawAddress* remote_bd_addr, LinkKey link_key,
169 std::function<bt_status_t(const RawAddress* remote_bd_addr,
186 std::function<bt_status_t(bt_property_type_t type, void* buf, int size,
[all …]
Dmock_stack_l2cap_api.h45 std::function<tBT_TRANSPORT(uint16_t fixed_cid)> body{
55 std::function<uint16_t(uint16_t psm, const tL2CAP_APPL_INFO& p_cb_info,
77 std::function<uint16_t(uint16_t psm, const tL2CAP_APPL_INFO& p_cb_info,
98 std::function<void(uint16_t /* psm */)> body{[](uint16_t /* psm */) {}};
106 std::function<uint16_t(void)> body{[](void) { return 0; }};
114 std::function<void(uint16_t /* psm */)> body{[](uint16_t /* psm */) {}};
122 std::function<uint16_t(uint16_t psm, const RawAddress& p_bd_addr,
136 std::function<uint16_t(uint16_t psm, const RawAddress& p_bd_addr)> body{
147 std::function<uint16_t(uint16_t psm, const tL2CAP_APPL_INFO& p_cb_info,
162 std::function<void(uint16_t psm)> body{[](uint16_t /* psm */) {}};
[all …]
Dmock_main_shim_l2cap_api.h43 std::function<bool(const RawAddress& addr, uint8_t* lmp_version,
58 std::function<uint8_t*(const RawAddress& addr)> body{
68 std::function<uint16_t(uint16_t client_psm, const tL2CAP_APPL_INFO& callbacks,
88 std::function<void(uint16_t psm)> body{[](uint16_t psm) {}};
96 std::function<uint16_t(uint16_t psm, const RawAddress& raw_address)> body{
107 std::function<bool(uint16_t cid)> body{[](uint16_t cid) { return false; }};
115 std::function<uint8_t(uint16_t cid, BT_HDR* p_data)> body{
126 std::function<bool(const RawAddress& bd_addr, std::vector<uint16_t>& lcids,
141 std::function<std::vector<uint16_t>(uint16_t psm, const RawAddress& p_bd_addr,
155 std::function<bool(const RawAddress& bd_addr, uint8_t id,
[all …]
Dmock_device_interop.h47 std::function<void(const uint16_t feature, const RawAddress* addr,
62 std::function<void(const uint16_t feature, const RawAddress* addr,
77 std::function<void(const interop_feature_t feature, const RawAddress* addr,
94 std::function<void(const interop_feature_t feature, const RawAddress* addr,
110 std::function<void(const interop_feature_t feature, uint16_t manufacturer)>
124 std::function<void(const uint16_t feature, const char* name)> body{
136 std::function<void(const interop_feature_t feature, uint16_t version)> body{
148 std::function<void(const interop_feature_t feature, uint16_t vendor_id,
163 std::function<void()> body{[]() {}};
173 std::function<bool(const interop_feature_t feature, const RawAddress* addr)>
[all …]
Dmock_audio_hal_interface_a2dp_encoding.h51 std::function<void(const tA2DP_CTRL_ACK& status)> body{
61 std::function<void(const tA2DP_CTRL_ACK& status)> body{
71 std::function<void()> body{[]() {}};
81 std::function<std::optional<const char*>(btav_a2dp_codec_index_t codec_index)>
96 std::function<bool(btav_a2dp_codec_index_t codec_index, uint64_t* codec_id,
115 std::function<void()> body{[]() {}};
126 std::function<std::optional<a2dp_configuration>(
149 std::function<bool(bluetooth::common::MessageLoopThread* message_loop)> body{
164 std::function<bool()> body{[]() { return return_value; }};
174 std::function<bool()> body{[]() { return return_value; }};
[all …]
Dmock_btif_util.h48 std::function<int(const char* p_ascii, int len, uint8_t* p_hex)> body{
63 std::function<uint32_t(DEV_CLASS dev_class)> body{
74 std::function<const char*(bt_scan_mode_t mode)> body{
85 std::function<const char*(uint16_t event)> body{
96 std::function<const char*(uint16_t event)> body{
107 std::function<const char*(bt_status_t status)> body{
118 std::function<const char*(uint16_t event)> body{
129 std::function<const char*(uint16_t event)> body{
140 std::function<const char*(uint16_t event)> body{
151 std::function<const char*(uint16_t event)> body{
[all …]
Dmock_btif_co_bta_av_co.h52 std::function<void(tBTA_AV_HNDL bta_av_handle,
66 std::function<void(tBTA_AV_HNDL bta_av_handle, const RawAddress& peer_address,
82 std::function<void(tBTA_AV_HNDL bta_av_handle, const RawAddress& peer_address,
102 std::function<void(tBTA_AV_HNDL bta_av_handle,
118 std::function<tA2DP_STATUS(
142 std::function<bool(btav_a2dp_codec_index_t codec_index,
156 std::function<void(tBTA_AV_HNDL bta_av_handle, const RawAddress& peer_address,
172 std::function<void(tBTA_AV_HNDL bta_av_handle, const RawAddress& peer_address,
196 std::function<BT_HDR*(const uint8_t* p_codec_info, uint32_t* p_timestamp)>
210 std::function<void(tBTA_AV_HNDL bta_av_handle, const RawAddress& peer_address,
[all …]
Dmock_osi_list.h43 std::function<bool(list_t* list, void* data)> body{
54 std::function<void*(const list_t* list)> body{
65 std::function<list_node_t*(const list_t* list)> body{
76 std::function<list_node_t*(const list_t* list)> body{
86 std::function<void(list_t* list)> body{[](list_t* /* list */) {}};
96 std::function<bool(const list_t* list, const void* data)> body{
111 std::function<list_node_t*(const list_t* list)> body{
122 std::function<list_node_t*(const list_t* list, list_iter_cb callback,
137 std::function<void(list_t* list)> body{[](list_t* /* list */) {}};
147 std::function<void*(const list_t* list)> body{
[all …]
Dmock_stack_l2cap_ble.h44 std::function<bool(const RawAddress& rem_bda, uint16_t min_int,
63 std::function<void(const RawAddress& rem_bda, bool enable)> body{
75 std::function<void(const RawAddress& rem_bda, bool enable)> body{
84 std::function<void(const RawAddress& identity_addr, const RawAddress& rpa)>
96 std::function<hci_role_t(const RawAddress& bd_addr)> body{
105 std::function<void(const RawAddress& bda)> body{
115 std::function<bool(uint16_t handle, uint8_t role, const RawAddress& bda,
134 std::function<void(uint16_t handle, uint8_t status, uint16_t interval,
149 std::function<void(tL2C_LCB* p_lcb, uint8_t* p, uint16_t pkt_len)> body{
160 std::function<bool(tL2C_LCB* p_lcb)> body{
[all …]
Dmock_osi_fixed_queue.h46 std::function<size_t(fixed_queue_t* queue)> body{
57 std::function<void*(fixed_queue_t* queue)> body{
67 std::function<void(fixed_queue_t* queue, void* data)> body{
77 std::function<void(fixed_queue_t* queue, fixed_queue_free_cb free_cb)> body{
89 std::function<void(fixed_queue_t* queue, fixed_queue_free_cb free_cb)> body{
102 std::function<int(const fixed_queue_t* queue)> body{
113 std::function<int(const fixed_queue_t* queue)> body{
124 std::function<list_t*(fixed_queue_t* queue)> body{
135 std::function<bool(fixed_queue_t* queue)> body{
146 std::function<size_t(fixed_queue_t* queue)> body{
[all …]
Dmock_bta_av_api.h56 std::function<void(tBTA_AV_HNDL handle)> body{
66 std::function<void(uint8_t rc_handle)> body{[](uint8_t /* rc_handle */) {}};
75 std::function<void(tBTA_AV_HNDL hndl)> body{[](tBTA_AV_HNDL /* hndl */) {}};
84 std::function<void(void)> body{[](void) {}};
93 std::function<void(tBTA_AV_HNDL handle)> body{
103 std::function<void(tBTA_AV_FEAT features, tBTA_AV_CBACK* p_cback)> body{
115 std::function<void(uint8_t rc_handle, uint8_t label, tBTA_AV_CMD cmd_code,
130 std::function<void(uint8_t rc_handle, uint8_t label, tBTA_AV_CODE rsp_code,
145 std::function<void(tBTA_AV_HNDL hndl)> body{[](tBTA_AV_HNDL /* hndl */) {}};
154 std::function<void(const RawAddress& bd_addr, tBTA_AV_HNDL handle,
[all …]
Dmock_stack_hcic_hciblecmds.h46 std::function<void(uint8_t, const RawAddress&, uint8_t,
64 std::function<void(base::OnceCallback<void(uint8_t*, uint16_t)>)> body{
77 std::function<void(uint8_t, const RawAddress&, uint8_t,
95 std::function<void(uint8_t addr_type_peer, const RawAddress& bda_peer,
112 std::function<void(void)> body{[](void) {}};
122 std::function<void(uint16_t handle)> body{[](uint16_t /* handle */) {}};
131 std::function<void(uint16_t handle, const Octet16& ltk)> body{
142 std::function<void(uint8_t options, uint8_t adv_sid, uint8_t adv_addr_type,
163 std::function<void(base::OnceCallback<void(uint8_t*, uint16_t)>)> body{
176 std::function<void(uint16_t, uint16_t, uint8_t,
[all …]
Dmock_main_shim_acl_api.h51 std::function<bool(const tBLE_BD_ADDR& legacy_address_with_type,
67 std::function<void(const tBLE_BD_ADDR& legacy_address_with_type,
82 std::function<void(const RawAddress& raw_address)> body{
92 std::function<void()> body{[]() {}};
101 std::function<void()> body{[]() {}};
110 std::function<void(uint16_t subrate_min, uint16_t subrate_max,
126 std::function<void(uint16_t hci_handle, uint16_t subrate_min,
143 std::function<void(bool is_le_privacy_enabled)> body{
153 std::function<void(const RawAddress& raw_address)> body{
163 std::function<void(uint16_t handle, bool is_classic, tHCI_STATUS reason,
[all …]
/packages/modules/NeuralNetworks/tools/systrace_parser/parser/
Dnaming.py98 function = mark.split("|")[2]
99 if "[NN_" in function:
100 function = function.replace(MARKER_SUBTRACT, "")
101 function = function.replace(MARKER_SWITCH, "")
102 function = function.split("]")[1]
103 function = function.replace("[", "")
104 function = function.replace("]", "")
105 return function

12345678910>>...50