• Home
  • Raw
  • Download

Lines Matching refs:dev_status

331         if (btif_hh_cb.devices[i].dev_status != BTHH_CONN_STATE_UNKNOWN &&  in btif_hh_find_dev_by_handle()
353 if (btif_hh_cb.devices[i].dev_status == BTHH_CONN_STATE_CONNECTED && in btif_hh_find_connected_dev_by_handle()
374 if (btif_hh_cb.devices[i].dev_status != BTHH_CONN_STATE_UNKNOWN && in btif_hh_find_dev_by_bda()
395 if (btif_hh_cb.devices[i].dev_status == BTHH_CONN_STATE_CONNECTED && in btif_hh_find_connected_dev_by_bda()
478 p_dev->dev_status = BTHH_CONN_STATE_UNKNOWN; in btif_hh_remove_device()
543 if ((p_dev != NULL) && (p_dev->dev_status == BTHH_CONN_STATE_CONNECTED) in btif_hh_virtual_unplug()
748 btif_hh_cb.devices[i].dev_status = BTHH_CONN_STATE_UNKNOWN; in btif_hh_upstreams_evt()
784 p_dev->dev_status = BTHH_CONN_STATE_CONNECTED; in btif_hh_upstreams_evt()
785 … HAL_CBACK(bt_hh_callbacks, connection_state_cb,&(p_dev->bd_addr), p_dev->dev_status); in btif_hh_upstreams_evt()
796 p_data->dev_status.status, p_data->dev_status.handle); in btif_hh_upstreams_evt()
797 p_dev = btif_hh_find_connected_dev_by_handle(p_data->dev_status.handle); in btif_hh_upstreams_evt()
807 p_dev->dev_status = BTHH_CONN_STATE_DISCONNECTED; in btif_hh_upstreams_evt()
808 … HAL_CBACK(bt_hh_callbacks, connection_state_cb,&(p_dev->bd_addr), p_dev->dev_status); in btif_hh_upstreams_evt()
814 … BTIF_TRACE_WARNING1("Error: cannot find device with handle %d", p_data->dev_status.handle); in btif_hh_upstreams_evt()
827 p_data->dev_status.status, p_data->dev_status.handle); in btif_hh_upstreams_evt()
828 p_dev = btif_hh_find_connected_dev_by_handle(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()
849 p_data->dev_status.status, p_data->dev_status.handle); in btif_hh_upstreams_evt()
860 p_data->dev_status.status, p_data->dev_status.handle); in btif_hh_upstreams_evt()
865 p_data->dev_status.status, p_data->dev_status.handle); in btif_hh_upstreams_evt()
973 p_data->dev_status.status, p_data->dev_status.handle); in btif_hh_upstreams_evt()
974 p_dev = btif_hh_find_connected_dev_by_handle(p_data->dev_status.handle); in btif_hh_upstreams_evt()
980 p_dev->dev_status = BTHH_CONN_STATE_DISCONNECTED; in btif_hh_upstreams_evt()
982 … HAL_CBACK(bt_hh_callbacks, connection_state_cb,&(p_dev->bd_addr), p_dev->dev_status); in btif_hh_upstreams_evt()
985 … HAL_CBACK(bt_hh_callbacks, virtual_unplug_cb,&(p_dev->bd_addr),p_data->dev_status.status); in btif_hh_upstreams_evt()
1111 btif_hh_cb.devices[i].dev_status = BTHH_CONN_STATE_UNKNOWN; in init()
1609 if (p_dev->dev_status != BTHH_CONN_STATE_UNKNOWN && p_dev->fd >= 0) { in cleanup()