Lines Matching refs:hid_handle
251 p_cb->hid_handle = bta_hh_le_get_le_dev_hdl(p_cb->index); in bta_hh_le_open_conn()
252 if (p_cb->hid_handle == BTA_HH_IDX_INVALID) { in bta_hh_le_open_conn()
258 bta_hh_cb.le_cb_index[BTA_HH_GET_LE_CB_IDX(p_cb->hid_handle)] = p_cb->index; in bta_hh_le_open_conn()
739 cback_data.handle = p_dev_cb->hid_handle; in write_proto_mode_cb()
769 cback_data.handle = p_cb->hid_handle; in bta_hh_le_set_protocol_mode()
816 hs_data.handle = p_dev_cb->hid_handle; in get_protocol_mode_cb()
862 hs_data.handle = p_cb->hid_handle; in bta_hh_le_get_protocol_mode()
1103 p_cb->hid_handle = bta_hh_le_get_le_dev_hdl(p_cb->index); in bta_hh_gatt_open()
1104 if (p_cb->hid_handle == BTA_HH_IDX_INVALID) { in bta_hh_gatt_open()
1113 bta_hh_cb.le_cb_index[BTA_HH_GET_LE_CB_IDX(p_cb->hid_handle)] = p_cb->index; in bta_hh_gatt_open()
1118 p_cb->hid_handle, p_cb->conn_id, p_cb->index); in bta_hh_gatt_open()
1158 static_cast<uint16_t>(p_cb->hid_handle), in bta_hh_le_close()
1567 bta_hh_co_data((uint8_t)p_dev_cb->hid_handle, p_buf, p_data->len, in bta_hh_le_input_rpt_notify()
1593 conn_dat.handle = p_cb->hid_handle; in bta_hh_le_open_fail()
1621 bta_hh_co_close(p_cb->hid_handle, p_cb->app_id); in bta_hh_gatt_close()
1627 .handle = p_cb->hid_handle, in bta_hh_gatt_close()
1705 hs_data.handle = p_dev_cb->hid_handle; in read_report_cb()
1785 cback_data.handle = p_dev_cb->hid_handle; in write_report_cb()
1964 p_cb->hid_handle = bta_hh_le_get_le_dev_hdl(p_cb->index); in bta_hh_le_add_device()
1965 if (p_cb->hid_handle == BTA_HH_INVALID_HANDLE) return BTA_HH_INVALID_HANDLE; in bta_hh_le_add_device()
1966 bta_hh_cb.le_cb_index[BTA_HH_GET_LE_CB_IDX(p_cb->hid_handle)] = p_cb->index; in bta_hh_le_add_device()
1975 p_cb, p_cb->hid_handle, p_dev_info->attr_mask, in bta_hh_le_add_device()
1982 return p_cb->hid_handle; in bta_hh_le_add_device()