Lines Matching refs:api_sndcmd
1005 static uint8_t convert_api_sndcmd_param(const tBTA_HH_CMD_DATA& api_sndcmd) { in convert_api_sndcmd_param() argument
1006 uint8_t api_sndcmd_param = api_sndcmd.param; in convert_api_sndcmd_param()
1007 if (api_sndcmd.t_type == HID_TRANS_SET_PROTOCOL) { in convert_api_sndcmd_param()
1008 api_sndcmd_param = (api_sndcmd.param == BTA_HH_PROTO_RPT_MODE) in convert_api_sndcmd_param()
1018 (p_data->api_sndcmd.t_type - HID_TRANS_GET_REPORT) + BTA_HH_GET_RPT_EVT; in bta_hh_write_dev_act()
1029 convert_api_sndcmd_param(p_data->api_sndcmd); in bta_hh_write_dev_act()
1031 if (HID_HostWriteDev(p_cb->hid_handle, p_data->api_sndcmd.t_type, in bta_hh_write_dev_act()
1032 api_sndcmd_param, p_data->api_sndcmd.data, in bta_hh_write_dev_act()
1033 p_data->api_sndcmd.rpt_id, in bta_hh_write_dev_act()
1034 p_data->api_sndcmd.p_data) != HID_SUCCESS) { in bta_hh_write_dev_act()
1038 if (p_data->api_sndcmd.t_type != HID_TRANS_CONTROL && in bta_hh_write_dev_act()
1039 p_data->api_sndcmd.t_type != HID_TRANS_DATA) in bta_hh_write_dev_act()
1044 switch (p_data->api_sndcmd.t_type) { in bta_hh_write_dev_act()
1072 p_data->api_sndcmd.t_type); in bta_hh_write_dev_act()
1077 if (p_data->api_sndcmd.t_type != HID_TRANS_CONTROL) { in bta_hh_write_dev_act()