Home
last modified time | relevance | path

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

/system/bt/stack/hid/
Dhidh_api.cc38 tHID_HOST_CTB hh_cb; variable
56 if (hh_cb.sdp_busy) return HID_ERR_SDP_BUSY; in HID_HostGetSDPRecord()
61 hh_cb.p_sdp_db = p_db; in HID_HostGetSDPRecord()
65 hh_cb.sdp_cback = sdp_cback; in HID_HostGetSDPRecord()
66 hh_cb.sdp_busy = true; in HID_HostGetSDPRecord()
92 tSDP_DISCOVERY_DB* p_db = hh_cb.p_sdp_db; in hidh_search_callback()
96 tHID_DEV_SDP_INFO* p_nvi = &hh_cb.sdp_rec; in hidh_search_callback()
102 hh_cb.sdp_busy = false; in hidh_search_callback()
105 hh_cb.sdp_cback(sdp_result, 0, NULL); in hidh_search_callback()
111 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()
111 hh_cb.devices[xx].in_use = false; in hidh_conn_reg()
112 hh_cb.devices[xx].conn.conn_state = HID_CONN_STATE_UNUSED; in hidh_conn_reg()
128 tHID_CONN* p_hcon = &hh_cb.devices[dhandle].conn; in hidh_conn_disconnect()
137 L2CA_SetIdleTimeoutByBdAddr(hh_cb.devices[dhandle].addr, 0, in hidh_conn_disconnect()
178 L2CA_ConfigReq(p_dev->conn.ctrl_cid, &hh_cb.l2cap_cfg); in hidh_sec_check_complete_term()
[all …]
Dhidh_int.h76 extern tHID_HOST_CTB hh_cb;
/system/bt/include/
Dbt_trace.h341 if (hh_cb.trace_level >= BT_TRACE_LEVEL_ERROR) \
346 if (hh_cb.trace_level >= BT_TRACE_LEVEL_WARNING) \
351 if (hh_cb.trace_level >= BT_TRACE_LEVEL_API) \
356 if (hh_cb.trace_level >= BT_TRACE_LEVEL_EVENT) \
361 if (hh_cb.trace_level >= BT_TRACE_LEVEL_DEBUG) \