Home
last modified time | relevance | path

Searched refs:evt_len (Results 1 – 25 of 34) sorted by relevance

12

/system/bt/test/mock/
Dmock_stack_btm_ble_privacy.h53 std::function<void(uint8_t* p, uint16_t evt_len)> body{
54 [](uint8_t* p, uint16_t evt_len) {}};
55 void operator()(uint8_t* p, uint16_t evt_len) { body(p, evt_len); }; in operator()
63 std::function<void(uint8_t* p, uint16_t evt_len)> body{
64 [](uint8_t* p, uint16_t evt_len) {}};
65 void operator()(uint8_t* p, uint16_t evt_len) { body(p, evt_len); }; in operator()
73 std::function<void(uint8_t* p, uint16_t evt_len)> body{
74 [](uint8_t* p, uint16_t evt_len) {}};
75 void operator()(uint8_t* p, uint16_t evt_len) { body(p, evt_len); }; in operator()
83 std::function<void(uint8_t* p, uint16_t evt_len)> body{
[all …]
Dmock_stack_btm_ble_privacy.cc75 void btm_ble_clear_resolving_list_complete(uint8_t* p, uint16_t evt_len) { in btm_ble_clear_resolving_list_complete() argument
78 p, evt_len); in btm_ble_clear_resolving_list_complete()
80 void btm_ble_add_resolving_list_entry_complete(uint8_t* p, uint16_t evt_len) { in btm_ble_add_resolving_list_entry_complete() argument
83 p, evt_len); in btm_ble_add_resolving_list_entry_complete()
86 uint16_t evt_len) { in btm_ble_remove_resolving_list_entry_complete() argument
89 btm_ble_remove_resolving_list_entry_complete(p, evt_len); in btm_ble_remove_resolving_list_entry_complete()
91 void btm_ble_read_resolving_list_entry_complete(uint8_t* p, uint16_t evt_len) { in btm_ble_read_resolving_list_entry_complete() argument
94 p, evt_len); in btm_ble_read_resolving_list_entry_complete()
Dmock_stack_acl_btm_ble_connection_establishment.h106 std::function<void(uint8_t* p, uint16_t evt_len, bool enhanced)> body{
107 [](uint8_t* p, uint16_t evt_len, bool enhanced) {}};
108 void operator()(uint8_t* p, uint16_t evt_len, bool enhanced) { in operator()
109 body(p, evt_len, enhanced); in operator()
Dmock_stack_btm_devctl.cc114 void btm_read_local_name_complete(uint8_t* p, UNUSED_ATTR uint16_t evt_len) { in btm_read_local_name_complete() argument
117 void btm_vendor_specific_evt(uint8_t* p, uint8_t evt_len) { in btm_vendor_specific_evt() argument
120 void btm_vsc_complete(uint8_t* p, uint16_t opcode, uint16_t evt_len, in btm_vsc_complete() argument
Dmock_stack_acl_btm_ble_connection_establishment.cc87 void btm_ble_conn_complete(uint8_t* p, uint16_t evt_len, bool enhanced) { in btm_ble_conn_complete() argument
90 p, evt_len, enhanced); in btm_ble_conn_complete()
Dmock_stack_btm_iso.cc38 void IsoManager::HandleNumComplDataPkts(uint8_t* p, uint8_t evt_len) {} in HandleNumComplDataPkts() argument
Dmock_stack_acl_btm_pm.cc98 void btm_pm_proc_ssr_evt(uint8_t* p, UNUSED_ATTR uint16_t evt_len) { in btm_pm_proc_ssr_evt() argument
Dmock_stack_l2cap_link.cc67 void l2c_link_process_num_completed_pkts(uint8_t* p, uint8_t evt_len) { in l2c_link_process_num_completed_pkts() argument
Dmock_stack_btm_inq.cc182 uint16_t evt_len, uint8_t hci_status) { in btm_process_remote_name() argument
Dmock_stack_acl.cc297 void acl_process_num_completed_pkts(uint8_t* p, uint8_t evt_len) { in acl_process_num_completed_pkts() argument
401 void btm_read_remote_ext_features_complete_raw(uint8_t* p, uint8_t evt_len) { in btm_read_remote_ext_features_complete_raw() argument
/system/bt/stack/include/
Dble_hci_link_interface.h23 void btm_ble_conn_complete(uint8_t* p, UNUSED_ATTR uint16_t evt_len,
43 uint16_t evt_len);
46 uint16_t evt_len);
48 uint16_t evt_len);
49 extern void btm_ble_clear_resolving_list_complete(uint8_t* p, uint16_t evt_len);
Ddev_hci_link_interface.h27 extern void btm_vendor_specific_evt(uint8_t* p, uint8_t evt_len);
28 extern void btm_vsc_complete(uint8_t* p, uint16_t cc_opcode, uint16_t evt_len,
30 extern void btm_read_local_name_complete(uint8_t* p, uint16_t evt_len);
Dacl_hci_link_interface.h49 void btm_pm_proc_ssr_evt(uint8_t* p, uint16_t evt_len);
53 void btm_read_remote_ext_features_complete_raw(uint8_t* p, uint8_t evt_len);
69 void acl_process_num_completed_pkts(uint8_t* p, uint8_t evt_len);
Dinq_hci_link_interface.h27 uint16_t evt_len, uint8_t hci_status);
Dl2cap_acl_interface.h47 extern void l2c_link_process_num_completed_pkts(uint8_t* p, uint8_t evt_len);
Dbtm_iso_api.h208 virtual void HandleNumComplDataPkts(uint8_t* p, uint8_t evt_len);
/system/bt/stack/btm/
Dbtm_ble_privacy.cc225 void btm_ble_clear_resolving_list_complete(uint8_t* p, uint16_t evt_len) { in btm_ble_clear_resolving_list_complete() argument
232 if (evt_len >= 3) { in btm_ble_clear_resolving_list_complete()
269 void btm_ble_add_resolving_list_entry_complete(uint8_t* p, uint16_t evt_len) { in btm_ble_add_resolving_list_entry_complete() argument
283 if (evt_len > 2) { in btm_ble_add_resolving_list_entry_complete()
308 uint16_t evt_len) { in btm_ble_remove_resolving_list_entry_complete() argument
323 if (evt_len > 2) { in btm_ble_remove_resolving_list_entry_complete()
341 void btm_ble_read_resolving_list_entry_complete(uint8_t* p, uint16_t evt_len) { in btm_ble_read_resolving_list_entry_complete() argument
356 if (evt_len > 8) { in btm_ble_read_resolving_list_entry_complete()
385 uint16_t evt_len = p_params->param_len; in btm_ble_resolving_list_vsc_op_cmpl() local
392 btm_ble_clear_resolving_list_complete(p, evt_len); in btm_ble_resolving_list_vsc_op_cmpl()
[all …]
Dbtm_ble_bgconn.cc92 static void acceptlist_add_command_complete(uint8_t* p_data, uint16_t evt_len) { in acceptlist_add_command_complete() argument
93 if (evt_len < sizeof(uint8_t)) { in acceptlist_add_command_complete()
94 LOG_ERROR("Received bogus acceptlist add complete length:%hu", evt_len); in acceptlist_add_command_complete()
103 uint16_t evt_len) { in acceptlist_remove_command_complete() argument
104 if (evt_len < sizeof(uint8_t)) { in acceptlist_remove_command_complete()
105 LOG_ERROR("Received bogus acceptlist remove complete length:%hu", evt_len); in acceptlist_remove_command_complete()
115 uint16_t evt_len) { in acceptlist_clear_command_complete() argument
116 if (evt_len < sizeof(uint8_t)) { in acceptlist_clear_command_complete()
117 LOG_ERROR("Received bogus acceptlist remove complete length:%hu", evt_len); in acceptlist_clear_command_complete()
Dbtm_devctl.cc386 void btm_read_local_name_complete(uint8_t* p, UNUSED_ATTR uint16_t evt_len) { in btm_read_local_name_complete() argument
474 void btm_vsc_complete(uint8_t* p, uint16_t opcode, uint16_t evt_len, in btm_vsc_complete() argument
482 vcs_cplt_params.param_len = evt_len; /* Number of bytes in return info */ in btm_vsc_complete()
548 void btm_vendor_specific_evt(uint8_t* p, uint8_t evt_len) { in btm_vendor_specific_evt() argument
560 if (len > 1 && evt_len > 1 && event_code == HCI_VENDOR_SPECIFIC_EVT) { in btm_vendor_specific_evt()
565 int16_t bqr_parameter_length = evt_len - HCIE_PREAMBLE_SIZE - 1; in btm_vendor_specific_evt()
595 (*btm_cb.devcb.p_vend_spec_cb[i])(evt_len, p); in btm_vendor_specific_evt()
Dbtm_iso.cc120 void IsoManager::HandleNumComplDataPkts(uint8_t* p, uint8_t evt_len) { in HandleNumComplDataPkts() argument
122 pimpl_->iso_impl_->handle_num_completed_pkts(p, evt_len); in HandleNumComplDataPkts()
Dbtm_ble_adv_filter.cc143 uint8_t* p, uint16_t evt_len) { in btm_flt_update_cb() argument
144 if (evt_len != 4) { in btm_flt_update_cb()
145 BTM_TRACE_ERROR("%s: bad length: %d", __func__, evt_len); in btm_flt_update_cb()
892 uint16_t evt_len) { in enable_cmpl_cback() argument
895 if (evt_len != 3) { in enable_cmpl_cback()
896 BTM_TRACE_ERROR("%s: APCF callback length = %d", __func__, evt_len); in enable_cmpl_cback()
/system/bt/stack/btu/
Dbtu_hcif.cc71 static void btu_hcif_connection_comp_evt(uint8_t* p, uint8_t evt_len);
75 static void btu_hcif_rmt_name_request_comp_evt(uint8_t* p, uint16_t evt_len);
78 uint8_t evt_len);
93 static void btu_ble_ll_conn_param_upd_evt(uint8_t* p, uint16_t evt_len);
96 static void btu_ble_data_length_change_evt(uint8_t* p, uint16_t evt_len);
950 static void btu_hcif_connection_comp_evt(uint8_t* p, uint8_t evt_len) { in btu_hcif_connection_comp_evt() argument
958 if (evt_len < 11) { in btu_hcif_connection_comp_evt()
960 HCI_TRACE_WARNING("%s: malformed event of size %hhd", __func__, evt_len); in btu_hcif_connection_comp_evt()
1067 static void btu_hcif_rmt_name_request_comp_evt(uint8_t* p, uint16_t evt_len) { in btu_hcif_rmt_name_request_comp_evt() argument
1074 evt_len -= (1 + BD_ADDR_LEN); in btu_hcif_rmt_name_request_comp_evt()
[all …]
/system/bt/stack/test/common/
Dmock_stack_l2cap_link.cc67 void l2c_link_process_num_completed_pkts(uint8_t* p, uint8_t evt_len) { in l2c_link_process_num_completed_pkts() argument
/system/bt/stack/acl/
Dbtm_acl.cc985 void btm_read_remote_ext_features_complete_raw(uint8_t* p, uint8_t evt_len) { in btm_read_remote_ext_features_complete_raw() argument
989 if (evt_len < HCI_EXT_FEATURES_SUCCESS_EVT_LEN) { in btm_read_remote_ext_features_complete_raw()
991 LOG_WARN("Remote extended feature length too short. length=%d", evt_len); in btm_read_remote_ext_features_complete_raw()
2808 static void acl_parse_num_completed_pkts(uint8_t* p, uint8_t evt_len) { in acl_parse_num_completed_pkts() argument
2809 if (evt_len == 0) { in acl_parse_num_completed_pkts()
2817 if (num_handles > evt_len / (2 * sizeof(uint16_t))) { in acl_parse_num_completed_pkts()
2819 num_handles = evt_len / (2 * sizeof(uint16_t)); in acl_parse_num_completed_pkts()
2832 void acl_process_num_completed_pkts(uint8_t* p, uint8_t evt_len) { in acl_process_num_completed_pkts() argument
2834 acl_parse_num_completed_pkts(p, evt_len); in acl_process_num_completed_pkts()
2836 l2c_link_process_num_completed_pkts(p, evt_len); in acl_process_num_completed_pkts()
[all …]
/system/nfc/src/nfa/include/
Dnfa_hci_api.h207 uint16_t evt_len; /* HCP EVT parameter length */ member

12