Home
last modified time | relevance | path

Searched refs:conn_state (Results 1 – 9 of 9) sorted by relevance

/packages/modules/Bluetooth/system/stack/hid/
Dhidd_conn.cc82 if (p_hcon->conn_state == HID_CONN_STATE_CONFIG) { in hidd_check_config_done()
83 p_hcon->conn_state = HID_CONN_STATE_CONNECTED; in hidd_check_config_done()
137 if (p_hcon->conn_state != HID_CONN_STATE_CONNECTING_INTR) { in hidd_l2cif_connect_ind()
140 p_hcon->conn_state); in hidd_l2cif_connect_ind()
146 if (p_hcon->conn_state != HID_CONN_STATE_UNUSED) { in hidd_l2cif_connect_ind()
149 p_hcon->conn_state); in hidd_l2cif_connect_ind()
178 p_hcon->conn_state = HID_CONN_STATE_CONNECTING_INTR; in hidd_l2cif_connect_ind()
183 p_hcon->conn_state = HID_CONN_STATE_CONFIG; in hidd_l2cif_connect_ind()
218 (p_hcon->conn_state != HID_CONN_STATE_CONNECTING_CTRL)) || in hidd_l2cif_connect_cfm()
220 (p_hcon->conn_state != HID_CONN_STATE_CONNECTING_INTR))) { in hidd_l2cif_connect_cfm()
[all …]
Dhidh_conn.cc131 hh_cb.devices[xx].conn.conn_state = HID_CONN_STATE_UNUSED; in hidh_conn_reg()
150 p_hcon->conn_state = HID_CONN_STATE_DISCONNECTING; in hidh_conn_disconnect()
168 p_hcon->conn_state = HID_CONN_STATE_UNUSED; in hidh_conn_disconnect()
208 hid_conn::state_text(p_hcon->conn_state).c_str())); in hidh_l2cif_connect_ind()
216 if (p_hcon->conn_state != HID_CONN_STATE_CONNECTING_INTR) { in hidh_l2cif_connect_ind()
218 p_hcon->conn_state); in hidh_l2cif_connect_ind()
225 p_hcon->conn_state = HID_CONN_STATE_UNUSED; in hidh_l2cif_connect_ind()
227 if (p_hcon->conn_state != HID_CONN_STATE_UNUSED) { in hidh_l2cif_connect_ind()
229 p_hcon->conn_state); in hidh_l2cif_connect_ind()
249 p_hcon->conn_state = HID_CONN_STATE_CONNECTING_INTR; in hidh_l2cif_connect_ind()
[all …]
Dhidd_api.cc439 hd_cb.device.conn.conn_state = HID_CONN_STATE_UNUSED; in HID_DevUnplugDevice()
506 if (hd_cb.device.conn.conn_state != HID_CONN_STATE_UNUSED) { in HID_DevDisconnect()
508 hd_cb.device.conn.conn_state = HID_CONN_STATE_UNUSED; in HID_DevDisconnect()
Dhid_conn.h47 tHID_CONN_STATE conn_state; member
Dhidh_api.cc447 hh_cb.devices[dev_handle].conn.conn_state = HID_CONN_STATE_UNUSED; in HID_HostRemoveDev()
/packages/modules/Bluetooth/system/bta/dm/
Dbta_dm_act.cc509 peer_device.conn_state = tBTA_DM_CONN_STATE::BTA_DM_UNPAIRING; in bta_dm_remove_device()
564 peer_device.conn_state = tBTA_DM_CONN_STATE::BTA_DM_UNPAIRING; in bta_dm_remove_device()
720 device->conn_state = tBTA_DM_CONN_STATE::BTA_DM_CONNECTED; in bta_dm_acl_up()
781 if (device->conn_state == tBTA_DM_CONN_STATE::BTA_DM_UNPAIRING) { in bta_dm_acl_down()
872 log::warn("[{}]: state:{}, info:{}", i, p_dev->conn_state, in bta_dm_check_av()
874 if ((p_dev->conn_state == tBTA_DM_CONN_STATE::BTA_DM_CONNECTED) && in bta_dm_check_av()
951 if (p_dev->conn_state != tBTA_DM_CONN_STATE::BTA_DM_UNPAIRING) in bta_dm_rm_cback()
952 p_dev->conn_state = tBTA_DM_CONN_STATE::BTA_DM_CONNECTED; in bta_dm_rm_cback()
1019 if (bta_dm_cb.device_list.peer_device[i].conn_state == in bta_dm_adjust_roles()
1422 bta_dm_cb.device_list.peer_device[i].conn_state == in find_connected_device()
[all …]
Dbta_dm_api.cc128 return (p_dev && p_dev->conn_state == tBTA_DM_CONN_STATE::BTA_DM_CONNECTED); in BTA_DmGetConnectionState()
Dbta_dm_int.h98 tBTA_DM_CONN_STATE conn_state{tBTA_DM_CONN_STATE::BTA_DM_NOT_CONNECTED};
/packages/modules/Bluetooth/system/bta/test/
Dbta_dm_test.cc221 device->conn_state = tBTA_DM_CONN_STATE::BTA_DM_CONNECTED; in TEST_F()
276 device->conn_state = tBTA_DM_CONN_STATE::BTA_DM_CONNECTED; in TEST_F()