Searched refs:api_sndcmd (Results 1 – 4 of 4) sorted by relevance
/system/bt/bta/hh/ |
D | bta_hh_main.cc | 271 cback_event = (p_data->api_sndcmd.t_type - BTA_HH_FST_BTE_TRANS_EVT) + in bta_hh_sm_execute() 273 osi_free_and_reset((void**)&p_data->api_sndcmd.p_data); in bta_hh_sm_execute() 274 if (p_data->api_sndcmd.t_type == HID_TRANS_SET_PROTOCOL || in bta_hh_sm_execute() 275 p_data->api_sndcmd.t_type == HID_TRANS_SET_REPORT || in bta_hh_sm_execute() 276 p_data->api_sndcmd.t_type == HID_TRANS_SET_IDLE) { in bta_hh_sm_execute() 279 (uint8_t)p_data->api_sndcmd.hdr.layer_specific; in bta_hh_sm_execute() 280 } else if (p_data->api_sndcmd.t_type != HID_TRANS_DATA && in bta_hh_sm_execute() 281 p_data->api_sndcmd.t_type != HID_TRANS_CONTROL) { in bta_hh_sm_execute() 283 (uint8_t)p_data->api_sndcmd.hdr.layer_specific; in bta_hh_sm_execute() 286 } else if (p_data->api_sndcmd.t_type == HID_TRANS_CONTROL && in bta_hh_sm_execute() [all …]
|
D | bta_hh_act.cc | 1031 uint16_t event = (p_data->api_sndcmd.t_type - BTA_HH_FST_BTE_TRANS_EVT) + in bta_hh_write_dev_act() 1044 if (p_data->api_sndcmd.t_type == HID_TRANS_SET_PROTOCOL) { in bta_hh_write_dev_act() 1045 p_data->api_sndcmd.param = in bta_hh_write_dev_act() 1046 (p_data->api_sndcmd.param == BTA_HH_PROTO_RPT_MODE) in bta_hh_write_dev_act() 1051 if (HID_HostWriteDev(p_cb->hid_handle, p_data->api_sndcmd.t_type, in bta_hh_write_dev_act() 1052 p_data->api_sndcmd.param, p_data->api_sndcmd.data, in bta_hh_write_dev_act() 1053 p_data->api_sndcmd.rpt_id, in bta_hh_write_dev_act() 1054 p_data->api_sndcmd.p_data) != HID_SUCCESS) { in bta_hh_write_dev_act() 1058 if (p_data->api_sndcmd.t_type != HID_TRANS_CONTROL && in bta_hh_write_dev_act() 1059 p_data->api_sndcmd.t_type != HID_TRANS_DATA) in bta_hh_write_dev_act() [all …]
|
D | bta_hh_le.cc | 1909 switch (p_data->api_sndcmd.t_type) { in bta_hh_le_write_dev_act() 1912 bta_hh_le_set_protocol_mode(p_cb, p_data->api_sndcmd.param); in bta_hh_le_write_dev_act() 1920 bta_hh_le_get_rpt(p_cb, p_data->api_sndcmd.param, in bta_hh_le_write_dev_act() 1921 p_data->api_sndcmd.rpt_id); in bta_hh_le_write_dev_act() 1925 bta_hh_le_write_rpt(p_cb, p_data->api_sndcmd.param, in bta_hh_le_write_dev_act() 1926 p_data->api_sndcmd.p_data, BTA_HH_SET_RPT_EVT); in bta_hh_le_write_dev_act() 1931 bta_hh_le_write_rpt(p_cb, p_data->api_sndcmd.param, in bta_hh_le_write_dev_act() 1932 p_data->api_sndcmd.p_data, BTA_HH_DATA_EVT); in bta_hh_le_write_dev_act() 1938 if (p_data->api_sndcmd.param == BTA_HH_CTRL_SUSPEND || in bta_hh_le_write_dev_act() 1939 p_data->api_sndcmd.param == BTA_HH_CTRL_EXIT_SUSPEND) { in bta_hh_le_write_dev_act() [all …]
|
D | bta_hh_int.h | 161 tBTA_HH_CMD_DATA api_sndcmd; member
|