Home
last modified time | relevance | path

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

/system/bt/bta/hh/
Dbta_hh_main.cc271 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 …]
Dbta_hh_act.cc1029 uint16_t event = (p_data->api_sndcmd.t_type - BTA_HH_FST_BTE_TRANS_EVT) + in bta_hh_write_dev_act()
1042 if (p_data->api_sndcmd.t_type == HID_TRANS_SET_PROTOCOL) { in bta_hh_write_dev_act()
1043 p_data->api_sndcmd.param = in bta_hh_write_dev_act()
1044 (p_data->api_sndcmd.param == BTA_HH_PROTO_RPT_MODE) in bta_hh_write_dev_act()
1049 if (HID_HostWriteDev(p_cb->hid_handle, p_data->api_sndcmd.t_type, in bta_hh_write_dev_act()
1050 p_data->api_sndcmd.param, p_data->api_sndcmd.data, in bta_hh_write_dev_act()
1051 p_data->api_sndcmd.rpt_id, in bta_hh_write_dev_act()
1052 p_data->api_sndcmd.p_data) != HID_SUCCESS) { in bta_hh_write_dev_act()
1056 if (p_data->api_sndcmd.t_type != HID_TRANS_CONTROL && in bta_hh_write_dev_act()
1057 p_data->api_sndcmd.t_type != HID_TRANS_DATA) in bta_hh_write_dev_act()
[all …]
Dbta_hh_le.cc1910 switch (p_data->api_sndcmd.t_type) { in bta_hh_le_write_dev_act()
1913 bta_hh_le_set_protocol_mode(p_cb, p_data->api_sndcmd.param); in bta_hh_le_write_dev_act()
1921 bta_hh_le_get_rpt(p_cb, p_data->api_sndcmd.param, in bta_hh_le_write_dev_act()
1922 p_data->api_sndcmd.rpt_id); in bta_hh_le_write_dev_act()
1926 bta_hh_le_write_rpt(p_cb, p_data->api_sndcmd.param, in bta_hh_le_write_dev_act()
1927 p_data->api_sndcmd.p_data, BTA_HH_SET_RPT_EVT); in bta_hh_le_write_dev_act()
1932 bta_hh_le_write_rpt(p_cb, p_data->api_sndcmd.param, in bta_hh_le_write_dev_act()
1933 p_data->api_sndcmd.p_data, BTA_HH_DATA_EVT); in bta_hh_le_write_dev_act()
1939 if (p_data->api_sndcmd.param == BTA_HH_CTRL_SUSPEND || in bta_hh_le_write_dev_act()
1940 p_data->api_sndcmd.param == BTA_HH_CTRL_EXIT_SUSPEND) { in bta_hh_le_write_dev_act()
[all …]
Dbta_hh_int.h161 tBTA_HH_CMD_DATA api_sndcmd; member