Lines Matching refs:dev_status
300 if (btif_hh_cb.devices[i].dev_status == BTHH_CONN_STATE_CONNECTED && in btif_hh_find_connected_dev_by_handle()
319 if (btif_hh_cb.devices[i].dev_status != BTHH_CONN_STATE_UNKNOWN && in btif_hh_find_dev_by_bda()
340 if (btif_hh_cb.devices[i].dev_status == BTHH_CONN_STATE_CONNECTED && in btif_hh_find_connected_dev_by_bda()
457 p_dev->dev_status = BTHH_CONN_STATE_UNKNOWN; in btif_hh_remove_device()
510 if ((p_dev != NULL) && (p_dev->dev_status == BTHH_CONN_STATE_CONNECTED) && in btif_hh_virtual_unplug()
520 (p_dev->dev_status == BTHH_CONN_STATE_CONNECTED)) { in btif_hh_virtual_unplug()
764 btif_hh_cb.devices[i].dev_status = BTHH_CONN_STATE_UNKNOWN; in btif_hh_upstreams_evt()
812 p_dev->dev_status = BTHH_CONN_STATE_CONNECTED; in btif_hh_upstreams_evt()
814 p_dev->dev_status); in btif_hh_upstreams_evt()
826 p_dev->dev_status = BTHH_CONN_STATE_DISCONNECTED; in btif_hh_upstreams_evt()
836 p_data->dev_status.status, p_data->dev_status.handle); in btif_hh_upstreams_evt()
837 p_dev = btif_hh_find_connected_dev_by_handle(p_data->dev_status.handle); in btif_hh_upstreams_evt()
851 p_dev->dev_status = BTHH_CONN_STATE_DISCONNECTED; in btif_hh_upstreams_evt()
858 p_dev->dev_status); in btif_hh_upstreams_evt()
861 p_data->dev_status.handle); in btif_hh_upstreams_evt()
895 p_data->dev_status.status, p_data->dev_status.handle); in btif_hh_upstreams_evt()
896 p_dev = btif_hh_find_connected_dev_by_handle(p_data->dev_status.handle); in btif_hh_upstreams_evt()
927 p_data->dev_status.status, p_data->dev_status.handle); in btif_hh_upstreams_evt()
928 p_dev = btif_hh_find_connected_dev_by_handle(p_data->dev_status.handle); in btif_hh_upstreams_evt()
948 p_data->dev_status.status, p_data->dev_status.handle); in btif_hh_upstreams_evt()
1060 p_data->dev_status.status, p_data->dev_status.handle); in btif_hh_upstreams_evt()
1061 p_dev = btif_hh_find_connected_dev_by_handle(p_data->dev_status.handle); in btif_hh_upstreams_evt()
1068 p_dev->dev_status = BTHH_CONN_STATE_DISCONNECTED; in btif_hh_upstreams_evt()
1071 p_dev->dev_status); in btif_hh_upstreams_evt()
1081 (bthh_status_t)p_data->dev_status.status); in btif_hh_upstreams_evt()
1202 if (p_dev->dev_status != BTHH_CONN_STATE_CONNECTED) return; in btif_hh_timer_timeout()
1205 p_data.dev_status.status = BTA_HH_ERR; // tBTA_HH_STATUS in btif_hh_timer_timeout()
1206 p_data.dev_status.handle = p_dev->dev_handle; in btif_hh_timer_timeout()
1229 btif_hh_cb.devices[i].dev_status = BTHH_CONN_STATE_UNKNOWN; in init()
1662 if (p_dev->dev_status != BTHH_CONN_STATE_UNKNOWN && p_dev->fd >= 0) { in cleanup()