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.cc89 bta_hh_cb.kdev[xx].hid_handle = BTA_HH_INVALID_HANDLE; in bta_hh_api_enable()
191 __func__, p_cb, result, attr_mask, p_cb->hid_handle); in bta_hh_sdp_cback()
198 if (p_cb->hid_handle == BTA_HH_INVALID_HANDLE) { in bta_hh_sdp_cback()
208 hdl = p_cb->hid_handle; in bta_hh_sdp_cback()
332 if (p_cb->hid_handle == BTA_HH_INVALID_HANDLE) { in bta_hh_start_sdp()
409 conn_dat.handle = p_cb->hid_handle; in bta_hh_sdp_cmpl()
421 ret = HID_HostOpenDev(p_cb->hid_handle); in bta_hh_sdp_cmpl()
437 HID_HostRemoveDev(p_cb->hid_handle); in bta_hh_sdp_cmpl()
500 p_data ? (uint8_t)p_data->hdr.layer_specific : p_cb->hid_handle; in bta_hh_api_disc_act()
527 p_data ? (uint8_t)p_data->hid_cback.hdr.layer_specific : p_cb->hid_handle; in bta_hh_open_cmpl_act()
[all …]
Dbta_hh_utils.cc68 bta_hh_cb.kdev[xx].hid_handle) in bta_hh_find_cb()
76 bta_hh_cb.kdev[xx].hid_handle, bta_hh_cb.kdev[xx].state); in bta_hh_find_cb()
111 if (p_cb->hid_handle != BTA_HH_INVALID_HANDLE) { in bta_hh_clean_up_kdev()
114 bta_hh_cb.le_cb_index[BTA_HH_GET_LE_CB_IDX(p_cb->hid_handle)] = in bta_hh_clean_up_kdev()
118 bta_hh_cb.cb_index[p_cb->hid_handle] = BTA_HH_IDX_INVALID; in bta_hh_clean_up_kdev()
131 p_cb->hid_handle = BTA_HH_INVALID_HANDLE; in bta_hh_clean_up_kdev()
179 p_cb->hid_handle = handle; in bta_hh_add_device_to_list()
507 bta_hh_cb.kdev[xx].in_use, bta_hh_cb.kdev[xx].hid_handle); in bta_hh_trace_dev_db()
Dbta_hh_le.cc269 p_cb->hid_handle = bta_hh_le_get_le_dev_hdl(p_cb->index); in bta_hh_le_open_conn()
270 if (p_cb->hid_handle == BTA_HH_IDX_INVALID) { in bta_hh_le_open_conn()
276 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()
765 cback_data.handle = p_dev_cb->hid_handle; in write_proto_mode_cb()
795 cback_data.handle = p_cb->hid_handle; in bta_hh_le_set_protocol_mode()
842 hs_data.handle = p_dev_cb->hid_handle; in get_protocol_mode_cb()
890 hs_data.handle = p_cb->hid_handle; in bta_hh_le_get_protocol_mode()
1146 p_cb->hid_handle = bta_hh_le_get_le_dev_hdl(p_cb->index); in bta_hh_gatt_open()
1147 if (p_cb->hid_handle == BTA_HH_IDX_INVALID) { in bta_hh_gatt_open()
1156 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.h227 uint8_t hid_handle; /* device handle : low 4 bits for regular HID: member