Home
last modified time | relevance | path

Searched refs:api_sndcmd (Results 1 – 3 of 3) sorted by relevance

/external/bluetooth/bluedroid/bta/hh/
Dbta_hh_main.c220 cback_event = (p_data->api_sndcmd.t_type - BTA_HH_FST_BTE_TRANS_EVT) + in bta_hh_sm_execute()
222 if (p_data->api_sndcmd.t_type == HID_TRANS_SET_PROTOCOL || in bta_hh_sm_execute()
223 p_data->api_sndcmd.t_type == HID_TRANS_SET_REPORT || in bta_hh_sm_execute()
224 p_data->api_sndcmd.t_type == HID_TRANS_SET_IDLE) in bta_hh_sm_execute()
227 cback_data.dev_status.handle = (UINT8)p_data->api_sndcmd.hdr.layer_specific; in bta_hh_sm_execute()
229 else if (p_data->api_sndcmd.t_type != HID_TRANS_DATA && in bta_hh_sm_execute()
230 p_data->api_sndcmd.t_type != HID_TRANS_CONTROL) in bta_hh_sm_execute()
232 cback_data.hs_data.handle = (UINT8)p_data->api_sndcmd.hdr.layer_specific; in bta_hh_sm_execute()
242 cback_data.dev_status.handle = (UINT8)p_data->api_sndcmd.hdr.layer_specific; in bta_hh_sm_execute()
Dbta_hh_act.c957 UINT16 event = (p_data->api_sndcmd.t_type - BTA_HH_FST_BTE_TRANS_EVT) + in bta_hh_write_dev_act()
963 if (p_data->api_sndcmd.t_type == HID_TRANS_SET_PROTOCOL) in bta_hh_write_dev_act()
965 p_data->api_sndcmd.param = ( p_data->api_sndcmd.param == BTA_HH_PROTO_RPT_MODE) ?\ in bta_hh_write_dev_act()
970 p_data->api_sndcmd.t_type, in bta_hh_write_dev_act()
971 p_data->api_sndcmd.param, in bta_hh_write_dev_act()
972 p_data->api_sndcmd.data, in bta_hh_write_dev_act()
973 p_data->api_sndcmd.rpt_id, in bta_hh_write_dev_act()
974 p_data->api_sndcmd.p_data) != HID_SUCCESS) in bta_hh_write_dev_act()
979 if (p_data->api_sndcmd.t_type != HID_TRANS_CONTROL && in bta_hh_write_dev_act()
980 p_data->api_sndcmd.t_type != HID_TRANS_DATA) in bta_hh_write_dev_act()
[all …]
Dbta_hh_int.h133 tBTA_HH_CMD_DATA api_sndcmd; member