Home
last modified time | relevance | path

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

/system/bt/bta/hh/
Dbta_hh_act.cc96 bta_hh_cb.kdev[xx].hid_handle = BTA_HH_INVALID_HANDLE; in bta_hh_api_enable()
195 __func__, p_cb, result, attr_mask, p_cb->hid_handle); in bta_hh_sdp_cback()
201 if (p_cb->hid_handle == BTA_HH_INVALID_HANDLE) { in bta_hh_sdp_cback()
211 hdl = p_cb->hid_handle; in bta_hh_sdp_cback()
327 if (p_cb->hid_handle == BTA_HH_INVALID_HANDLE) { in bta_hh_start_sdp()
402 conn_dat.handle = p_cb->hid_handle; in bta_hh_sdp_cmpl()
412 ret = HID_HostOpenDev(p_cb->hid_handle); in bta_hh_sdp_cmpl()
426 HID_HostRemoveDev(p_cb->hid_handle); in bta_hh_sdp_cmpl()
486 const uint8_t hid_handle = in bta_hh_api_disc_act() local
488 : p_cb->hid_handle; in bta_hh_api_disc_act()
[all …]
Dbta_hh_utils.cc66 bta_hh_cb.kdev[xx].hid_handle) in bta_hh_find_cb()
74 bta_hh_cb.kdev[xx].hid_handle, bta_hh_cb.kdev[xx].state); in bta_hh_find_cb()
117 if (p_cb->hid_handle != BTA_HH_INVALID_HANDLE) { in bta_hh_clean_up_kdev()
119 bta_hh_cb.le_cb_index[BTA_HH_GET_LE_CB_IDX(p_cb->hid_handle)] = in bta_hh_clean_up_kdev()
122 bta_hh_cb.cb_index[p_cb->hid_handle] = BTA_HH_IDX_INVALID; in bta_hh_clean_up_kdev()
135 p_cb->hid_handle = BTA_HH_INVALID_HANDLE; in bta_hh_clean_up_kdev()
177 p_cb->hid_handle = handle; in bta_hh_add_device_to_list()
369 bta_hh_cb.kdev[xx].in_use, bta_hh_cb.kdev[xx].hid_handle); in bta_hh_trace_dev_db()
Dbta_hh_le.cc251 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()
[all …]
Dbta_hh_int.h196 uint8_t hid_handle; /* device handle : low 4 bits for regular HID: member