Searched refs:p_uhid (Results 1 – 3 of 3) sorted by relevance
/packages/modules/Bluetooth/system/btif/co/ |
D | bta_hh_co.cc | 71 static bool uhid_feature_req_handler(btif_hh_uhid_t* p_uhid, in uhid_feature_req_handler() argument 80 if (p_uhid->get_rpt_id_queue == nullptr) { in uhid_feature_req_handler() 88 if (!fixed_queue_try_enqueue(p_uhid->get_rpt_id_queue, (void*)context)) { in uhid_feature_req_handler() 94 btif_hh_getreport(p_uhid, map_rtype_uhid_hh[req.rtype], req.rnum, 0); in uhid_feature_req_handler() 99 static bool uhid_set_report_req_handler(btif_hh_uhid_t* p_uhid, in uhid_set_report_req_handler() argument 108 if (p_uhid->set_rpt_id_queue == nullptr) { in uhid_set_report_req_handler() 116 if (!fixed_queue_try_enqueue(p_uhid->set_rpt_id_queue, (void*)context)) { in uhid_set_report_req_handler() 122 btif_hh_setreport(p_uhid, map_rtype_uhid_hh[req.rtype], req.size, req.data); in uhid_set_report_req_handler() 145 static int uhid_read_event(btif_hh_uhid_t* p_uhid) { in uhid_read_event() argument 146 log::assert_that(p_uhid != nullptr, "assert failed: p_uhid != nullptr"); in uhid_read_event() [all …]
|
/packages/modules/Bluetooth/system/btif/include/ |
D | btif_hh.h | 148 void btif_hh_setreport(btif_hh_uhid_t* p_uhid, bthh_report_type_t r_type, 150 void btif_hh_senddata(btif_hh_uhid_t* p_uhid, uint16_t size, uint8_t* report); 151 void btif_hh_getreport(btif_hh_uhid_t* p_uhid, bthh_report_type_t r_type,
|
/packages/modules/Bluetooth/system/btif/src/ |
D | btif_hh.cc | 890 void btif_hh_setreport(btif_hh_uhid_t* p_uhid, bthh_report_type_t r_type, in btif_hh_setreport() argument 897 BTA_HhSetReport(p_uhid->dev_handle, r_type, p_buf); in btif_hh_setreport() 909 void btif_hh_senddata(btif_hh_uhid_t* p_uhid, uint16_t size, uint8_t* report) { in btif_hh_senddata() argument 916 BTA_HhSendData(p_uhid->dev_handle, p_uhid->link_spec, p_buf); in btif_hh_senddata() 958 void btif_hh_getreport(btif_hh_uhid_t* p_uhid, bthh_report_type_t r_type, in btif_hh_getreport() argument 960 BTA_HhGetReport(p_uhid->dev_handle, r_type, reportId, bufferSize); in btif_hh_getreport()
|