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.c321 cback_event = (p_data->api_sndcmd.t_type - BTA_HH_FST_BTE_TRANS_EVT) + in bta_hh_sm_execute()
323 osi_free_and_reset((void **)&p_data->api_sndcmd.p_data); in bta_hh_sm_execute()
324 if (p_data->api_sndcmd.t_type == HID_TRANS_SET_PROTOCOL || in bta_hh_sm_execute()
325 p_data->api_sndcmd.t_type == HID_TRANS_SET_REPORT || in bta_hh_sm_execute()
326 p_data->api_sndcmd.t_type == HID_TRANS_SET_IDLE) in bta_hh_sm_execute()
329 cback_data.dev_status.handle = (UINT8)p_data->api_sndcmd.hdr.layer_specific; in bta_hh_sm_execute()
331 else if (p_data->api_sndcmd.t_type != HID_TRANS_DATA && in bta_hh_sm_execute()
332 p_data->api_sndcmd.t_type != HID_TRANS_CONTROL) in bta_hh_sm_execute()
334 cback_data.hs_data.handle = (UINT8)p_data->api_sndcmd.hdr.layer_specific; in bta_hh_sm_execute()
338 else if (p_data->api_sndcmd.t_type == HID_TRANS_CONTROL && in bta_hh_sm_execute()
[all …]
Dbta_hh_act.c1083 UINT16 event = (p_data->api_sndcmd.t_type - BTA_HH_FST_BTE_TRANS_EVT) + in bta_hh_write_dev_act()
1096 if (p_data->api_sndcmd.t_type == HID_TRANS_SET_PROTOCOL) in bta_hh_write_dev_act()
1098 p_data->api_sndcmd.param = ( p_data->api_sndcmd.param == BTA_HH_PROTO_RPT_MODE) ?\ in bta_hh_write_dev_act()
1103 p_data->api_sndcmd.t_type, in bta_hh_write_dev_act()
1104 p_data->api_sndcmd.param, in bta_hh_write_dev_act()
1105 p_data->api_sndcmd.data, in bta_hh_write_dev_act()
1106 p_data->api_sndcmd.rpt_id, in bta_hh_write_dev_act()
1107 p_data->api_sndcmd.p_data) != HID_SUCCESS) in bta_hh_write_dev_act()
1112 if (p_data->api_sndcmd.t_type != HID_TRANS_CONTROL && in bta_hh_write_dev_act()
1113 p_data->api_sndcmd.t_type != HID_TRANS_DATA) in bta_hh_write_dev_act()
[all …]
Dbta_hh_le.c2359 switch(p_data->api_sndcmd.t_type) in bta_hh_le_write_dev_act()
2363 bta_hh_le_set_protocol_mode(p_cb, p_data->api_sndcmd.param); in bta_hh_le_write_dev_act()
2372 p_data->api_sndcmd.param, in bta_hh_le_write_dev_act()
2373 p_data->api_sndcmd.rpt_id); in bta_hh_le_write_dev_act()
2378 p_data->api_sndcmd.param, in bta_hh_le_write_dev_act()
2379 p_data->api_sndcmd.p_data, in bta_hh_le_write_dev_act()
2386 p_data->api_sndcmd.param, in bta_hh_le_write_dev_act()
2387 p_data->api_sndcmd.p_data, in bta_hh_le_write_dev_act()
2394 if (p_data->api_sndcmd.param == BTA_HH_CTRL_SUSPEND || in bta_hh_le_write_dev_act()
2395 p_data->api_sndcmd.param == BTA_HH_CTRL_EXIT_SUSPEND) in bta_hh_le_write_dev_act()
[all …]
Dbta_hh_int.h177 tBTA_HH_CMD_DATA api_sndcmd; member