Searched refs:p_report (Results 1 – 7 of 7) sorted by relevance
/system/bt/bta/hd/ |
D | bta_hd_api.cc | 171 extern void BTA_HdSendReport(tBTA_HD_REPORT* p_report) { in BTA_HdSendReport() argument 174 if (p_report->len > BTA_HD_REPORT_LEN) { in BTA_HdSendReport() 178 __func__, p_report->len, BTA_HD_REPORT_LEN); in BTA_HdSendReport() 186 p_buf->use_intr = p_report->use_intr; in BTA_HdSendReport() 187 p_buf->type = p_report->type; in BTA_HdSendReport() 188 p_buf->id = p_report->id; in BTA_HdSendReport() 189 p_buf->len = p_report->len; in BTA_HdSendReport() 190 memcpy(p_buf->data, p_report->p_data, p_report->len); in BTA_HdSendReport()
|
D | bta_hd_act.cc | 373 tBTA_HD_SEND_REPORT* p_report = (tBTA_HD_SEND_REPORT*)p_data; in bta_hd_send_report_act() local 379 channel = p_report->use_intr ? HID_CHANNEL_INTR : HID_CHANNEL_CTRL; in bta_hd_send_report_act() 381 (bta_hd_cb.use_report_id || bta_hd_cb.boot_mode) ? p_report->id : 0x00; in bta_hd_send_report_act() 383 HID_DevSendReport(channel, p_report->type, report_id, p_report->len, in bta_hd_send_report_act() 384 p_report->data); in bta_hd_send_report_act() 401 tBTA_HD_REPORT_ERR* p_report = (tBTA_HD_REPORT_ERR*)p_data; in bta_hd_report_error_act() local 404 APPL_TRACE_API("%s: error = %d", __func__, p_report->error); in bta_hd_report_error_act() 406 ret = HID_DevReportError(p_report->error); in bta_hd_report_error_act()
|
/system/bt/bta/hh/ |
D | bta_hh_utils.cc | 240 void bta_hh_parse_keybd_rpt(tBTA_HH_BOOT_RPT* p_kb_data, uint8_t* p_report, in bta_hh_parse_keybd_rpt() argument 251 p_report, report_len); in bta_hh_parse_keybd_rpt() 256 ctl_shift = *p_report++; in bta_hh_parse_keybd_rpt() 263 memcpy(this_report, p_report, report_len); in bta_hh_parse_keybd_rpt() 312 memcpy(p_kb->last_report, p_report, report_len); in bta_hh_parse_keybd_rpt() 326 void bta_hh_parse_mice_rpt(tBTA_HH_BOOT_RPT* p_mice_data, uint8_t* p_report, in bta_hh_parse_mice_rpt() argument 335 p_report, report_len); in bta_hh_parse_mice_rpt() 344 APPL_TRACE_DEBUG("this_char = %02x", p_report[xx]); in bta_hh_parse_mice_rpt() 349 p_data->mouse_button = (p_report[0] & 0x07); in bta_hh_parse_mice_rpt() 352 p_data->delta_x = p_report[1]; in bta_hh_parse_mice_rpt() [all …]
|
D | bta_hh_api.cc | 391 void BTA_HhParseBootRpt(tBTA_HH_BOOT_RPT* p_data, uint8_t* p_report, in BTA_HhParseBootRpt() argument 395 if (p_report) { in BTA_HhParseBootRpt() 397 switch (p_report[0]) { in BTA_HhParseBootRpt() 399 p_data->dev_type = p_report[0]; in BTA_HhParseBootRpt() 400 bta_hh_parse_keybd_rpt(p_data, p_report + 1, in BTA_HhParseBootRpt() 405 p_data->dev_type = p_report[0]; in BTA_HhParseBootRpt() 406 bta_hh_parse_mice_rpt(p_data, p_report + 1, (uint16_t)(report_len - 1)); in BTA_HhParseBootRpt() 410 APPL_TRACE_DEBUG("Unknown boot report: %d", p_report[0]); in BTA_HhParseBootRpt()
|
D | bta_hh_int.h | 328 uint8_t* p_report, uint16_t report_len); 330 uint8_t* p_report, uint16_t report_len);
|
/system/bt/bta/include/ |
D | bta_hd_api.h | 195 extern void BTA_HdSendReport(tBTA_HD_REPORT* p_report);
|
D | bta_hh_api.h | 514 extern void BTA_HhParseBootRpt(tBTA_HH_BOOT_RPT* p_data, uint8_t* p_report,
|