Home
last modified time | relevance | path

Searched refs:tBTA_HH_DEV_CB (Results 1 – 9 of 9) sorted by relevance

/packages/modules/Bluetooth/system/bta/hh/
Dbta_hh_int.h228 } tBTA_HH_DEV_CB; typedef
234 tBTA_HH_DEV_CB kdev[BTA_HH_MAX_DEVICE]; /* device control block */
235 tBTA_HH_DEV_CB* p_cur; /* current device control
257 void bta_hh_sm_execute(tBTA_HH_DEV_CB* p_cb, uint16_t event,
261 void bta_hh_api_disc_act(tBTA_HH_DEV_CB* p_cb, const tBTA_HH_DATA* p_data);
262 void bta_hh_open_act(tBTA_HH_DEV_CB* p_cb, const tBTA_HH_DATA* p_data);
263 void bta_hh_close_act(tBTA_HH_DEV_CB* p_cb, const tBTA_HH_DATA* p_data);
264 void bta_hh_data_act(tBTA_HH_DEV_CB* p_cb, const tBTA_HH_DATA* p_data);
265 void bta_hh_ctrl_dat_act(tBTA_HH_DEV_CB* p_cb, const tBTA_HH_DATA* p_data);
266 void bta_hh_connect(tBTA_HH_DEV_CB* p_cb, const tBTA_HH_DATA* p_data);
[all …]
Dbta_hh_le.cc83 static void bta_hh_le_add_dev_bg_conn(tBTA_HH_DEV_CB* p_cb);
84 static void bta_hh_process_cache_rpt(tBTA_HH_DEV_CB* p_cb,
104 static void bta_hh_le_hid_report_dbg(tBTA_HH_DEV_CB* p_cb) { in bta_hh_le_hid_report_dbg()
256 void bta_hh_le_open_conn(tBTA_HH_DEV_CB* p_cb, const tAclLinkSpec& link_spec) { in bta_hh_le_open_conn()
282 static tBTA_HH_DEV_CB* bta_hh_le_find_dev_cb_by_conn_id(uint16_t conn_id) { in bta_hh_le_find_dev_cb_by_conn_id()
284 tBTA_HH_DEV_CB* p_dev_cb = &bta_hh_cb.kdev[0]; in bta_hh_le_find_dev_cb_by_conn_id()
300 static tBTA_HH_DEV_CB* bta_hh_le_find_dev_cb_by_bda( in bta_hh_le_find_dev_cb_by_bda()
303 tBTA_HH_DEV_CB* p_dev_cb = &bta_hh_cb.kdev[0]; in bta_hh_le_find_dev_cb_by_bda()
322 tBTA_HH_DEV_CB* p_cb, uint8_t ba_inst_id) { in bta_hh_le_find_service_inst_by_battery_inst_id()
339 tBTA_HH_DEV_CB* p_cb, uint8_t srvc_inst_id, /* service instance ID */ in bta_hh_le_find_report_entry()
[all …]
Dbta_hh_headtracker.cc32 tBTA_HH_DEV_CB* p_dev_cb, const gatt::Characteristic& charac) { in bta_hh_headtracker_parse_version_charac()
46 tBTA_HH_DEV_CB* p_dev_cb, const gatt::Characteristic& charac) { in bta_hh_headtracker_prase_control_charac()
60 tBTA_HH_DEV_CB* p_dev_cb, const gatt::Characteristic& charac) { in bta_hh_headtracker_parse_report_charac()
103 void bta_hh_headtracker_parse_service(tBTA_HH_DEV_CB* p_dev_cb, in bta_hh_headtracker_parse_service()
145 bool bta_hh_headtracker_supported(tBTA_HH_DEV_CB* p_dev_cb) { in bta_hh_headtracker_supported()
185 uint16_t bta_hh_get_uuid16(tBTA_HH_DEV_CB* p_dev_cb, Uuid uuid) { in bta_hh_get_uuid16()
Dbta_hh_utils.cc102 tBTA_HH_DEV_CB* bta_hh_get_cb(const tAclLinkSpec& link_spec) { in bta_hh_get_cb()
120 void bta_hh_clean_up_kdev(tBTA_HH_DEV_CB* p_cb) { in bta_hh_clean_up_kdev()
144 memset(p_cb, 0, sizeof(tBTA_HH_DEV_CB)); /* Reset control block */ in bta_hh_clean_up_kdev()
159 void bta_hh_update_di_info(tBTA_HH_DEV_CB* p_cb, uint16_t vendor_id, in bta_hh_update_di_info()
181 void bta_hh_add_device_to_list(tBTA_HH_DEV_CB* p_cb, uint8_t handle, in bta_hh_add_device_to_list()
223 bool bta_hh_tod_spt(tBTA_HH_DEV_CB* p_cb, uint8_t sub_class) { in bta_hh_tod_spt()
255 tBTA_HH_DEV_CB* p_cb = bta_hh_get_cb(link_spec); in bta_hh_read_ssr_param()
Dbta_hh_act.cc200 tBTA_HH_DEV_CB* p_cb = bta_hh_cb.p_cur; in bta_hh_sdp_cback()
268 tBTA_HH_DEV_CB* p_cb = bta_hh_cb.p_cur; in bta_hh_di_sdp_cback()
328 static void bta_hh_start_sdp(tBTA_HH_DEV_CB* p_cb, const tBTA_HH_DATA* p_data) { in bta_hh_start_sdp()
371 void bta_hh_sdp_cmpl(tBTA_HH_DEV_CB* p_cb, const tBTA_HH_DATA* p_data) { in bta_hh_sdp_cmpl()
454 static void bta_hh_bredr_conn(tBTA_HH_DEV_CB* p_cb, const tBTA_HH_DATA* p_data) { in bta_hh_bredr_conn()
496 void bta_hh_connect(tBTA_HH_DEV_CB* p_cb, const tBTA_HH_DATA* p_data) { in bta_hh_connect()
519 void bta_hh_api_disc_act(tBTA_HH_DEV_CB* p_cb, const tBTA_HH_DATA* p_data) { in bta_hh_api_disc_act()
557 void bta_hh_open_cmpl_act(tBTA_HH_DEV_CB* p_cb, const tBTA_HH_DATA* p_data) { in bta_hh_open_cmpl_act()
614 void bta_hh_open_act(tBTA_HH_DEV_CB* p_cb, const tBTA_HH_DATA* p_data) { in bta_hh_open_act()
653 void bta_hh_data_act(tBTA_HH_DEV_CB* p_cb, const tBTA_HH_DATA* p_data) { in bta_hh_data_act()
[all …]
Dbta_hh_main.cc50 static void bta_hh_better_state_machine(tBTA_HH_DEV_CB* p_cb, uint16_t event, in bta_hh_better_state_machine()
194 void bta_hh_sm_execute(tBTA_HH_DEV_CB* p_cb, uint16_t event, in bta_hh_sm_execute()
309 tBTA_HH_DEV_CB* p_cb = NULL; in bta_hh_hdl_event()
/packages/modules/Bluetooth/system/test/mock/
Dmock_bta_hh_utils.h43 std::function<void(tBTA_HH_DEV_CB* p_cb, uint8_t handle, uint16_t attr_mask,
47 body{[](tBTA_HH_DEV_CB* /* p_cb */, uint8_t /* handle */,
52 void operator()(tBTA_HH_DEV_CB* p_cb, uint8_t handle, uint16_t attr_mask, in operator()
66 std::function<void(tBTA_HH_DEV_CB* p_cb)> body{
67 [](tBTA_HH_DEV_CB* /* p_cb */) {}};
68 void operator()(tBTA_HH_DEV_CB* p_cb) { body(p_cb); }; in operator()
108 tBTA_HH_DEV_CB* return_value{0};
109 std::function<tBTA_HH_DEV_CB*(const tAclLinkSpec& link_spec)> body{
111 tBTA_HH_DEV_CB* operator()(const tAclLinkSpec& link_spec) { in operator()
140 std::function<bool(tBTA_HH_DEV_CB* p_cb, uint8_t sub_class)> body{
[all …]
Dmock_bta_hh_utils.cc55 void bta_hh_add_device_to_list(tBTA_HH_DEV_CB* p_cb, uint8_t handle, in bta_hh_add_device_to_list()
65 void bta_hh_clean_up_kdev(tBTA_HH_DEV_CB* p_cb) { in bta_hh_clean_up_kdev()
81 tBTA_HH_DEV_CB* bta_hh_get_cb(const tAclLinkSpec& link_spec) { in bta_hh_get_cb()
92 bool bta_hh_tod_spt(tBTA_HH_DEV_CB* p_cb, uint8_t sub_class) { in bta_hh_tod_spt()
100 void bta_hh_update_di_info(tBTA_HH_DEV_CB* p_cb, uint16_t vendor_id, in bta_hh_update_di_info()
/packages/modules/Bluetooth/system/bta/test/
Dbta_hh_test.cc67 tBTA_HH_DEV_CB cb = { in TEST_F()