Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/bta/hh/
Dbta_hh_act.cc99 bta_hh_cb.kdev[xx].hid_handle = BTA_HH_INVALID_HANDLE; in bta_hh_api_enable()
210 fmt::ptr(p_cb), result, attr_mask, p_cb->hid_handle); in bta_hh_sdp_cback()
216 if (p_cb->hid_handle == BTA_HH_INVALID_HANDLE) { in bta_hh_sdp_cback()
227 hdl = p_cb->hid_handle; in bta_hh_sdp_cback()
381 conn_dat.handle = p_cb->hid_handle; in bta_hh_sdp_cmpl()
391 ret = HID_HostOpenDev(p_cb->hid_handle); in bta_hh_sdp_cmpl()
404 HID_HostRemoveDev(p_cb->hid_handle); in bta_hh_sdp_cmpl()
464 if (p_cb->hid_handle == BTA_HH_INVALID_HANDLE) { in bta_hh_bredr_conn()
528 const uint8_t hid_handle = in bta_hh_api_disc_act() local
530 : p_cb->hid_handle; in bta_hh_api_disc_act()
[all …]
Dbta_hh_utils.cc73 bta_hh_cb.kdev[xx].hid_handle); in bta_hh_find_cb()
80 bta_hh_cb.kdev[xx].in_use, xx, bta_hh_cb.kdev[xx].hid_handle, in bta_hh_find_cb()
124 uint8_t le_hid_handle = BTA_HH_GET_LE_CB_IDX(p_cb->hid_handle); in bta_hh_clean_up_kdev()
126 log::warn("Invalid LE hid_handle {}", p_cb->hid_handle); in bta_hh_clean_up_kdev()
131 if (p_cb->hid_handle >= BTA_HH_MAX_KNOWN) { in bta_hh_clean_up_kdev()
132 log::warn("Invalid hid_handle {}", p_cb->hid_handle); in bta_hh_clean_up_kdev()
134 bta_hh_cb.cb_index[p_cb->hid_handle] = BTA_HH_IDX_INVALID; in bta_hh_clean_up_kdev()
148 p_cb->hid_handle = BTA_HH_INVALID_HANDLE; in bta_hh_clean_up_kdev()
190 p_cb->hid_handle = handle; in bta_hh_add_device_to_list()
382 bta_hh_cb.kdev[xx].in_use, bta_hh_cb.kdev[xx].hid_handle); in bta_hh_trace_dev_db()
Dbta_hh_le.cc260 p_cb->hid_handle = bta_hh_le_get_le_dev_hdl(p_cb->index); in bta_hh_le_open_conn()
261 if (p_cb->hid_handle == BTA_HH_IDX_INVALID) { in bta_hh_le_open_conn()
267 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()
752 cback_data.handle = p_dev_cb->hid_handle; in bta_hh_le_service_parsed()
789 cback_data.handle = p_cb->hid_handle; in bta_hh_le_set_protocol_mode()
837 hs_data.handle = p_dev_cb->hid_handle; in get_protocol_mode_cb()
884 hs_data.handle = p_cb->hid_handle; in bta_hh_le_get_protocol_mode()
1155 p_cb->hid_handle = bta_hh_le_get_le_dev_hdl(p_cb->index); in bta_hh_gatt_open()
1156 if (p_cb->hid_handle == BTA_HH_IDX_INVALID) { in bta_hh_gatt_open()
1164 bta_hh_cb.le_cb_index[BTA_HH_GET_LE_CB_IDX(p_cb->hid_handle)] = p_cb->index; in bta_hh_gatt_open()
[all …]
Dbta_hh_int.h198 uint8_t hid_handle; /* device handle : low 4 bits for regular HID: member
/packages/modules/Bluetooth/system/bta/include/
Dbta_hh_api.h250 uint8_t hid_handle; member
/packages/modules/Bluetooth/system/btif/src/
Dbtif_hh.cc1177 uint8_t hid_handle = p_data->dscp_info.hid_handle; in btif_hh_upstreams_evt() local
1180 hid_handle); in btif_hh_upstreams_evt()
1182 p_dev = btif_hh_find_connected_dev_by_handle(hid_handle); in btif_hh_upstreams_evt()
1185 p_data->dscp_info.hid_handle = BTA_HH_INVALID_HANDLE; in btif_hh_upstreams_evt()