Home
last modified time | relevance | path

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

/system/bt/stack/hid/
Dhidd_conn.cc83 p_hcon = &hd_cb.device.conn; in hidd_check_config_done()
90 hd_cb.device.state = HIDD_DEV_CONNECTED; in hidd_check_config_done()
92 hd_cb.callback(hd_cb.device.addr, HID_DHOST_EVT_OPEN, 0, NULL); in hidd_check_config_done()
95 if (hd_cb.pending_data) { in hidd_check_config_done()
96 L2CA_DataWrite(p_hcon->intr_cid, hd_cb.pending_data); in hidd_check_config_done()
97 hd_cb.pending_data = NULL; in hidd_check_config_done()
123 L2CA_ConfigReq(p_dev->conn.ctrl_cid, &hd_cb.l2cap_cfg); in hidd_sec_check_complete()
161 L2CA_ConfigReq(p_dev->conn.ctrl_cid, &hd_cb.l2cap_cfg); in hidd_sec_check_complete_orig()
186 p_dev = &hd_cb.device; in hidd_l2cif_connect_ind()
188 if (!hd_cb.allow_incoming) { in hidd_l2cif_connect_ind()
[all …]
Dhidd_api.cc37 tHID_DEV_CTB hd_cb; variable
49 uint8_t log_level = hd_cb.trace_level; in HID_DevInit()
53 memset(&hd_cb, 0, sizeof(tHID_DEV_CTB)); in HID_DevInit()
54 hd_cb.trace_level = log_level; in HID_DevInit()
69 if (new_level != 0xFF) hd_cb.trace_level = new_level; in HID_DevSetTraceLevel()
71 return (hd_cb.trace_level); in HID_DevSetTraceLevel()
88 if (hd_cb.reg_flag) return HID_ERR_ALREADY_REGISTERED; in HID_DevRegister()
96 hd_cb.callback = host_cback; in HID_DevRegister()
97 hd_cb.reg_flag = TRUE; in HID_DevRegister()
99 if (hd_cb.pending_data) { in HID_DevRegister()
[all …]
Dhidd_int.h83 extern tHID_DEV_CTB hd_cb;
/system/bt/internal_include/
Dbt_trace.h364 if (hd_cb.trace_level >= BT_TRACE_LEVEL_ERROR) \
369 if (hd_cb.trace_level >= BT_TRACE_LEVEL_WARNING) \
374 if (hd_cb.trace_level >= BT_TRACE_LEVEL_API) \
379 if (hd_cb.trace_level >= BT_TRACE_LEVEL_EVENT) \
384 if (hd_cb.trace_level >= BT_TRACE_LEVEL_DEBUG) \
389 if (hd_cb.trace_level >= BT_TRACE_LEVEL_VERBOSE) \