Lines Matching refs:conn
768 …%s: BTA_HH_OPN_EVT: handle=%d, status =%d",__FUNCTION__, p_data->conn.handle, p_data->conn.status); in btif_hh_upstreams_evt()
769 if (p_data->conn.status == BTA_HH_OK) { in btif_hh_upstreams_evt()
770 p_dev = btif_hh_find_connected_dev_by_handle(p_data->conn.handle); in btif_hh_upstreams_evt()
772 …IF_TRACE_WARNING("BTA_HH_OPEN_EVT: Error, cannot find device with handle %d", p_data->conn.handle); in btif_hh_upstreams_evt()
776 BTA_HhClose(p_data->conn.handle); in btif_hh_upstreams_evt()
777 …HAL_CBACK(bt_hh_callbacks, connection_state_cb, (bt_bdaddr_t*) &p_data->conn.bda,BTHH_CONN_STATE_D… in btif_hh_upstreams_evt()
781 memcpy(&(p_dev->bd_addr), p_data->conn.bda, BD_ADDR_LEN); in btif_hh_upstreams_evt()
784 BTA_HhClose(p_data->conn.handle); in btif_hh_upstreams_evt()
787 …WARNING("BTA_HH_OPEN_EVT: Found device...Getting dscp info for handle ... %d",p_data->conn.handle); in btif_hh_upstreams_evt()
788 memcpy(&(p_dev->bd_addr), p_data->conn.bda, BD_ADDR_LEN); in btif_hh_upstreams_evt()
791 if (check_cod((bt_bdaddr_t*)p_data->conn.bda, COD_HID_KEYBOARD )|| in btif_hh_upstreams_evt()
792 check_cod((bt_bdaddr_t*)p_data->conn.bda, COD_HID_COMBO)) in btif_hh_upstreams_evt()
793 BTA_HhSetIdle(p_data->conn.handle, 0); in btif_hh_upstreams_evt()
794 … btif_hh_cb.p_curr_dev = btif_hh_find_connected_dev_by_handle(p_data->conn.handle); in btif_hh_upstreams_evt()
795 BTA_HhGetDscpInfo(p_data->conn.handle); in btif_hh_upstreams_evt()
801 bt_bdaddr_t *bdaddr = (bt_bdaddr_t*)p_data->conn.bda; in btif_hh_upstreams_evt()
813 …HAL_CBACK(bt_hh_callbacks, connection_state_cb, (bt_bdaddr_t*) &p_data->conn.bda,BTHH_CONN_STATE_D… in btif_hh_upstreams_evt()