Home
last modified time | relevance | path

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

/system/bt/stack/hid/
Dhidd_conn.cc87 (p_hcon->conn_state == HID_CONN_STATE_CONFIG)) { in hidd_check_config_done()
88 p_hcon->conn_state = HID_CONN_STATE_CONNECTED; in hidd_check_config_done()
117 if (res == BTM_SUCCESS && p_dev->conn.conn_state == HID_CONN_STATE_SECURITY) { in hidd_sec_check_complete()
119 p_dev->conn.conn_state = HID_CONN_STATE_CONNECTING_INTR; in hidd_sec_check_complete()
128 p_dev->conn.conn_state = HID_CONN_STATE_UNUSED; in hidd_sec_check_complete()
150 if (p_dev->conn.conn_state != HID_CONN_STATE_SECURITY) { in hidd_sec_check_complete_orig()
152 p_dev->conn.conn_state); in hidd_sec_check_complete_orig()
160 p_dev->conn.conn_state = HID_CONN_STATE_CONFIG; in hidd_sec_check_complete_orig()
205 if (p_hcon->conn_state != HID_CONN_STATE_CONNECTING_INTR) { in hidd_l2cif_connect_ind()
208 __func__, p_hcon->conn_state); in hidd_l2cif_connect_ind()
[all …]
Dhidh_conn.cc114 hh_cb.devices[xx].conn.conn_state = HID_CONN_STATE_UNUSED; in hidh_conn_reg()
135 p_hcon->conn_state = HID_CONN_STATE_DISCONNECTING; in hidh_conn_disconnect()
147 p_hcon->conn_state = HID_CONN_STATE_UNUSED; in hidh_conn_disconnect()
168 if (res == BTM_SUCCESS && p_dev->conn.conn_state == HID_CONN_STATE_SECURITY) { in hidh_sec_check_complete_term()
173 p_dev->conn.conn_state = HID_CONN_STATE_CONNECTING_INTR; in hidh_sec_check_complete_term()
187 p_dev->conn.conn_state = HID_CONN_STATE_UNUSED; in hidh_sec_check_complete_term()
231 if (p_hcon->conn_state != HID_CONN_STATE_CONNECTING_INTR) { in hidh_l2cif_connect_ind()
233 p_hcon->conn_state); in hidh_l2cif_connect_ind()
240 p_hcon->conn_state = HID_CONN_STATE_UNUSED; in hidh_l2cif_connect_ind()
242 if (p_hcon->conn_state != HID_CONN_STATE_UNUSED) { in hidh_l2cif_connect_ind()
[all …]
Dhid_conn.h41 uint8_t conn_state; member
Dhidd_api.cc450 hd_cb.device.conn.conn_state = HID_CONN_STATE_UNUSED; in HID_DevUnplugDevice()
503 if (hd_cb.device.conn.conn_state != HID_CONN_STATE_UNUSED) { in HID_DevDisconnect()
505 hd_cb.device.conn.conn_state = HID_CONN_STATE_UNUSED; in HID_DevDisconnect()
Dhidh_api.cc368 hh_cb.devices[dev_handle].conn.conn_state = HID_CONN_STATE_UNUSED; in HID_HostRemoveDev()
/system/bt/stack/btm/
Dbtm_ble_connection_establishment.cc35 return btm_cb.ble_ctr_cb.conn_state; in btm_ble_get_conn_st()
40 btm_cb.ble_ctr_cb.conn_state = new_st; in btm_ble_set_conn_st()
Dbtm_ble_int_types.h275 tBTM_BLE_CONN_ST conn_state; member
Dbtm_devctl.cc194 btm_cb.ble_ctr_cb.conn_state = BLE_CONN_IDLE; in reset_complete()
/system/bt/bta/dm/
Dbta_dm_act.cc649 peer_device.conn_state = BTA_DM_UNPAIRING; in bta_dm_remove_device()
689 peer_device.conn_state = BTA_DM_UNPAIRING; in bta_dm_remove_device()
2744 bta_dm_cb.device_list.peer_device[i].conn_state = BTA_DM_CONNECTED; in bta_dm_acl_change()
2769 if (bta_dm_cb.device_list.peer_device[i].conn_state == BTA_DM_UNPAIRING) { in bta_dm_acl_change()
2934 p_dev->conn_state, p_dev->info, avoid_roleswitch); in bta_dm_check_av()
2935 if ((p_dev->conn_state == BTA_DM_CONNECTED) && in bta_dm_check_av()
3008 if (p_dev->conn_state != BTA_DM_UNPAIRING) in bta_dm_rm_cback()
3009 p_dev->conn_state = BTA_DM_CONNECTED; in bta_dm_rm_cback()
3143 if (bta_dm_cb.device_list.peer_device[i].conn_state == BTA_DM_CONNECTED && in bta_dm_adjust_roles()
3625 bta_dm_cb.device_list.peer_device[i].conn_state == BTA_DM_CONNECTED) in bta_dm_encrypt_cback()
[all …]
Dbta_dm_int.h220 tBTA_DM_CONN_STATE conn_state; member
Dbta_dm_api.cc386 return (p_dev && p_dev->conn_state == BTA_DM_CONNECTED); in BTA_DmGetConnectionState()