Home
last modified time | relevance | path

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

/system/bt/stack/hid/
Dhidh_api.cc40 tHID_HOST_CTB hh_cb; variable
57 if (hh_cb.sdp_busy) return HID_ERR_SDP_BUSY; in HID_HostGetSDPRecord()
59 hh_cb.p_sdp_db = p_db; in HID_HostGetSDPRecord()
64 hh_cb.sdp_cback = sdp_cback; in HID_HostGetSDPRecord()
65 hh_cb.sdp_busy = true; in HID_HostGetSDPRecord()
91 tSDP_DISCOVERY_DB* p_db = hh_cb.p_sdp_db; in hidh_search_callback()
94 tHID_DEV_SDP_INFO* p_nvi = &hh_cb.sdp_rec; in hidh_search_callback()
98 hh_cb.sdp_busy = false; in hidh_search_callback()
101 hh_cb.sdp_cback(sdp_result, 0, NULL); in hidh_search_callback()
108 hh_cb.sdp_cback(HID_SDP_NO_SERV_UUID, 0, NULL); in hidh_search_callback()
[all …]
Dhidh_conn.cc92 memset(&hh_cb.l2cap_cfg, 0, sizeof(tL2CAP_CFG_INFO)); in hidh_conn_reg()
94 hh_cb.l2cap_cfg.mtu_present = true; in hidh_conn_reg()
95 hh_cb.l2cap_cfg.mtu = HID_HOST_MTU; in hidh_conn_reg()
96 hh_cb.l2cap_cfg.flush_to_present = true; in hidh_conn_reg()
97 hh_cb.l2cap_cfg.flush_to = HID_HOST_FLUSH_TO; in hidh_conn_reg()
101 false /* enable_snoop */, nullptr, hh_cb.l2cap_cfg.mtu)) { in hidh_conn_reg()
106 false /* enable_snoop */, nullptr, hh_cb.l2cap_cfg.mtu)) { in hidh_conn_reg()
113 hh_cb.devices[xx].in_use = false; in hidh_conn_reg()
114 hh_cb.devices[xx].conn.conn_state = HID_CONN_STATE_UNUSED; in hidh_conn_reg()
130 tHID_CONN* p_hcon = &hh_cb.devices[dhandle].conn; in hidh_conn_disconnect()
[all …]
Dhidh_int.h76 extern tHID_HOST_CTB hh_cb;
/system/bt/internal_include/
Dbt_trace.h337 if (hh_cb.trace_level >= BT_TRACE_LEVEL_ERROR) \
342 if (hh_cb.trace_level >= BT_TRACE_LEVEL_WARNING) \
347 if (hh_cb.trace_level >= BT_TRACE_LEVEL_API) \
352 if (hh_cb.trace_level >= BT_TRACE_LEVEL_EVENT) \
357 if (hh_cb.trace_level >= BT_TRACE_LEVEL_DEBUG) \