Home
last modified time | relevance | path

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

/external/bluetooth/bluedroid/bta/hh/
Dbta_hh_main.c321 cback_event = (p_data->api_sndcmd.t_type - BTA_HH_FST_BTE_TRANS_EVT) + in bta_hh_sm_execute()
323 if (p_data->api_sndcmd.p_data != NULL) in bta_hh_sm_execute()
325 GKI_freebuf(p_data->api_sndcmd.p_data); in bta_hh_sm_execute()
327 if (p_data->api_sndcmd.t_type == HID_TRANS_SET_PROTOCOL || in bta_hh_sm_execute()
328 p_data->api_sndcmd.t_type == HID_TRANS_SET_REPORT || in bta_hh_sm_execute()
329 p_data->api_sndcmd.t_type == HID_TRANS_SET_IDLE) in bta_hh_sm_execute()
332 cback_data.dev_status.handle = (UINT8)p_data->api_sndcmd.hdr.layer_specific; in bta_hh_sm_execute()
334 else if (p_data->api_sndcmd.t_type != HID_TRANS_DATA && in bta_hh_sm_execute()
335 p_data->api_sndcmd.t_type != HID_TRANS_CONTROL) in bta_hh_sm_execute()
337 cback_data.hs_data.handle = (UINT8)p_data->api_sndcmd.hdr.layer_specific; in bta_hh_sm_execute()
[all …]
Dbta_hh_act.c1081 UINT16 event = (p_data->api_sndcmd.t_type - BTA_HH_FST_BTE_TRANS_EVT) + in bta_hh_write_dev_act()
1094 if (p_data->api_sndcmd.t_type == HID_TRANS_SET_PROTOCOL) in bta_hh_write_dev_act()
1096 p_data->api_sndcmd.param = ( p_data->api_sndcmd.param == BTA_HH_PROTO_RPT_MODE) ?\ in bta_hh_write_dev_act()
1101 p_data->api_sndcmd.t_type, in bta_hh_write_dev_act()
1102 p_data->api_sndcmd.param, in bta_hh_write_dev_act()
1103 p_data->api_sndcmd.data, in bta_hh_write_dev_act()
1104 p_data->api_sndcmd.rpt_id, in bta_hh_write_dev_act()
1105 p_data->api_sndcmd.p_data) != HID_SUCCESS) in bta_hh_write_dev_act()
1110 if (p_data->api_sndcmd.t_type != HID_TRANS_CONTROL && in bta_hh_write_dev_act()
1111 p_data->api_sndcmd.t_type != HID_TRANS_DATA) in bta_hh_write_dev_act()
[all …]
Dbta_hh_le.c2622 switch(p_data->api_sndcmd.t_type) in bta_hh_le_write_dev_act()
2626 bta_hh_le_set_protocol_mode(p_cb, p_data->api_sndcmd.param); in bta_hh_le_write_dev_act()
2636 p_data->api_sndcmd.param, in bta_hh_le_write_dev_act()
2637 p_data->api_sndcmd.rpt_id); in bta_hh_le_write_dev_act()
2644 p_data->api_sndcmd.param, in bta_hh_le_write_dev_act()
2645 p_data->api_sndcmd.p_data, in bta_hh_le_write_dev_act()
2654 p_data->api_sndcmd.param, in bta_hh_le_write_dev_act()
2655 p_data->api_sndcmd.p_data, in bta_hh_le_write_dev_act()
2662 if (p_data->api_sndcmd.param == BTA_HH_CTRL_SUSPEND || in bta_hh_le_write_dev_act()
2663 p_data->api_sndcmd.param == BTA_HH_CTRL_EXIT_SUSPEND) in bta_hh_le_write_dev_act()
[all …]
Dbta_hh_int.h178 tBTA_HH_CMD_DATA api_sndcmd; member