Home
last modified time | relevance | path

Searched refs:p_hcon (Results 1 – 2 of 2) sorted by relevance

/system/bt/stack/hid/
Dhidd_conn.cc65 tHID_CONN* p_hcon = &hd_cb.device.conn; in hidd_check_config_done() local
67 if (p_hcon->conn_state == HID_CONN_STATE_CONFIG) { in hidd_check_config_done()
68 p_hcon->conn_state = HID_CONN_STATE_CONNECTED; in hidd_check_config_done()
76 L2CA_DataWrite(p_hcon->intr_cid, hd_cb.pending_data); in hidd_check_config_done()
108 tHID_CONN* p_hcon = &hd_cb.device.conn; in hidd_l2cif_connect_ind() local
112 if (p_hcon->ctrl_cid == 0) { in hidd_l2cif_connect_ind()
118 if (p_hcon->conn_state != HID_CONN_STATE_CONNECTING_INTR) { in hidd_l2cif_connect_ind()
121 __func__, p_hcon->conn_state); in hidd_l2cif_connect_ind()
127 if (p_hcon->conn_state != HID_CONN_STATE_UNUSED) { in hidd_l2cif_connect_ind()
130 __func__, p_hcon->conn_state); in hidd_l2cif_connect_ind()
[all …]
Dhidh_conn.cc137 tHID_CONN* p_hcon = &hh_cb.devices[dhandle].conn; in hidh_conn_disconnect() local
139 if ((p_hcon->ctrl_cid != 0) || (p_hcon->intr_cid != 0)) { in hidh_conn_disconnect()
140 p_hcon->conn_state = HID_CONN_STATE_DISCONNECTING; in hidh_conn_disconnect()
147 if (p_hcon->intr_cid) in hidh_conn_disconnect()
148 hidh_l2cif_disconnect(p_hcon->intr_cid); in hidh_conn_disconnect()
149 else if (p_hcon->ctrl_cid) in hidh_conn_disconnect()
150 hidh_l2cif_disconnect(p_hcon->ctrl_cid); in hidh_conn_disconnect()
155 p_hcon->conn_state = HID_CONN_STATE_UNUSED; in hidh_conn_disconnect()
186 tHID_CONN* p_hcon = &hh_cb.devices[i].conn; in hidh_l2cif_connect_ind() local
192 hid_conn::state_text(p_hcon->conn_state).c_str())); in hidh_l2cif_connect_ind()
[all …]