Home
last modified time | relevance | path

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

/system/bt/stack/hid/
Dhidh_api.c39 tHID_HOST_CTB hh_cb; variable
58 if( hh_cb.sdp_busy ) in HID_HostGetSDPRecord()
64 hh_cb.p_sdp_db = p_db; in HID_HostGetSDPRecord()
69 hh_cb.sdp_cback = sdp_cback ; in HID_HostGetSDPRecord()
70 hh_cb.sdp_busy = TRUE; in HID_HostGetSDPRecord()
102 tSDP_DISCOVERY_DB *p_db = hh_cb.p_sdp_db; in hidh_search_callback()
106 tHID_DEV_SDP_INFO *p_nvi = &hh_cb.sdp_rec; in hidh_search_callback()
112 hh_cb.sdp_busy = FALSE; in hidh_search_callback()
116 hh_cb.sdp_cback(sdp_result, 0, NULL); in hidh_search_callback()
122 hh_cb.sdp_cback(HID_SDP_NO_SERV_UUID, 0, NULL); in hidh_search_callback()
[all …]
Dhidh_conn.c96 memset(&hh_cb.l2cap_cfg, 0, sizeof(tL2CAP_CFG_INFO)); in hidh_conn_reg()
98 hh_cb.l2cap_cfg.mtu_present = TRUE; in hidh_conn_reg()
99 hh_cb.l2cap_cfg.mtu = HID_HOST_MTU; in hidh_conn_reg()
100 hh_cb.l2cap_cfg.flush_to_present = TRUE; in hidh_conn_reg()
101 hh_cb.l2cap_cfg.flush_to = HID_HOST_FLUSH_TO; in hidh_conn_reg()
118 hh_cb.devices[xx].in_use = FALSE ; in hidh_conn_reg()
119 hh_cb.devices[xx].conn.conn_state = HID_CONN_STATE_UNUSED; in hidh_conn_reg()
136 tHID_CONN *p_hcon = &hh_cb.devices[dhandle].conn; in hidh_conn_disconnect()
146 L2CA_SetIdleTimeoutByBdAddr(hh_cb.devices[dhandle].addr, 0, BT_TRANSPORT_BR_EDR); in hidh_conn_disconnect()
187 L2CA_ConfigReq (p_dev->conn.ctrl_cid, &hh_cb.l2cap_cfg); in hidh_sec_check_complete_term()
[all …]
Dhidh_int.h84 extern tHID_HOST_CTB hh_cb;
87 #define hh_cb (*hidh_cb_ptr)
/system/bt/include/
Dbt_trace.h272 #define HIDH_TRACE_ERROR(...) {if (hh_cb.trace_level >= BT_TRACE_LEVEL_ERROR) B…
273 #define HIDH_TRACE_WARNING(...) {if (hh_cb.trace_level >= BT_TRACE_LEVEL_WARNING)…
274 #define HIDH_TRACE_API(...) {if (hh_cb.trace_level >= BT_TRACE_LEVEL_API) BT_…
275 #define HIDH_TRACE_EVENT(...) {if (hh_cb.trace_level >= BT_TRACE_LEVEL_EVENT) B…
276 #define HIDH_TRACE_DEBUG(...) {if (hh_cb.trace_level >= BT_TRACE_LEVEL_DEBUG) B…