Home
last modified time | relevance | path

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

/system/bt/stack/hid/
Dhidh_conn.c119 hh_cb.devices[xx].conn.conn_state = HID_CONN_STATE_UNUSED; in hidh_conn_reg()
142 p_hcon->conn_state = HID_CONN_STATE_DISCONNECTING; in hidh_conn_disconnect()
155 p_hcon->conn_state = HID_CONN_STATE_UNUSED; in hidh_conn_disconnect()
177 if( res == BTM_SUCCESS && p_dev->conn.conn_state == HID_CONN_STATE_SECURITY ) in hidh_sec_check_complete_term()
181 p_dev->conn.conn_state = HID_CONN_STATE_CONNECTING_INTR; in hidh_sec_check_complete_term()
194 p_dev->conn.conn_state = HID_CONN_STATE_UNUSED; in hidh_sec_check_complete_term()
237 if (p_hcon->conn_state != HID_CONN_STATE_CONNECTING_INTR) in hidh_l2cif_connect_ind()
240 p_hcon->conn_state); in hidh_l2cif_connect_ind()
248 p_hcon->conn_state = HID_CONN_STATE_UNUSED; in hidh_l2cif_connect_ind()
250 if (p_hcon->conn_state != HID_CONN_STATE_UNUSED) in hidh_l2cif_connect_ind()
[all …]
Dhid_conn.h42 UINT8 conn_state; member
Dhidh_api.c403 hh_cb.devices[dev_handle].conn.conn_state = HID_CONN_STATE_UNUSED; in HID_HostRemoveDev()
/system/bt/stack/btm/
Dbtm_ble_bgconn.c373 if (p_cb->conn_state == BLE_CONN_IDLE && background_connections_pending() in btm_ble_start_auto_conn()
426 if (p_cb->conn_state == BLE_BG_CONN) in btm_ble_start_auto_conn()
434 BTM_TRACE_DEBUG("conn_st = %d, not in auto conn state, cannot stop", p_cb->conn_state); in btm_ble_start_auto_conn()
664 return btm_cb.ble_ctr_cb.conn_state; in btm_ble_get_conn_st()
677 btm_cb.ble_ctr_cb.conn_state = new_st; in btm_ble_set_conn_st()
Dbtm_ble_int.h323 tBTM_BLE_CONN_ST conn_state; member
Dbtm_devctl.c177 btm_cb.ble_ctr_cb.conn_state = BLE_CONN_IDLE; in reset_complete()
Dbtm_ble.c542 if (new_param && p_ble_cb->conn_state == BLE_BG_CONN) in BTM_BleSetConnScanParams()
/system/bt/bta/dm/
Dbta_dm_act.c731 bta_dm_cb.device_list.peer_device[i].conn_state = BTA_DM_UNPAIRING; in bta_dm_remove_device()
765 bta_dm_cb.device_list.peer_device[i].conn_state = BTA_DM_UNPAIRING; in bta_dm_remove_device()
3105 i, p_dev->conn_state, p_dev->info, avoid_roleswitch); in bta_dm_check_av()
3106 if((p_dev->conn_state == BTA_DM_CONNECTED) && (p_dev->info & BTA_DM_DI_AV_ACTIVE) && in bta_dm_check_av()
3242 bta_dm_cb.device_list.peer_device[i].conn_state = BTA_DM_CONNECTED; in bta_dm_acl_change()
3271 if( bta_dm_cb.device_list.peer_device[i].conn_state == BTA_DM_UNPAIRING ) in bta_dm_acl_change()
3401 if (p_dev->conn_state != BTA_DM_UNPAIRING) in bta_dm_rm_cback()
3402 p_dev->conn_state = BTA_DM_CONNECTED; in bta_dm_rm_cback()
3563 if (bta_dm_cb.device_list.peer_device[i].conn_state == BTA_DM_CONNECTED in bta_dm_adjust_roles()
4160 bta_dm_cb.device_list.peer_device[i].conn_state == BTA_DM_CONNECTED) in bta_dm_encrypt_cback()
[all …]
Dbta_dm_int.h773 tBTA_DM_CONN_STATE conn_state; member
Dbta_dm_api.c563 return (p_dev && p_dev->conn_state == BTA_DM_CONNECTED); in BTA_DmGetConnectionState()