Searched refs:api_sndcmd (Results 1 – 4 of 4) sorted by relevance
/system/bt/bta/hh/ |
D | bta_hh_main.cc | 224 cback_event = (p_data->api_sndcmd.t_type - HID_TRANS_GET_REPORT) + in bta_hh_sm_execute() 226 osi_free_and_reset((void**)&p_data->api_sndcmd.p_data); in bta_hh_sm_execute() 227 if (p_data->api_sndcmd.t_type == HID_TRANS_SET_PROTOCOL || in bta_hh_sm_execute() 228 p_data->api_sndcmd.t_type == HID_TRANS_SET_REPORT || in bta_hh_sm_execute() 229 p_data->api_sndcmd.t_type == HID_TRANS_SET_IDLE) { in bta_hh_sm_execute() 232 (uint8_t)p_data->api_sndcmd.hdr.layer_specific; in bta_hh_sm_execute() 233 } else if (p_data->api_sndcmd.t_type != HID_TRANS_DATA && in bta_hh_sm_execute() 234 p_data->api_sndcmd.t_type != HID_TRANS_CONTROL) { in bta_hh_sm_execute() 236 (uint8_t)p_data->api_sndcmd.hdr.layer_specific; in bta_hh_sm_execute() 239 } else if (p_data->api_sndcmd.t_type == HID_TRANS_CONTROL && in bta_hh_sm_execute() [all …]
|
D | bta_hh_act.cc | 1005 static uint8_t convert_api_sndcmd_param(const tBTA_HH_CMD_DATA& api_sndcmd) { in convert_api_sndcmd_param() argument 1006 uint8_t api_sndcmd_param = api_sndcmd.param; in convert_api_sndcmd_param() 1007 if (api_sndcmd.t_type == HID_TRANS_SET_PROTOCOL) { in convert_api_sndcmd_param() 1008 api_sndcmd_param = (api_sndcmd.param == BTA_HH_PROTO_RPT_MODE) in convert_api_sndcmd_param() 1018 (p_data->api_sndcmd.t_type - HID_TRANS_GET_REPORT) + BTA_HH_GET_RPT_EVT; in bta_hh_write_dev_act() 1029 convert_api_sndcmd_param(p_data->api_sndcmd); in bta_hh_write_dev_act() 1031 if (HID_HostWriteDev(p_cb->hid_handle, p_data->api_sndcmd.t_type, in bta_hh_write_dev_act() 1032 api_sndcmd_param, p_data->api_sndcmd.data, in bta_hh_write_dev_act() 1033 p_data->api_sndcmd.rpt_id, in bta_hh_write_dev_act() 1034 p_data->api_sndcmd.p_data) != HID_SUCCESS) { in bta_hh_write_dev_act() [all …]
|
D | bta_hh_le.cc | 1865 switch (p_data->api_sndcmd.t_type) { in bta_hh_le_write_dev_act() 1868 bta_hh_le_set_protocol_mode(p_cb, p_data->api_sndcmd.param); in bta_hh_le_write_dev_act() 1876 bta_hh_le_get_rpt(p_cb, p_data->api_sndcmd.param, in bta_hh_le_write_dev_act() 1877 p_data->api_sndcmd.rpt_id); in bta_hh_le_write_dev_act() 1881 bta_hh_le_write_rpt(p_cb, p_data->api_sndcmd.param, in bta_hh_le_write_dev_act() 1882 p_data->api_sndcmd.p_data, BTA_HH_SET_RPT_EVT); in bta_hh_le_write_dev_act() 1887 bta_hh_le_write_rpt(p_cb, p_data->api_sndcmd.param, in bta_hh_le_write_dev_act() 1888 p_data->api_sndcmd.p_data, BTA_HH_DATA_EVT); in bta_hh_le_write_dev_act() 1894 if (p_data->api_sndcmd.param == BTA_HH_CTRL_SUSPEND || in bta_hh_le_write_dev_act() 1895 p_data->api_sndcmd.param == BTA_HH_CTRL_EXIT_SUSPEND) { in bta_hh_le_write_dev_act() [all …]
|
D | bta_hh_int.h | 135 tBTA_HH_CMD_DATA api_sndcmd; member
|