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.cc88 bta_hh_cb.kdev[xx].hid_handle = BTA_HH_INVALID_HANDLE; in bta_hh_api_enable()
190 __func__, p_cb, result, attr_mask, p_cb->hid_handle); in bta_hh_sdp_cback()
197 if (p_cb->hid_handle == BTA_HH_INVALID_HANDLE) { in bta_hh_sdp_cback()
207 hdl = p_cb->hid_handle; in bta_hh_sdp_cback()
331 if (p_cb->hid_handle == BTA_HH_INVALID_HANDLE) { in bta_hh_start_sdp()
408 conn_dat.handle = p_cb->hid_handle; in bta_hh_sdp_cmpl()
420 ret = HID_HostOpenDev(p_cb->hid_handle); in bta_hh_sdp_cmpl()
436 HID_HostRemoveDev(p_cb->hid_handle); in bta_hh_sdp_cmpl()
497 p_data ? (uint8_t)p_data->hdr.layer_specific : p_cb->hid_handle; in bta_hh_api_disc_act()
524 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.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()
109 if (p_cb->hid_handle != BTA_HH_INVALID_HANDLE) { in bta_hh_clean_up_kdev()
112 bta_hh_cb.le_cb_index[BTA_HH_GET_LE_CB_IDX(p_cb->hid_handle)] = in bta_hh_clean_up_kdev()
116 bta_hh_cb.cb_index[p_cb->hid_handle] = BTA_HH_IDX_INVALID; in bta_hh_clean_up_kdev()
129 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()
495 bta_hh_cb.kdev[xx].in_use, bta_hh_cb.kdev[xx].hid_handle); in bta_hh_trace_dev_db()
Dbta_hh_le.cc270 p_cb->hid_handle = bta_hh_le_get_le_dev_hdl(p_cb->index); in bta_hh_le_open_conn()
271 if (p_cb->hid_handle == BTA_HH_IDX_INVALID) { in bta_hh_le_open_conn()
277 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()
766 cback_data.handle = p_dev_cb->hid_handle; in write_proto_mode_cb()
796 cback_data.handle = p_cb->hid_handle; in bta_hh_le_set_protocol_mode()
843 hs_data.handle = p_dev_cb->hid_handle; in get_protocol_mode_cb()
891 hs_data.handle = p_cb->hid_handle; in bta_hh_le_get_protocol_mode()
1149 p_cb->hid_handle = bta_hh_le_get_le_dev_hdl(p_cb->index); in bta_hh_gatt_open()
1150 if (p_cb->hid_handle == BTA_HH_IDX_INVALID) { in bta_hh_gatt_open()
1159 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