Home
last modified time | relevance | path

Searched refs:hid_handle (Results 1 – 6 of 6) sorted by relevance

/external/bluetooth/bluedroid/bta/hh/
Dbta_hh_act.c91 bta_hh_cb.kdev[xx].hid_handle = BTA_HH_INVALID_HANDLE; in bta_hh_api_enable()
205 p_cb, result, attr_mask,p_cb->hid_handle); in bta_hh_sdp_cback()
212 if (p_cb->hid_handle == BTA_HH_INVALID_HANDLE) in bta_hh_sdp_cback()
228 hdl = p_cb->hid_handle; in bta_hh_sdp_cback()
363 if (p_cb->hid_handle == BTA_HH_INVALID_HANDLE) in bta_hh_start_sdp()
442 conn_dat.handle = p_cb->hid_handle; in bta_hh_sdp_cmpl()
456 if ((ret = HID_HostOpenDev (p_cb->hid_handle)) != HID_SUCCESS) in bta_hh_sdp_cmpl()
463 HID_HostRemoveDev( p_cb->hid_handle); in bta_hh_sdp_cmpl()
531 disc_dat.handle = p_data ?(UINT8)p_data->hdr.layer_specific :p_cb->hid_handle; in bta_hh_api_disc_act()
557 p_cb->hid_handle; in bta_hh_open_cmpl_act()
[all …]
Dbta_hh_utils.c76 bta_hh_cb.kdev[xx].hid_handle) in bta_hh_find_cb()
84 bta_hh_cb.kdev[xx].hid_handle, in bta_hh_find_cb()
124 if (p_cb->hid_handle != BTA_HH_INVALID_HANDLE ) in bta_hh_clean_up_kdev()
128 bta_hh_cb.le_cb_index[BTA_HH_GET_LE_CB_IDX(p_cb->hid_handle)] = BTA_HH_IDX_INVALID; in bta_hh_clean_up_kdev()
131 bta_hh_cb.cb_index[p_cb->hid_handle] = BTA_HH_IDX_INVALID; in bta_hh_clean_up_kdev()
144 p_cb->hid_handle = BTA_HH_INVALID_HANDLE; in bta_hh_clean_up_kdev()
193 p_cb->hid_handle = handle; in bta_hh_add_device_to_list()
530 bta_hh_cb.kdev[xx].in_use, bta_hh_cb.kdev[xx].hid_handle); in bta_hh_trace_dev_db()
Dbta_hh_le.c336 p_cb->hid_handle = BTA_HH_GET_LE_DEV_HDL(p_cb->index); in bta_hh_le_open_conn()
338 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()
1018 cback_data.handle = p_cb->hid_handle; in bta_hh_le_set_protocol_mode()
1095 hs_data.handle = p_cb->hid_handle; in bta_hh_le_get_protocol_mode()
1461 p_cb->hid_handle = BTA_HH_GET_LE_DEV_HDL(p_cb->index); in bta_hh_gatt_open()
1463 bta_hh_cb.le_cb_index[BTA_HH_GET_LE_CB_IDX(p_cb->hid_handle)] = p_cb->index; in bta_hh_gatt_open()
1466 …APPL_TRACE_DEBUG("hid_handle = %2x conn_id = %04x cb_index = %d", p_cb->hid_handle, p_cb->conn_id,… in bta_hh_gatt_open()
1499 p_buf->hdr.layer_specific = (UINT16)p_dev_cb->hid_handle; in bta_hh_le_close()
1898 hs_data.handle = p_dev_cb->hid_handle; in bta_hh_le_proc_get_rpt_cmpl()
1945 hs_data.handle = p_dev_cb->hid_handle; in bta_hh_le_proc_read_proto_mode()
[all …]
Dbta_hh_int.h251 …UINT8 hid_handle; /* device handle : low 4 bits for regular HID: HID_HOST_MAX_DE… member
/external/chromium_org/third_party/libusb/src/libusb/os/
Dwindows_usb.c3400 static int _hid_get_descriptor(struct hid_device_priv* dev, HANDLE hid_handle, int recipient, in _hid_get_descriptor() argument
3427 if (HidD_GetPhysicalDescriptor(hid_handle, data, (ULONG)*size)) in _hid_get_descriptor()
3435 static int _hid_get_report(struct hid_device_priv* dev, HANDLE hid_handle, int id, void *data, in _hid_get_report() argument
3476 if (!DeviceIoControl(hid_handle, ioctl_code, buf, expected_size+1, in _hid_get_report()
3516 static int _hid_set_report(struct hid_device_priv* dev, HANDLE hid_handle, int id, void *data, in _hid_set_report() argument
3567 if (!DeviceIoControl(hid_handle, ioctl_code, buf, write_size, in _hid_set_report()
3588 static int _hid_class_request(struct hid_device_priv* dev, HANDLE hid_handle, int request_type, in _hid_class_request() argument
3600 return _hid_set_report(dev, hid_handle, report_id, data, tp, size, overlapped, report_type); in _hid_class_request()
3603 return _hid_get_report(dev, hid_handle, report_id, data, tp, size, overlapped, report_type); in _hid_class_request()
3654 HANDLE hid_handle = INVALID_HANDLE_VALUE; in hid_open() local
[all …]
/external/chromium_org/content/browser/gamepad/
Draw_input_data_fetcher_win.cc238 HANDLE hid_handle = CreateFile(name_buffer.get(), GENERIC_READ|GENERIC_WRITE, in ParseGamepadInfo() local
240 if (hid_handle) { in ParseGamepadInfo()
241 got_product_string = hidd_get_product_string_(hid_handle, gamepad_info->id, in ParseGamepadInfo()
243 CloseHandle(hid_handle); in ParseGamepadInfo()